|
Written by Jeffrey Hein
|
|
Tuesday, 25 March 2008 23:25 |
|
1. Minimal VPS on OpenVZ all edited files are stored in /root
Packages *Install edubuntu-server *Install shorewall and configure it (Had some memory allocation errors created a troubleticket here: https://secure.vpsville.ca/support/index.php?action=ticket&id=ODY1MTIyMTQtNTcyNTAzMjE0Nw==&ide=anBAanBoZWluLmNvbQ== ) *Install denyhosts *Install Lamp using this howto http://howtoforge.com/ubuntu_lamp_for_newbies, and apt-get install php5-mysql *Install unison, bind, cron, ntp-server changed to PST. *installed logtail, portsentry *Installed trac *Installed dun-java6-jdk, ran update-java-alternatives -s java-6-sun, and edited /etc/jvm postfix libsasl2 sasl2-bin Files create user jeffrey and add to the sudo group, edit the sudoers file and the ssh file. change root password and dissallow from ssh. Edited the /apt/sources.lst file. Edited the /etc/passwd /etc/shadow and /etc/group to add all existing users. configured opentaps to start on boot. edited /etc/jvm installed existing virtual sites
Custom Packages *install freenx from guide here: http://ubuntuforums.org/showthread.php?t=620057 *Installed webmin using this howto: http://onlyubuntu.blogspot.com/2007/05/how-to-install-webmin-in-ubuntu.html, changed to unix authentication. *Installed BIND-DLZ: apt-get install build-essential apt-get source bind9 apt-get build-dep bind9 apt-get libmysqlclient15-dev, needed for mysql headecrs and libraries for the dlz-mysql driver. cd bind9-9.4.1-P1 export DEB_BUILD_OPTIONS="--with-dlz-mysql --disable-threads". This does not work as it shoud so: nano -w debian/rules, add --with-dlz-mysql to ./debian/rules line and change --enable-threads to --disable-threads dpkg-buildpackage -b dpkg -i ../*.deb apitude hold ../* Commands wget http://www.datakeylive.com/ubuntu/dists/gutsy/wjeremy.key -O - | sudo apt-key add - wget http://www.datakeylive.com/ubuntu/dists/gutsy/alivesoftware.key -O - | sudo apt-key add - sudo apt-get update "chmod 777 /dev/null /tmp" Change permisions on /dev/null and /tmp "update-java-alternatives -s java-6-sun" "a2enmod rewrite && a2enmod ssl" to enable apache2 mod_rewrite and mod ssl "update-rc.d -f mysql remove", then "update-rc.d mysql defaults 14" so it would start before bind9. dpkg-statoverride --force --update --add root sasl 755 /var/spool/postfix/var/run/saslauthd - this is for Postfix with SSL
Replication Run unison to replicate /home/humans directory, edited the /etc/hosts and /root/.unison/replicate files. had to use rsync instead. Started mysql replicatopn add to dns
Todo create ubuntu boxenlinux package
Packages that will be updated manualy untill added to ubuntu: freenx webmin opentaps joomla + exts dotproject maatkit
Process Install files apt-get install everything Install debs
|
|
Last Updated on Wednesday, 05 November 2008 16:23 |