MASSACHUSETTS INSTITUTE OF TECHNOLOGY HAYSTACK OBSERVATORY WESTFORD, MASSACHUSETTS 01886 13 October, 2015 Telephone: 781-981-5951 Fax: 781-981-0590 TO: FROM: SUBJECT: Distribution Chester Ruszczyk Mark5 Debian Wheezy 64 bit kernel OS Upgrade This memo describers the steps necessary to upgrade your Mark5 OS to Debian Wheezy with a 64 bit kernel. 1. Get Configuration Information Ask your network system administrator for the following information. - Your host name ( e.g. Mark5-11) - Your domain name (e.g. mit.haystack.edu) - How your Mark5's IP network interface should be configured (static configuration or DHCP) * If DHCP the appropriate network information will be provided for you. * If Static you will need: IP Address: Netmask: Default Gateway: DNS Servers IP address - root password 2. Replace the old HDD 3. If your system does not have a CDROM attached please see the instructions at the end of the notes. 4. Download all software:
- the Debian Net install ISO image from the Debian web site: -> http://cdimage.debian.org/cdimage/archive/7.9.0/amd64/iso-cd/debian-7.9.0-amd64- netinst.iso - Streamstor deb package from the haystack website: -> http://www.haystack.edu/tech/vlbi/mark5/downloads/streamstor_9.4.0-amd64.deb - If you have a Mark5B or B+ system, the mk5bio driver: -> http://www.haystack.edu/tech/vlbi/mark5/downloads/mk5bio-1.8.tgz - If you do not have a network connection to your Mark5 system the second ISO image (a self contained install with all appropriate software). -> http://www.haystack.edu/tech/vlbi/mark5/downloads/mark5os-wheezy-disk2- amd64.iso 5. Burn the Net install iso image to a bootable CDROM, and the second ISO image to another CDROM, if you have downloaded it. 6. Installation of new operating system - Boot up system - Insert the "Debian Net Install cd" * You will see the Debian Splash Screen Options are: Install Choose Install Graphic Install Advanced options Install with Speech synthesis NOTE: Debian defaults to trying to connect to a DHCP server for network information. If you do not have access to a DHCP server or you have a static configuration type at the boot prompt linux netcfg/disable_dhcp=true
and if DHCP is the method for network configuration simply hit <Enter> This will install the standard 3.2.0 32 or 64 bit kernel, which ever you chose. - Choose Language - Select: English - Choose Country or region - Select: United States - Select a Keyboard layout - Select: American English or the layout for your specific keyboard. -> Detecting Hardware - Scanning cd-rom - Detecting network hardware - - Setup network? * If static configuration, you enter the information here - Configure the network - Hostname: Mark5-XXX or the name recognized by your DCHP server - Configuring passwd - Root password - Enter a secure password - Re-enter password to verify - Create a non-admin user - Time zone configuration - Enter Full Name for the new user: oper - Enter a username for your account: oper - Enter a password for the new user: <password> - Re-enter password to verify: <password> - If using an NTP server: -> select Getting the time from a network server - else, Is the hardware clock set to GMT?
- Select: yes (is it?) - Select your time zone: - - Partitioning Setup - Partition disks - Select: Eastern or appropriate timezone - Select: Erase entire disk - Partitioning Scheme - Select: All files in one partition - Review and Select: Finish partitioning and write changes to disk - Confirm write changes and Select: Yes - - Creates ext4 FS and partitioning HDD - - Installing the core Debian packages -- Choose appropriate mirror - Choose a mirror close to your country of origin. -- Select sw to be installed - Make sure only "ssh" and "Standard system utilities" are selected, de-select any other option - Installation of system commences - - Installing GRUB boot loader - Install the GRUB boot loader to master boot record? - Select: yes - Finishing the installation - cd will eject, Select: Continue - System Reboots
- Debian base system configuration - Login as root - Welcome to your new Debian system! Select: ok Step 1: If you will use the network to update execute, else proceed to Step 2: A. apt-get install -y -f fvwm libncurses5-dev libglib2.0-dev libreadline-gplv2-dev xterm ssh tcsh gcc make fort77 dialog finger less bison ntp ntpdate ntp-doc synaptic linux-kbuild-3.2 module-assistant g++ g++-4.7 libstdc++5 libstdc++6-4.7-dev gfortran gfortran-4.7 libgfortran3 libgmp10 xorg B. apt-get install -y -f python-tk python-pmw python-cxx python-cxx-dev python-ctypeslib python2.7-dev python-numpy fuse-utils libfuse-dev libfuse2 python-fuse vim sudo tcpdump C. execute: -> module-assitant prepare (this updates the proper header files for compiling kernel modules, e.g. Streamstor windrvr6 and mk5bio package. D. dpkg-reconfigure tzdata - Choose Time zone: None of the above - UTC E. If using ntp servers for time, edit /etc/ntp.conf and fill in with an NTP server close to you F. If you wish for oper account to have sodo privaleges, setup /etc/sudoers using: -> visudo -> add oper to sudo. G. Go to Step 3. Step 2: If you have a self contained 2nd iso image insert into the cdrom and continue, - mount /dev/hdc /media/cdrom0 *** Need to test this, cdrom needs to be mounted (hd?) - # cd /media/cdrom0
- #./install-additional-pkgs.sh - -installation of additional packages required for Mark5 - Configuring xserver-cfree86 - Attempt to autodetect video hardware? : yes - Please select the XKB rule set to use : xfree86 - keyboard model description. Ok - Please select your keyboard model: pc104 - Please select your keyboard layout: us - mouse model description: Ok - Please choose your mouse port: /dev/psaux - Please choose the entry that best describes your mouse: PS/2 - Is your monitor an LCD device? : Select: No (Is it?) - monitor display description: Ok - Please choose a method for selecting your monitor characteristics: Select: Simple - Please choose your approx monitor size: Select: 17in (Is it?) - Select the video modes you would like the X Server to use: Enable 1024x768 then Select: Ok - Color depth description: Ok - Please select your desired default color depth in bits: Select: 24 - Default printer resolution: Default: 600 Step 3. OS installation All Done! - Next Step: Update the packages just installed 1. Update /etc/apt/sources.list 2. apt-get update 3. apt-get upgrade Step 4: - Go to the instructions for installing SDK9.4 and upgrading the contoller card and xbar firmware. Step 5: - Install jive5ab and fusemk5. Optional Steps, if you prefer tcsh to bash: edit the /etc/passwd and change the oper shell from /bin/bash to /bin/tcsh