PHP TB 8 VMo

You might also like

Download as odt, pdf, or txt
Download as odt, pdf, or txt
You are on page 1of 3

Setup a new Ubuntu Machine

1. Install Ubuntu from ubuntu.com, either by cd or wubi installer on windows. 2. Login and Run Update manager, Update the ubuntu with the latest updates. (System Administration Update Manager). 3. Install following packages. //Install Flash player apt-get install apt:flashplugin-installer 4. Set the root password by opening terminal. sudo su PASSWORD LOGGED IN passwd NEW PASSWORD 5. apt-get install vim vim /etc/apt/sources.list and enable cononical entries (2 lines) apt-get update Click on System->Administrator->Update Manager and install updates 6. // install the wi fi drivers Go to Synaptic Package Manager Typed broadcom Right clicked on bcmwl-kernel-source and marked it for re-installation Then went back to the hardware drivers where I could now activate the broadcom driver without any problems!

7. // Install SSH services. apt-get install openssh-client openssh-server ssh 8. // Install Apache2 sudo apt-get install apache2 9. // Install Mysql Server
sudo apt-get install mysql-client mysql-server 10. // Install PHP Latest version sudo apt-get install php5 libapache2-mod-php5

Please follow this if you want to degrade your PHP to 5.2.x http://harx.nl/component/content/article/2-linux/22-installingphp52onubuntu1010

// Install Curl sudo apt-get install curl

// Install PHP Packages. sudo apt-get install php5-mysql php5-curl php5-gd php-pear php5-imap php5-mcrypt php5-sqlite php5-tidy php5-xmlrpc php5-json // Install PHPMyadmin

sudo apt-get install phpmyadmin While instaling phpmyadmin choose option NO when it queries related to db-config file.

11. Install Netbeans // Install Java sudo apt-get install sun-java6-plugin sun-java6-jdk sun-java6-bin sun-java6-jre sun-java6-fonts // download netbeans setup sh /path_to_netbeans_setup 12. Install subversion apt-get install subversion 13. Install virtual box add lines to your /etc/apt/sources.list:
deb http://download.virtualbox.org/virtualbox/debian lucid non-free After that execute following command wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add sudo apt-get update sudo apt-get install virtualbox-3.2 sudo apt-get install dkms Install virtual box with dynamic storage allocation option

14. Install thunderbird References: http://www.hackourlives.com/install-apache-mysql-php-phpmyadmin-lamp-on-ubuntu-10-04-or-mint-linux-9/ http://mrkandy.wordpress.com/2010/04/16/install-php-5-2-x-in-ubuntu-10-04-lucid/ Import Mysql database Command to import mysql database through command line in case the database size exceeds the limit. Example: $mysql -u root -p -h localhost connectedworldof < /home/gaurav/connectedworldof19.sql Enter password: Here we are importing the database sql connectedworldof19.sql to a database called connectedworldof. -u root ---- the user of the database connectedworldof. -p ---- password , which is left empty at the moment. -h ---- the host name as here it is Localhost. After doing all this you will be prompted to enter a password for the database user as : Enter password: Type the password and its all done.

You might also like