Web+development

**So here is how you start:**
For any general we developer who has not worked on any CMS (Content Management System), the configuration is generally We want to install Drupal for a CMS. The best option around is to use Xampp for a web server package. Otherwise you can also set up drupal into the htdocs folder of apache2 and install it from there. Basically you can also use the lamp-server where LAMP stands for (Linux, Apache, MySQL and PHP).
 * 1) Apache web server
 * 2) MySQL server
 * 3) php

**What is Xampp?**
 XAMPP is a free and open source cross-platform web server package, consisting mainly of the Apache HTTP Server, MySQL database, and interpreters for scripts written in the PHP and Perl programming languages.

 So if you want to use XAMPP, it is better to unistall existing Apache and Mysql first. If you don't have apache or mysql installed, then just skip otherwise follow the following steps: a. Switch to super user mode sudo su prompts for password

b. Stop apache2 web server from running as daemon (in the background)

/etc/init.d/apache2 stop

c. Remove apache2 apt-get --purge remove apache2.2-bin

d.Stop mysql server from running as daemon (in the background) /etc/init.d/mqsql stop

e. Remove mysql components apt-get --purge remove mysql-server apt-get --purge remove mysql-client apt-get --purge remove mysql-common apt-get autoremove apt-get autoclean

**NOW LETS START WITH INSTALLING XAMPP:** Here is a very good tutorial video
1. Download the package from latest xampp download. Download the latest package.

2. Extract the zipped package with the command tar xvfz xampp-linux-1.7.7.tar.gz -C /opt

3. Now start xampp with the command /opt/lampp/lampp start

4. Open any browser. Type http://localhost in the URL. Or simply localhost You should see a page from XAMPP. Click on English. You will see a tabbed pane on the left. Click on security. You will see all parameters set to be unsecured. This means that anybody can access all those components over the network since your server is running. You will need to secure them. How? Type in command prompt the following: /opt/lampp/lampp security write yes and set a common or different passwords for each component. It is very important to remember these passwords especially the ones for root and php mysql admin

5. We are done. XAMPP is ready to roll.

**INSTALL CMS DRUPAL:**
Just follow this link for a good comprehensive installation process Now, don't forget to set the permissions for the default/settings.php file to read-only after everything is completed. Use command : chmod -w default/settings.php