Installation instructions for OpenSuSE Leap 15.1

From csml-wiki.northwestern.edu
Revision as of 13:13, 2 November 2019 by Administrator (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  • If the installation program hangs almost right away on a PCI-related message, add the boot option "nomodeset" and retry.
  • Do not 'upgrade' from an earlier version. Choose 'new install', but use extreme care not to interfere with existing scratch partitions.
    • Select Base System: Desktop with KDE Plasma
  • Expert Partioning:
    • Using old file system use partitioning to recreate file system EXACTLY. OpenSuse may or may not correctly recognize the existing file system (raids) so check carefully.
    • OpenSuse 15.1 Uses GPT partitions for larger drives, if drives are over 2TB GPT partitioning must be used. However, GPT partitioning also requires a /boot partition at the beginning of the OS's drive where GRUB2 will be installed. This partition should be 16MiB, vFAT32 format, and mounted as /boot/efi .
  • Select the following additional software categories:
    • Console tools
    • File server
  • Unselect:
    • Games
    • Noveau drivers
  • Network configuration:
    • Choose Wicked service manager
    • Firewall enabled, SSH open
    • Static IP address, subnet mask: 255.255.255.0
    • DNS: 129.105.1.1, 129.105.49.1, 8.8.8.8
    • Domain search: 'ms.northwestern.edu' and 'northwestern.edu'
    • Gateway (under 'routing' tab): 129.105.92.1
  • After install, in Software Management add:
    • In "RPM groups" tab: gcc-fortran, gcc7-c++
    • Via "Search" tab: motif, motif-devel, glibc-devel-static, lsb, ncftp, net-tools-deprecated, nethogs, pico, MozillaThunderbird, libreadline6, apcupsd, apcupsd-cgi, apcupsd-gui, vlc, emacs-auctex, emacs-x11, finger, xmgrace, libappindicator3-1, libgdk_pixbuf-2_0-0-32bit, libgtk-2_0-0-32bit, libxml2-2-32bit, lynx, mmv, readline-devel, xosview, xsane, ypbind, firewalld-rpcbind-helper
  • In YaST, Network Services:
    • NIS client: Domain "el"; Server 129.105.92.12; Open Port in Firewall
    • NFS client: Mount /home (options: defaults,rw) and /usr/local from ariadne (options: defaults)
    • NTP configuration: Start NTP daemon now and on boot; remove SuSE server; add server '129.105.92.12'; add server 'time.northwestern.edu' (test each server before adding)
  • Connect TO the new machine from ariadne, as root. This will add the host key to ~/.ssh/known_hosts. From there, copy it to /etc/ssh/ssh_known_hosts (still on ariadne). Also, between the hostname and the IP address, add the FQDN of the new machine, so that that is also associate with the same host key.
  • Then, as root on the new machine, do:
    • ln -s /usr/local/etc/profile.local /etc
    • ln -s /usr/local/etc/ssh/ssh_known_hosts /etc/ssh
    • add the file /usr/local/etc/hosts_list to /etc/hosts
    • scp nestor:/etc/motd /etc (and then edit this file to represent the new machine; "nvidia-smi" is a useful program to find the videocard installed)
    • texconfig (and set default paper size to 'letter')
    • in /etc/ssh/ssh_config set "ForwardX11 yes"
    • in /etc/ssh/sshd_config confirm that "X11Forwarding" is set to "yes"
    • in /etc/ssh/sshd_config change "#AuthorizedKeysFile" to ".ssh/authorized_keys2"
    • scp telemachos:/root/.bashrc ~
  • Install debugging software packages via YaST:
    • In Software Repositories, enable openSUSE-Leap-15.1-Debug and openSUSE-Leap-15.1-Update-Debug.
    • Go to Software Management, select glibc-debuginfo [NOTE: Does not seem to be available through these repositories]
  • Setting up e-mail notifications for Linux Software RAID.
  • YaST -> Software: Online Update.
  • Install Chrome:
    • wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
    • rpm -ivh google-chrome-stable_current_x86_64.rpm
    • ln -s /usr/bin/google-chrome /usr/bin/chrome
  • Install ffmpeg:
    • Add packman repository (from command line): zypper addrepo -f http://packman.inode.at/suse/openSUSE_Leap_15.1/ packman
    • Go into Yast - Software Management. Remove "ffmpeg" and install "ffmpeg-3" from Packman repository (this is necessary to encode h.264 videos)
  • Add NVIDIA driver (follow the recommend method via "community repository" and the "zypper inr", followed by a reboot):
  • Install Crashplan
    • cd /tmp
    • tar xvf /usr/local/src/Code42Crash*
    • cd crashplan-install
    • ./install.sh
    • insserv crashplan
    • chkconfig (just to check)
    • systemctl enable crashplan
    • systemctl restart crashplan
    • systemctl status crashplan
  • Crashplan will use too many instances of "inotify watch", ultimately leading to the error message: "Failed to add /run/systemd/ask-password to directory watch: No space left on device" To fix this pre-emptively, add this line to /etc/sysctl.conf
fs.inotify.max_user_watches=1048576

This only take effect after reboot, but you can fix it beforehand via

echo 1048576 > /proc/sys/fs/inotify/max_user_watches

(see https://askubuntu.com/questions/828779/failed-to-add-run-systemd-ask-password-to-directory-watch-no-space-left-on-dev)




    • scp telemachos:/etc/hosts.allow /etc
    • scp telemachos:/etc/hosts.deny /etc


  • YaST -> Hardware -> Printer -> Printer via Network -> Connection Wizard -> TCP/JetDirect; after installation, configure default options via http://localhost:631