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)


added to /etc/apt/sources.list:

deb                     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

chmod 755
./ -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


(new one)

added packages:

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


(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
    • ./
    • 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
 iscsiadm --mode node --portal --login
  • Then start Zimbra ( /etc/init.d/zimbra start )


top left slot doesn't seem to work


  • 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
  • fix ldm package
chroom /opt/ltsp/amd64
mount -t proc proc /proc
dpkg -i ldm_2.1.2-2.1_amd64.deb
  • 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/ /etc/, 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
iscsiadm --mode node --targetname --portal --login
iscsiadm --mode discovery --type sendtargets --portal
iscsiadm --mode node --targetname --portal --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/ out-nondata
/data/transfer/outgoing-sre/.trigger  IN_CREATE /usr/local/sbin/ out-sre
/data/transfer/outgoing-notify/.trigger  IN_CREATE /usr/local/sbin/ out-notify
/data/transfer/outgoing-sftp/.trigger  IN_CREATE /usr/local/sbin/ out-sftp
/data/transfer/outgoing-dl/.trigger  IN_CREATE /usr/local/sbin/ out-dl
/data/transfer/incoming-nondata/.trigger  IN_CREATE /usr/local/sbin/ in-nondata
/data/transfer/incoming-data/.trigger  IN_CREATE /usr/local/sbin/ 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/ for export PATH="/usr/local/sbin:usr/sbin:/sbin:${PATH}"; apt-get install libtimedate-perl


Checking if things in the domain controller are correct: dcdiag


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


  • 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


after startup:

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