Ubuntu: Difference between revisions

From DaqWiki
Jump to navigation Jump to search
Line 22: Line 22:
* ypwhich -m
* ypwhich -m
* sudo apt-get install autofs
* sudo apt-get install autofs
* sudo vi /etc/nsswitch.conf ### add at the end: automount:  files nis
* sudo vi /etc/nsswitch.conf ### add the automount line, modify the passwd, group and shadow lines to read this:
* sudo service autofs restart
<pre>
passwd: files nis
group: files nis
shadow: files nis
automount:  files nis
</pre>
* sudo vi /etc/idmapd.conf ### add line: "Domain = triumf.ca"
* reboot
* reboot

Revision as of 16:54, 31 October 2013

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 libz-dev sqlite sqlite3 libsqlite3-dev sqliteman libmysqlclient-dev unixodbc-dev

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