# OpenVMS
* [[Retrocomputing]]
* [OpenVMS Hobbyist Program](http://www.openvmshobbyist.com/news.php)
* [How to Play | The Halls Of ZK](http://hallsofzk.org/play.html)
## Installing OpenVMS
* [VAX/VMS on Linux using SIMH](http://www.wherry.com/gadgets/retrocomputing/vax-simh.html)
* [VAX OpenVMS on the Raspberry Pi](https://mansfield-devine.com/speculatrix/2016/03/vax-openvms-on-the-raspberry-pi/)
* [Networking VAX OpenVMS on SIMH](https://mansfield-devine.com/speculatrix/2016/03/networking-vax-openvms-on-simh-the-raspberry-pi/)
* [OpenVMS 7.3 install log with simh VAX](https://raymii.org/s/blog/OpenVMS_7.3_install_log_with_simh_vax_on_Ubuntu_16.04.html)
### Preparations
```
hdiutil makehybrid -iso -joliet -o license.iso license.cdr
```
### Installation phase1
Modify the simh configuration to mount the installation disk image, disable the auto-boot section, and start the simulation.
```
BOOT DUA3
BACKUP DUA3:VMS073.B/SAVE_SET DUA0:
```
Leave the simulation.
### Installation phase 2
Modify `openvms.ini` to auto-boot (select `DUA0` as default drive) and start the simulation.
The `SCSNODENAME` must be 6 characters or less.
As `SCSSYSTEMID`, enter 1025.
Answer No on "Do you want to register any Product Authorization Keys?"
### License setup
Mount the license disk image in the simulation.
```
MOUNT /OVERRIDE=IDENT DUA3
SET DEFAULT DUA3:[000000]
DIR
COPY HOBBYIST-USE-ONLY-VA.TXT;1 SYS$LOGIN
SET DEF SYS$LOGIN
RENAME HOBBYIST-USE-ONLY-VA.TXT;1 PAKS.COM
SET FILE/ATTRIBUTE=(RFM=STM) PAKS.COM
@PAKS.COM
SHOW LICENSE
DISMOUNT DUA3
```
### System setup
```
INITIALIZE DUA1: DATA1
MOUNT/SYSTEM DUA1 DATA1
INITIALIZE DUA2: DATA2
MOUNT/SYSTEM DUA2 DATA2
SET TERM/VT100
EDIT SYS$MANAGER:SYSTARTUP_VMS.COM
@SYS$UPDATE:LIBDECOMP.COM
```
Attach the installation disk image to install add-on products.
```
MOUNT /OVER=ID DUA3
SET DEF DUA3:[TCPIP_VAX051.KIT]
PRODUCT INSTALL *
```
Add a user account:
```
SET DEF SYS$SYSTEM
RUN AUTHORIZE
UAF> ADD GEEWIZ/PASSWORD=TEMP/OWNER="Jochen Lillich"/DEV=DUA1/DIR=[GEEWIZ]/UIC=[200,201]/FLAG=NODISUSER/PRIV=ALL
CREATE /DIRECTORY DUA1:[GEEWIZ]
SET DIRECTORY/OWNER=GEEWIZ DUA1:[GEEWIZ]
```
Add useful stuff to `LOGIN.COM`.
### Look around
```
show system /noproc
show cpu
show memory
```
## Installing software
```
unzip :== "$ sys$system:unzip.exe"
@SYS$UPDATE:VMSINSTAL CC064
```
## Tidbits
### Eve editor
Save & exit: Ctrl-z
Quit: Ctrl-y
## Bookmarks
* [Mount ISO and execute scripts on OpenVMS - Raymii.org](https://raymii.org/s/blog/OpenVMS_Mount_ISO_and_execute_scripts.html)
* [OpenVMS beginner's FAQ](https://saf.bio.caltech.edu/vms_beginners_faq.html)
* [Process Software: OpenVMS Resource Center](http://process.com/resources/openvms/index.html)
* [OpenVMS System Manager's Manual](https://www.itec.suny.edu/scsys/vms/OVMSDOC073/v73/6017/6017pro.html#first_page)
* [OpenVMS User's Manual](http://h30266.www3.hpe.com/odl/i64os/opsys/vmsos84/6489/6489pro.html#first_page)
* [Backspace and delete key behaviour on OpenVMS](https://raymii.org/s/blog/Backspace_and_delete_key_behaviour_on_OpenVMS.html)
* [OpenVMS Notes: MySQL and MariaDB](http://neilrieck.net/docs/openvms_notes_mysql_mariardb.html)
## Links
* [[Retrocomputing]]