gibney.org
:
Technology
:
Linux
:
Install Ubuntu 7.04
(Entry Nr. 290, by user 1 |
edit
)
# ------------------------------------------------------------------------ <br>sudo passwd root <br># ------------------------------------------------------------------------ <br>su <br># ------------------------------------------------------------------------ <br>apt-get update <br>apt-get upgrade <br># ------------------------------------------------------------------------ <br>echo " <br> <br># Gibney Enterprises <br> <br>alias ls='ls -all --color -h' <br>PS1=\"\\W > \" <br>alias df=\"df -h\" <br> <br>alias ge-nautilus=\"nautilus --browser \\\`pwd\\\` &\" <br>alias ge-bc='bc <(echo scale=5)' <br>alias duwim='du --apparent-size -scm * | sort -n' <br>" >> /root/.bashrc <br># ------------------------------------------------------------------------ <br>echo " <br>Tab: menu-complete <br>set completion-ignore-case on <br>" > /root/.inputrc <br># ------------------------------------------------------------------------ <br>apt-get install smbfs <br># ------------------------------------------------------------------------ <br>ifconfig eth0 mtu 512 <br># ------------------------------------------------------------------------ <br># Do this to get rid of DHCP and other crap. <br># You will need to change the IP "10.0.0.2" to something useful <br>cp /etc/network/interfaces /etc/network/interfaces_ori <br>echo " <br>auto lo <br>iface lo inet loopback <br> <br>auto eth0 <br>iface eth0 inet static <br>address 10.0.0.2 <br>netmask 255.255.255.0 <br>" > /etc/network/interfaces <br># ------------------------------------------------------------------------ <br># Only on machines with X-Server: <br># Turn off the Beep <br>echo " <br>xset b off <br>" >> /root/.bashrc <br># ------------------------------------------------------------------------ <br> <br>rm /etc/cron.daily/slocate <br>rm /var/lib/slocate/slocate.db <br> <br># ------------------------------------------------------------------------ <br> <br> <br># Server Stuff --------------------------------------------------------------------------------------------------- <br> <br>apt-get -y install php5 <br>apt-get -y install php5-gd <br>rm -v /etc/rc*.d/*apache* <br>apt-get -y install mysql-server <br>rm -v /etc/rc*.d/*mysql* <br>/etc/init.d/mysql stop <br> <br># ------------------------------------------------------------------------ <br># Manual steps <br># <br># * etc/fstab <br># Remove all non-removable drives that are mounted into /media <br># or mount them to another folder <br># otherwise they will clutter up your desktop
Create a new entry at this position