Ubuntu

From DaqWiki
Jump to navigation Jump to search

About Ubuntu

AAA

Top 10 why Ubuntu bad for DAQ

  • Ubuntu desktop edition cannot install on mirrored (RAID1) disks
  • many missing packages

Install instructions

  • install missing packages
sudo apt-get install ssh
sudo apt-get install git g++
sudo apt-get install libz-dev sqlite sqlite3 libsqlite3-dev sqliteman libmysqlclient-dev unixodbc-dev
sudo apt-get install libssl-dev
  • install Konstantin's scripts
mkdir ~root/git
cd ~root/git
git clone http://ladd00.triumf.ca/~olchansk/git/scripts.git
cd scripts
git pull
  • enable root login from ladd00
ssh localhost
CTRL-C
/bin/cp ./git/scripts/etc/authorized_keys .ssh/

NIS instructions

  • sudo apt-get install portmap nis ### will ask for NIS domain (LADD-NIS)
  • ypwhich -m
  • sudo apt-get install autofs
  • sudo vi /etc/nsswitch.conf ### add the automount line, modify the passwd, group and shadow lines to read this:
passwd: files nis
group: files nis
shadow: files nis
automount:  files nis
  • sudo vi /etc/idmapd.conf ### add line: "Domain = triumf.ca"
  • reboot