|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (10 bit)
Join Date: Nov 2004
Posts: 800
|
Post-install script for dapper drake
I worked on this one a while. I hoped to have it done for the release of the 6.06 final Dapper Drake, but I don't have much free time and it ran a little long. Hope it's useful to you guys, and it helped me out after my install. It was bug free for me, but I didn't install a couple things like pan. I'll put it up somewhere else eventually, but for now here it is. If anyone notices something wrong let me know. It can install over 50 of the most used packages. Be warned, some are non-free (as in speech). Namely the new Java binary.
Cut and paste the script into your text editor, and save it as something like new_install.sh (anything with a .sh extension) and run it from the bash prompt with: Code:
sh new_install.sh Code:
#!/bin/bash
# this script is based largely on a deprecated script that can be found at
# http://mrbass.org/linux/ubuntu
clear
echo "The Unofficial Dapper Quick Install Script"
echo "Allows you to quickily install applications and plug-ins you choose."
echo ""
echo "Thanks to hard work of Chua Wen Kiat of http://ubuntuguide.org and the Ubuntu forum and IRC members"
echo "The updated Dapper version of the guide that I used for this script can be found at:"
echo "http://easylinux.info/wiki/Ubuntu_dapper"
echo "License GPL http://www.gnu.org/licenses/gpl.html"
echo "Last updated June 3, 2006 for Ubuntu 6.06 by rightcoast"
echo ""
echo "Press Y/y [default] or ENTER to install app/plug-in"
echo "Press N/n or any key to skip installation of app/plug-in"
echo "Press Q/q to quit or ctrl-c to quit download"
echo ""
echo "Insert your Ubuntu CD or DVD now or make sure you have an active internet connection"
echo "Extra reposositories are needed if you haven't added them yet"
echo "We will do that automatically in step one, or you can do it manually"
echo ""
echo "Do not use this script if you don't trust the source of where you got it, or have read it"
echo "Official script is at http://www.binrev.com/forums for the moment"
echo "Enter your password (skipped if previously entered)"
sudo echo ""
read -p "Automatically add extra repositories ? (choose No to do it manually) [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo cp /etc/apt/sources.list /etc/apt/backup_sources.list
sudo chmod 646 /etc/apt/sources.list
echo "deb http://us.archive.ubuntu.com/ubuntu dapper universe" >> /etc/apt/sources.list
echo "deb-src http://us.archive.ubuntu.com/ubuntu dapper universe" >> /etc/apt/sources.list
echo "deb http://security.ubuntu.com/ubuntu d-security universe" >> /etc/apt/sources.list
echo "deb-src http://security.ubuntu.com/ubuntu dapper-security universe" >> /etc/apt/sources.list
echo "deb http://archive.ubuntu.com/ubuntu dapper multiverse" >> /etc/apt/sources.list
echo "deb-src http://archive.ubuntu.com/ubuntu dapper multiverse" >> /etc/apt/sources.list
echo "deb http://packages.freecontrib.org/ubuntu/plf breezy free non-free" >> /etc/apt/sources.list
echo "deb-src http://packages.freecontrib.org/ubuntu/plf breezy free non-free" >> /etc/apt/sources.list
sudo chmod 644 /etc/apt/sources.list
sudo apt-get update
else
echo "Skipped"
fi
echo "You don't need to manually add if you chose 'Automatically ' above (skip this)"
read -p "View Unofficial Dapper Guide's 'How to add extra repositories ' in browser now? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo -H /usr/bin/firefox "http://easylinux.info/wiki/Ubuntu_dapper#How_to_add_extra_repositories"
else
echo "Skipped"
fi
read -p "Update ubuntu's sources list (sudo apt-get update)? Choose yes if you just manually added any repos [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get update
else
echo "Skipped"
fi
read -p "Install security/vulnerabily testing and monitoring tools? (nmap, aircrack, airsnort, kismet, ethereal, etherape, john, netcat, rkhunter, tcpdump and dsniff) [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install ettercap nmap aircrack airsnort kismet ethereal etherape john netcat rkhunter tcpdump dsniff
sudo chmod 646 /usr/share/applications/Nessus.desktop
echo "[Desktop Entry]" >> /usr/share/applications/Nessus.desktop
echo "Name=Nessus" >> /usr/share/applications/Nessus.desktop
echo "Comment=Nessus" >> /usr/share/applications/Nessus.desktop
echo "Exec=Nessus" >> /usr/share/applications/Nessus.desktop
echo "Icon=/usr/share/pixmaps/nessus.xpm" >> /usr/share/applications/Nessus.desktop
echo "Terminal=false" >> /usr/share/applications/Nessus.desktop
echo "Type=Application" >> /usr/share/applications/Nessus.desktop
echo "Categories=Application;System;" >> /usr/share/applications/Nessus.desktop
sudo chmod 644 /usr/share/applications/Nessus.desktop
else
echo "Skipped"
fi
read -p "Install Alacarte Menu Editor for GNOME? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
wget "http://dev.realistanew.com/alacarte/releases/0.9/alacarte_0.9-0ubuntu1~amaranth_all.deb"
sudo dpkg -i "alacarte_0.9-0ubuntu1~amaranth_all.deb"
else
echo "Skipped"
fi
echo "Clipboard Daemon may cause cut/paste problems with jedit"
read -p "Install Clipboard Daemon for GNOME? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
wget "http://easylinux.info/uploads/gnome-clipboard-daemon-1.0.bin.tar.bz2"
sudo tar jxvf gnome-clipboard-daemon-1.0.bin.tar.bz2 -C /usr/bin/
sudo chown root:root /usr/bin/gnome-clipboard-daemon
sudo chmod 755 /usr/bin/gnome-clipboard-daemon
sudo /usr/bin/gnome-clipboard-daemon &
crontab -l > tmpfile; echo "@reboot gnome-clipboard-daemon" >> tmpfile; crontab tmpfile
else
echo "Skipped"
fi
read -p "Install J2SE Runtime Environment (JRE)? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install sun-java5-jdk
echo 3 | sudo update-alternatives --config java
sudo cp /etc/bash.bashrc /etc/bash.bashrc_backup
sudo chmod 646 /etc/bash.bashrc
echo "JAVA_HOME=/usr/java/jre1.5.0_06" >> /etc/bash.bashrc
echo "export JAVA_HOME" >> /etc/bash.bashrc
echo "PATH=$PATH:$JAVA_HOME/bin" >> /etc/bash.bashrc
echo "export PATH" >> /etc/bash.bashrc
sudo chmod 644 /etc/bash.bashrc
sudo apt-get install sun-java5-plugin
else
echo "Skipped"
fi
read -p "Test installation of J2SE Runtime Environment (JRE) Plug-in for Mozilla Firefox? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo -H /usr/bin/firefox http://www.java.com/en/download/help/testvm.xml
else
echo "Skipped"
fi
read -p "Install Flash Player (Macromedia Flash) Plug-in for Mozilla Firefox? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install flashplugin-nonfree
else
echo "Skipped"
fi
echo "After testing close out of browser window to continue"
read -p "Test installation of Flash Player (Macromedia Flash) Plug-in for Mozilla Firefox? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo -H /usr/bin/firefox http://www.macromedia.com/shockwave/welcome
else
echo "Skipped"
fi
read -p "Install PDF Reader (Adobe Reader)? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install acroread
else
echo "Skipped"
fi
read -p "Install PDF Reader (Adobe Reader) Plug-in for Mozilla Firefox? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install acroread-plugins
else
echo "Skipped"
fi
read -p "Install Download Manager (Downloader for X)? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install d4x
else
echo "Skipped"
fi
read -p "Install FTP Client (gFTP)? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install gftp
else
echo "Skipped"
fi
read -p "Install P2P BitTorrent Client (Azureus)? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
wget "http://easynews.dl.sourceforge.net/sourceforge/azureus/Azureus_2.4.0.2_linux.tar.bz2"
sudo tar jxvf "Azureus_2.4.0.2_linux.tar.bz2" -C /usr/local
sudo chown -R root:root /usr/local/azureus/
echo "installed to /usr/local"
else
echo "Skipped"
fi
read -p "Install P2P eMule Client (aMule)? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install amule
else
echo "Skipped"
fi
read -p "Install Skype? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install libqt3-mt
wget "http://frankandjacq.com/ubuntuguide/skype_1.2.0.11-1_i386.deb"
sudo dpkg -i skype_1.0.0.20-1_i386.deb
else
echo "Skipped"
fi
read -p "Install WinPopup (LinPopUp)? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install linpopup
else
echo "Skipped"
fi
read -p "Install Multimedia Codecs? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install gstreamer0.8-plugins
sudo apt-get install w32codecs
else
echo "Skipped"
fi
read -p "Install DVD playback capability? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install libdvdcss2
else
echo "Skipped"
fi
read -p "Install Multimedia Player (xine-ui)? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install xine-ui
else
echo "Skipped"
fi
read -p "Install Multimedia Player (XMMS)? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install xmms
else
echo "Skipped"
fi
read -p "Install Multimedia Player (Helix Player)? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install helix-player
else
echo "Skipped"
fi
read -p "Install Stream Directory Browser (streamtuner )? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install streamtuner
else
echo "Skipped"
fi
read -p "Install Video Editor (Kino)? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install kino
else
echo "Skipped"
fi
read -p "Install Audio Editor (Audacity)? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install audacity
else
echo "Skipped"
fi
read -p "Install Email Client (Mozilla Thunderbird )? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install mozilla-thunderbird
else
echo "Skipped"
fi
read -p "Install Newsreader (Pan)? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
wget -c http://www.users.on.net/~stubby/pan_0.96_i386.deb
sudo apt-get install libgmime2.1
sudo dpkg -i pan_0.96_i386.deb
else
echo "Skipped"
fi
read -p "Install Web Authoring System (Nvu)? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install nvu
else
echo "Skipped"
fi
read -p "Install Project Management Application (Planner)? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install planner
else
echo "Skipped"
fi
read -p "Install Desktop Publishing Application (Scribus)? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install scribus
else
echo "Skipped"
fi
read -p "Install CD/DVD Burning Software (GnomeBaker)? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install gnomebaker
else
echo "Skipped"
fi
read -p "Install Partition Editor (GParted)? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install gparted
else
echo "Skipped"
fi
read -p "Install Firewall (Firestarter )? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install firestarter
else
echo "Skipped"
fi
read -p "Install RAR Archiver (rar)? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install rar
else
echo "Skipped"
fi
read -p "Install Extra Non-English Fonts? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install xfonts-intl-arabic
sudo apt-get install xfonts-intl-asian
sudo apt-get install xfonts-intl-chinese
sudo apt-get install xfonts-intl-chinese-big
sudo apt-get install xfonts-intl-european
sudo apt-get install xfonts-intl-japanese
sudo apt-get install xfonts-intl-japanese-big
sudo apt-get install xfonts-intl-phonetic
sudo apt-get install msttcorefonts
else
echo "Skipped"
fi
read -p "Install Game (Frozen-Bubble)? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install frozen-bubble
else
echo "Skipped"
fi
read -p "Install Basic Compilers (build-essential)? Necessary to build Mplayer from source. [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install build-essential
else
echo "Skipped"
fi
read -p "Install Graphics Driver (NVIDIA)? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install nvidia-glx nvidia-settings
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
md5sum /etc/X11/xorg.conf | sudo tee /var/lib/xfree86/xorg.conf.md5sum
sudo nvidia-glx-config enable
else
echo "Skipped"
fi
read -p "Install ADSL / PPPoE Client (RP-PPPoE)? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
wget "http://myosc.org/ubuntuguide /rp-pppoe-3.5.tar.gz"
sudo tar zxvf rp-pppoe-3.5.tar.gz -C /opt/
sudo chown -R root:root /opt/rp-pppoe-3.5/
else
echo "Skipped"
fi
read -p "Install Samba Server for file sharing service? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install samba smbfs
else
echo "Skipped"
fi
read -p "Install SSH Server for remote administration service? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install ssh
else
echo "Skipped"
fi
read -p "Install MYSQL Database Server? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install mysql-server
read -p "Choose a mysql root password: " PASSWORD
sudo mysqladmin -u root password ${PASSWORD}
else
echo "Skipped"
fi
read -p "Install MYSQL Control Center? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install mysqlcc
else
echo "Skipped"
fi
read -p "Install Apache HTTP Server for HTTP (Web) Server service? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install apache2
else
echo "Skipped"
fi
read -p "Install PHP for Apache HTTP Server? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install php4
sudo touch /var/www/testphp.php
sudo chmod 646 /var/www/testphp.php
echo "" >> /var/www/testphp.php
sudo chmod 644 /var/www/testphp.php
else
echo "Skipped"
fi
"After testing close out of browser window to continue"
echo
read -p "Test installation of PHP for Apache HTTP Server? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo -H /usr/bin/firefox http://localhost/testphp.php
else
echo "Skipped"
fi
read -p "Install MYSQL for Apache HTTP Server ?[Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
apt-get install libapache2-mod-auth-mysql php4-mysql
sudo
sudo /etc/init.d/apache2 restart
else
echo "Skipped"
fi
read -p "Install numlockx to turn on Num Lock when login into GNOME? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install numlockx
else
echo "Skipped"
fi
read -p "Install Vector Graphics Editor (Inkscape) [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo apt-get install inkscape
else
echo "Skipped"
fi
read -p "Refresh GNOME Panel (recommended ) [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
killall gnome-panel
else
echo "Skipped"
fi
echo ""
echo ""
echo "See http://easylinux.info/wiki/Ubuntu_dapper how to add menu items if you installed any of the following apps:"
echo "Azureus, Limewire, LinPopUp, RSSOwl, NVU, Nessus, Nvidia-Settings, RP-PPPoE, MySQL Control Center"
read -p "View the Dapper guide in your browser now? [Y/n/q]"
if [ "--$REPLY" == "--q" -o "--$REPLY" == "--Q" ]; then exit 0; fi
if [ "--$REPLY" == "--y" -o "--$REPLY" == "--Y" -o "--$REPLY" == "--" ]; then
sudo -H /usr/bin/firefox "http://easylinux.info/wiki/Ubuntu_dapper"
else
echo "Skipped"
fi
echo ""
echo ""
echo "Done...thanks for using the Unofficial Dapper Drake Quick Install Script"
echo ""
exit 0
|
|
|
|
|
|
#2 |
|
Member (10 bit)
Join Date: Mar 2006
Location: Toronto, Canada
Posts: 810
|
It sounds very close to the Automatix script, which loads similar programs. Automatix is mostly automated, though.
|
|
|
|
|
|
#3 |
|
Member (10 bit)
Join Date: Nov 2004
Posts: 800
|
Yep, it accomplishes the same thing in the end, Freenode #Ubuntu vs. Ubuntu Forums Automatix vs. EasyUbuntu aside. I just felt like doing some scripting, and it's easy to customize if I feel like adding something. Most importantly it is easy to run outside of a graphical environment or from across the network via ssh without forwarding X, which is actually the main reason I use it.
95% of dentists agree ... EasyUbuntu over this script 6 out of 7 days a week for 95% of Ubuntu users 95% of the time.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|