Ubuntu: Difference between revisions

From DaqWiki
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
</pre>
* install Konstantin's scripts
<pre>
mkdir ~root/git
cd ~root/git
git clone http://ladd00.triumf.ca/~olchansk/git/scripts.git
cd scripts
git pull
</pre>
* enable root login from ladd00
<pre>
ssh localhost
CTRL-C
/bin/cp ./git/scripts/etc/authorized_keys .ssh/
</pre>
</pre>



Revision as of 17:26, 1 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
  • 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