/ Published in: Bash
just a personal bash script I maintain to keep handy on fresh installs
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
#!/bin/sh apt-get update # wireless driver apt-get install firmware-b43-lpphy-installer -y modprobe b43 # favorite apps apt-get install awesome openbox tint2 conky conky-all build-essential autoconf automake checkinstall curl -y apt-get install imagemagick thunar mpd mpc ncmpcpp mpdscribble gmpc gmpc-plugins mplayer toilet git bzr bzrtools rtorrent irssi optipng scrot p7zip-full gimp gimp-plugin-registry vim-gtk vim-scripts git vrms -y # configure mpd gedit /etc/mpd.conf & gedit /etc/mpdscribble.conf & # install lamp stack apt-get install apache2 apache2-doc php5-dev libapache2-mod-php5 php5-cgi php5-mysql php5-curl php5-gd libgd-tools php5-idn php-pear php5-imagick php5-imap mcrypt libmcrypt-dev php5-mcrypt memcached php5-memcache php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl mysql-server-5.1 php5-mysql phpmyadmin mysql-server -y echo 'ServerName localhost' | cat > /etc/apache2/httpd.conf gedit /etc/apache2/sites-available/default a2enmod rewrite a2enmod php a2enmod python service apache2 restart update-rc.d apache2 remove update-rc.d mysql remove # install updates apt-get upgrade -y apt-get dist-upgrade -y # install some other packages that take forever apt-get install k3b eclipse virtualbox-ose -y # a little package cleanup apt-get autoremove # other configurations update-rc.d bluetooth remove dpkg-reconfigure dash plymouth-set-default-theme details update-rc.d gdm remove