Installation instructions for OpenSuSE Leap 15.1

From csml-wiki.northwestern.edu
Revision as of 15:25, 17 July 2019 by Ian (talk | contribs)
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
  • In YaST, Network Services:
    • NIS client: Domain "el"; Server 129.105.92.12; Open Port in Firewall
    • NSF client: Mount /home (options: defaults,rw) and /usr/local from ariadne (options: defaults)
    • NTP configuration: Start NTP daemon now and on boot; add server 129.105.92.12
  • 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 ~
    • scp telemachos:/etc/hosts.allow /etc
    • scp telemachos:/etc/hosts.deny /etc
  • Install debugging software packages via YaST:
    • In Software Repositories, enable openSUSE-Leap-15.0-Debug and openSUSE-Leap-15.0-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.0/ packman
    • Go into Yast - Software Management. Remove "ffmpeg" and install "ffmpeg-3" from Packman repository (this is necessary to encode h.264 videos)



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