As salam. 🙂

The purpose of the documentation is to guide the new developer to install the necessary software of LAMP Server in the Ubuntu Desktop environment.

Note that $ refers to the command prompt, u do not need to type it at the console.

Step 0 : Update and upgrade all the necessary packages in the GNU/Linux distro.
$ sudo apt-get update
$ sudo apt-get upgrade

Step 1 : Install all the necessary software (LAMP stack & subversion client)
$ sudo apt-get install lamp-server^
$ sudo apt-get install subversion
$ sudo apt-get install phpmyadmin
$ sudo apt-get install rabbitvcs*
$ sudo apt-get autoremove

Step 2 : Verify your installation
$ telnet localhost 80
$ telnet localhost 3360
$ svn –help

If your phpmyadmin doesn’t work, please do the following:
1: Edit the Apache conf file
sudo gedit /etc/apache2/apache2.conf

2: Add this statement in to the file
Include /etc/phpmyadmin/apache.conf

3: Restart Apache
sudo /etc/init.d/apache2 restart

Step 3 : Securely install & reset the root password of the MySQL server
$ sudo mysql_secure_installation

Step 4 : Setup your working development folder and check out the code from the subversion repository

$ cd ~
$ mkdir public_html
$ cd public_html
$ svn co your_url

Step 5 : Create a symbolic link to the web application in the Apache (web server) document root.
$ cd /var/www
$ sudo ln -s ~/public_html/your_project your_project
$ ls -l

Step 6 : Go back to your development folder to create & change the permission of certain folders.
$ cd ~
$ cd public_html
$ sh // shell script, like in windows is batch .bat

Step 7 : Create the databases
$ mysqladmin -u root -p create demo_db

Step 8 : Create the tables & sync all database schema
Open your browser and surf to http://localhost/your_project/admin/schema_sync.php

Put in your pass code & select one table at a time to sync.

Step 9 : Login into the system
Open your browser again & surf to http://localhost/your_project/admin
Key in your username & password.

Good Luck all.

Wassalam. 🙂


About fzfain88

islam. moderate. programmer. did all because allah. :)

One response »

  1. I really like blogging when it is for or about something I believe in. I also read news blogs often and uncover that it makes me feel much a lot more intelligent every time I read them. I also feel like I’m a pretty excellent person who tries to treat others with respect, no matter what their view is. You can find some real haters out there. Thanks once more. I learned a couple of things about blogging. I will surely put your site on my speed dial.

As salam. Hi. Leave a Comment?

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s