Ubuntu: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| Line 16: | Line 16: | ||
sudo apt-get install libz-dev sqlite sqlite3 libsqlite3-dev sqliteman libmysqlclient-dev unixodbc-dev  | sudo apt-get install libz-dev sqlite sqlite3 libsqlite3-dev sqliteman libmysqlclient-dev unixodbc-dev  | ||
sudo apt-get install libssl-dev  | sudo apt-get install libssl-dev  | ||
sudo apt-get install smartmontools  | |||
</pre>  | |||
* setup time synchronization  | |||
<pre>  | |||
apt-get install chrony  | |||
add time1, time2, time3 to the time servers, comment out ntp pool servers in /etc/chrony/chrony.conf  | |||
killall chronyd  | |||
chronyd  | |||
chronyc sources  | |||
chronyc tracking  | |||
</pre>  | </pre>  | ||
Revision as of 05:56, 2 January 2015
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 sudo apt-get install smartmontools
- setup time synchronization
 
apt-get install chrony add time1, time2, time3 to the time servers, comment out ntp pool servers in /etc/chrony/chrony.conf killall chronyd chronyd chronyc sources chronyc tracking
- 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