Bash Installer Script


/ Published in: Bash
Save to your folder(s)

just a personal bash script I maintain to keep handy on fresh installs


Copy this code and paste it in your HTML
  1. #!/bin/sh
  2.  
  3. apt-get update
  4.  
  5. # wireless driver
  6. apt-get install firmware-b43-lpphy-installer -y
  7. modprobe b43
  8.  
  9. # favorite apps
  10. apt-get install awesome openbox tint2 conky conky-all build-essential autoconf automake checkinstall curl -y
  11. 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
  12. # configure mpd
  13. gedit /etc/mpd.conf &
  14. gedit /etc/mpdscribble.conf &
  15.  
  16. # install lamp stack
  17. 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
  18. echo 'ServerName localhost' | cat > /etc/apache2/httpd.conf
  19. gedit /etc/apache2/sites-available/default
  20. a2enmod rewrite
  21. a2enmod php
  22. a2enmod python
  23. service apache2 restart
  24. update-rc.d apache2 remove
  25. update-rc.d mysql remove
  26.  
  27. # install updates
  28. apt-get upgrade -y
  29. apt-get dist-upgrade -y
  30.  
  31. # install some other packages that take forever
  32. apt-get install k3b eclipse virtualbox-ose -y
  33.  
  34. # a little package cleanup
  35. apt-get autoremove
  36.  
  37. # other configurations
  38. update-rc.d bluetooth remove
  39. dpkg-reconfigure dash
  40. plymouth-set-default-theme details
  41. update-rc.d gdm remove

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.