Skip to content

Instantly share code, notes, and snippets.

@oubiwann
Last active March 26, 2024 20:48
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save oubiwann/1e7aadfc22e3ae908921aeaccf27e82d to your computer and use it in GitHub Desktop.
Save oubiwann/1e7aadfc22e3ae908921aeaccf27e82d to your computer and use it in GitHub Desktop.
Open Genera Installation on Linux

Open Genera Installation on Linux

About

These notes are based upon the steps provided here:

The notes in this Gist were created due to multiple attempts at installing Open Genera on different platforms that required more steps not inlcuded in the source notes above.

Steps

1. Downloads and Local Environment

Download the following docs:

Download the Open Genera files:

mkdir -p genera/docs
mv ~/Downloads/*.pdf ./genera/docs
mv ~/Downloads/* ./genera
cd ./genera

2. Service Dependencies

su - 
vi /etc/sudoers
apt-get install inetutils-inetd inetutils-tools nfs-common nfs-kernel-server uml-utilities net-tools moreutils
vi /etc/inetd.conf
time      stream  tcp  nowait root internal
time      dgram   udp  wait   root internal
daytime   stream  tcp  nowait root internal
daytime   dgram   udp  wait   root internal
vi /etc/default/nfs-kernel-server
RPCNFSDCOUNT="--nfs-version 2 8"
RPCMOUNTDOPTS="--nfs-version 2 --manage-gids"
vi /etc/exports
/       genera(rw,sync,no_subtree_check,all_squash,anonuid=1000,anongid=1000)
vi /etc/hosts
192.168.2.1    genera-vlm
192.168.2.2    genera
systemctl restart inetutils-inetd.service
systemctl restart nfs-kernel-server
ip tuntap add dev tap0 mode tap
ip addr add 192.168.2.1/24 dev tap0
ip link set dev tap0 up
exit

3. Open Genera Installation and Configuration

cd /var/lib
tar xvf ~/genera/var_lib_symbolics.tar.gz
sudo chown -R oubiwann:oubiwann symbolics
cd -
mv dot.VLM .VLM
vi .VLM
:%s/seth/oubiwann/g
chmod 755 ./genera

4. Running Open Genera

./genera
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment