Hosts

From popdata
Jump to: navigation, search

What to install on Linux hosts.

General Debian package management

Software that can be installed using aptitude or apt-get

   use dpkg for info and changes to installed packages:
       dpkg -l 'PACKAGE_PATTERN' : list installed packages
       dpkg -L 'PACKAGE_PATTERN' : list all files
       dpkg -S 'FILE_PATTERN' : search installed files, give package 
   apt-get install "PACKAGE" : install package
       apt-get update : update cache of available packages (before apt-get)

cheadle

added to /etc/apt/sources.list:

deb http://debian.popdata.bc.ca/                     squeeze/

added packages:

apt-get update
apt-get install popdata-general syspulse-client saidar statgrab libstatgrab6 bacula-sd-mysql mysql-server bacula-director-mysql gparted

added 3-ware drivers/software with defaults

unzip 3DM2_CLI-Linux-10.2.zip
chmod 755 install.sh
./install.sh -i

logged into https://cheadle:888 and configured the two raid 6 drives, they showed up as sdb and sdc. Since they are bigger than 2TB, you need to use GPT partitions instead of DOS type partitions - gparted can do that. Created one partition on each, and an ext4 filesystem, mounting them as /data1 and /data2

Champlain

(new one)

added packages:

apt-get update
apt-get install sympa slapd ldap-utils apache2 bind9

verrazzano

(new one)

  • install ubuntu 8.04 LTS (defaults, add openssh server)
  • add packages
    • apt-get install file libgmp3c2 libexpat1 libstdc++5 libltdl3 libperl5.8 perl curl libpcre3 libc6 sysstat
    • apt-get install libpcre3 libgmp3c2 libstdc++5
  • install zcs
    • tar xvf zcs-NETWORK-5.0.16_GA_2921.UBUNTU8_64.20090429025807.tgz
    • cd zcs-NETWORK-5.0.16_GA_2921.UBUNTU8_64.20090429025807
    • ./install.sh
    • Answers:
  • apt-get install binutils #(strings)
  • Restart mailboxd to reset all tcp connections. (takes less than 10 seconds)
 zmmailboxdctl restart
  • If iSCSI does not log in and mount during startup use..
 iscsiadm --mode discovery --type sendtargets --portal 10.190.0.200
 iscsiadm --mode node --portal 10.190.0.200 --login
  • Then start Zimbra ( /etc/init.d/zimbra start )

pd-san3

top left slot doesn't seem to work

franklin

  • install debian
  • apt-get install ltsp-server-standalone
  • ltsp-build-client
  • edit /etc/dhcp/dhcpd.conf, get rid of most stuff add: include "/etc/ltsp/dhcpd.conf"
  • edit /etc/ltsp/dhcpd.conf
  • /etc/init.d/isc-dhcpd-server restart
  • tasksel (choose graphical desktop)
  • change root password on client: (fix keys too if IP changed)
chroot /opt/ltsp/amd64
passwd root
exit
ltsp-update-sshkeys
  • fix ldm package
chroom /opt/ltsp/amd64
mount -t proc proc /proc
dpkg -i ldm_2.1.2-2.1_amd64.deb
exit
  • add securid (copy over /usr/local/ace/data)
  • add packages:
  • add ldap (edit /etc/nsswitch.conf, /etc/nslcd.conf)
  • samba /etc/samba/smb.conf
  • rsync /etc/rsyncd.conf /etc/rsync.pw /etc/rsyncd.pw, edit /etc/default/rsync ENABLE=TRUE
  • apt-get install open-iscsi
  • copy /etc/iscsi/initiatorname.iscsi
  • login iscsi mount:
iscsiadm --mode discovery --type sendtargets --portal 10.190.0.10
iscsiadm --mode node --targetname iqn.1992-08.com.netapp:sn.101190819 --portal 10.190.0.10 --login
iscsiadm --mode discovery --type sendtargets --portal 10.190.0.20
iscsiadm --mode node --targetname iqn.1992-08.com.netapp:sn.101191046 --portal 10.190.0.20 --login
# edit /etc/fstab add:
/dev/sda1               /local  ext3    rw,nosuid,noauto  0    2
/dev/sdb1               /data   ext3    rw,nosuid,noauto  0    2

mkdir /local /data /helpdata
mount -a
  • /helpdata
    • apt-get install encfs
    • copy over /usr/local/bin/enc (helper script)
    • mkdir /helpdata
    • enc /data/help /helpdata
  • yellow folders
    • apt-get install incron
    • create /etc/incron.d/yellowfolders
/data/transfer/outgoing-nondata/.trigger  IN_CREATE /usr/local/sbin/yellowfolder.pl out-nondata
/data/transfer/outgoing-sre/.trigger  IN_CREATE /usr/local/sbin/yellowfolder.pl out-sre
/data/transfer/outgoing-notify/.trigger  IN_CREATE /usr/local/sbin/yellowfolder.pl out-notify
/data/transfer/outgoing-sftp/.trigger  IN_CREATE /usr/local/sbin/yellowfolder.pl out-sftp
/data/transfer/outgoing-dl/.trigger  IN_CREATE /usr/local/sbin/yellowfolder.pl out-dl
/data/transfer/incoming-nondata/.trigger  IN_CREATE /usr/local/sbin/yellowfolder.pl in-nondata
/data/transfer/incoming-data/.trigger  IN_CREATE /usr/local/sbin/yellowfolder.pl in-data

mounting /helpred

/usr/local/bin/enc /data/help /helpdata
<enter passphrase>
  • Misc
    • remove personal Network Manager screen applet "nm=applet" from /etc/xdg/autostart/

Fraser and other SRE file-servers

fraser replacement 2011-06-27 11pm

  • apt-get install sudo ; add dlaplante to group sudoers
  • apt-get install emacs (otherwise get jove)
  • Need perl modules for yellowfolder+: HTTP::Request::Common LWP::UserAgent
  • apt-get install attr #(getfattr - FACL)
  • apt-get install unrtf catdoc #(Convert .doc .xls .rtf ...)
  • apt-get install nmap p7zip #(network probe; compress)
  • 2019-06-19/Denis Perl module Date/parse.pm for smb-users.pl export PATH="/usr/local/sbin:usr/sbin:/sbin:${PATH}"; apt-get install libtimedate-perl

Gilbert

Checking if things in the domain controller are correct: dcdiag

Sasamat

How to manually start JourneyX

To do this you have to su to the user 'journyxadmin' (The 'e' is missing intentionally) and run the following command.

 su - journyxadmin
 /home/journyxadmin/jtime/pi/bin/wstart

defuca

  • add packages: libxp6 ia32-libs
  • dpkg-reconfigure dash (make bash the default so SAS install works)
  • install SAS into /usr/local/SAS and link it: ln -s /usr/local/SAS/SASFoundation/9.3/sas /usr/bin

sitka

after startup:

  • /etc/init.d/iptables stop
  • mount /archive
  • /etc/init.d/smb start
  • /usr/bin/rsync --no-detach --daemon --config /etc/rsyncd.conf &