installation of joomla and drupal without xampp

37
Installation of Joomla on Linux (Without Xampp) First of all we need to have the following pre-requisite software on our Linux system. PHP (latest Edition). Apache web server (Tomcat is used) mysql database. Rapache : It is required to control and monitor apache web server with graphic user interface, PHP myadmin: To enable web interface of PHP which will be used here to make database and database users. All the listed stuff we can find in synaptic package manager or we can also install it with command line utility. Ok now let’s start our course. First we will install PHP on our Linux Computer. PHP is widely-used general-purpose scripting language that is especially suited for web development. Here we will use synaptic package manager to install it. Go to system >> administration and there you will find synaptic package manager in the list.

Upload: jesse-dhammu

Post on 23-Dec-2016

230 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Installation of Joomla and Drupal without Xampp

Installation of Joomla on Linux (Without Xampp)

First of all we need to have the following pre-requisite software on our Linux system.

• PHP (latest Edition). • Apache web server (Tomcat is used) • mysql database. • Rapache : It is required to control and monitor apache web server with graphic user

interface, • PHP myadmin: To enable web interface of PHP which will be used here to make database

and database users. All the listed stuff we can find in synaptic package manager or we can also install it with command line utility. Ok now let’s start our course. First we will install PHP on our Linux Computer. PHP is widely-used general-purpose scripting language that is especially suited for web development. Here we will use synaptic package manager to install it. Go to system >> administration and there you will find synaptic package manager in the list.

Page 2: Installation of Joomla and Drupal without Xampp

Click on it and synaptic window will open. Here in the quick search, type PHP. A list of all the packages containing the word PHP will appear before you. Select the latest version of PHP. (I have PHP5 here) Right click on that package and select “Mark for Installation”.

Page 3: Installation of Joomla and Drupal without Xampp

Then click apply

Page 4: Installation of Joomla and Drupal without Xampp

After clicking apply, synaptic will start downloading and installing the package.

Page 5: Installation of Joomla and Drupal without Xampp

So now, our php5 is installed on our Computer. Now we will install, MySQL database. MySQL is most popular open source database. It is a key part of Xampp which most of the people use to make a web server. We need it to store our data, forms and tables which we will be using for our site. We will install it with synaptic package manager. Now, open synaptic package manager, in quick search type MySQL and mark it for installation. Then click apply to install the selected package, the same way as we did earlier.

Page 6: Installation of Joomla and Drupal without Xampp

While installing MySQL, the installer will ask you for the root user password, which will be used to administrate the database. Fill up your desired password and click “Forward” after confirming.

Page 7: Installation of Joomla and Drupal without Xampp

When you are configuring it with phpmyadmin. It will ask you for configuring PHPmyadmin with MySQL. Provide password for root user in this screen and click “Forward”.

Page 8: Installation of Joomla and Drupal without Xampp

After installing MySql we will install Apache web server here. We will use synaptic for this. Open synaptic package manager and search for apache. It will show Apache2 in the list, click on “Mark for Installation” and apply.

Page 9: Installation of Joomla and Drupal without Xampp

Now our basic software’s are installed successfully, to control and monitor apache server we will install another package called “Rapache” with help of synaptic package manager. The same way we installed other software’s. Search for Rapache, mark for installation and click apply and install it.

Page 10: Installation of Joomla and Drupal without Xampp

After Rapache is installed you will be able to find it in system tools.

Page 11: Installation of Joomla and Drupal without Xampp

Now we will install phpmyadmin the same way.

Page 12: Installation of Joomla and Drupal without Xampp

Click apply to install the selected package. It will download and install the package for you.

Page 13: Installation of Joomla and Drupal without Xampp

While installation it will prompt for configuring phpmysql with apache web server. If this window appears select apache2 and click forward.

Page 14: Installation of Joomla and Drupal without Xampp

In the next screen it will ask for configuring database for phpmyadmin. Just click on “Forward”. Further it will ask for administration password that will be used, make users as administrator. Fill up your desired password and click forward.

Page 15: Installation of Joomla and Drupal without Xampp

After filling up the information required like passwords etc. Click Forward. The wizard will complete. Now check if your PHPmyadmin is working or not. Open your favourite web browser available on your Linux Computer and open the following URL http://localhost/phpmyadmin If everything is ok, a screen will appear asking for login username and password. Give the login name “root” and fill up the password you have given in previous screens while configuring you phpmyadmin. After giving username and password click on login button. And it will show you this screen. Here we can create database for each software or Website we are going to install. Like we will make database for joomla, drupal and Media wiki etc.

Page 16: Installation of Joomla and Drupal without Xampp

Now our local web server is ready. We can start hosting any website on it. We just need to put our website files into apache web directory which is /var/www. So now, we are going to install joomla on it. First in your PHPMyadmin page create a database for JOOMLA. Fill up the database name joomla in the following screen.

Page 17: Installation of Joomla and Drupal without Xampp

After creating the database, press Home button. And at the home screen click on “Privileges” tab.

Page 18: Installation of Joomla and Drupal without Xampp

Here, click on add new user.

Page 19: Installation of Joomla and Drupal without Xampp

In this screen fill up the required fields, like username, Database name and Password.

Page 20: Installation of Joomla and Drupal without Xampp

If you have filled username, host (we can also fill up the IP address of our PC, instead of this localhost, but only if we have this database and the website on the same PC.) and password then this part is done now scroll down the screen and press go button at the bottom of the page. Next screen will appear, now scroll down a little and select Joomla from the dropdown list.

Page 21: Installation of Joomla and Drupal without Xampp

And then moving down the screen, click on “Check All” in global privileges, so that all the check box will be tick marked as shown in this screen shot.

Page 22: Installation of Joomla and Drupal without Xampp

Now press go. So we have successfully added a new user and have given the privileges to that user, we can close the browser for now. Now that the database has been configured we will extract our Joomla source files in our apache web directory, which is /var/www. But first we will make a directory named joomla in the web directory. And in that directory we will extract the source files of joomla. This can be done with following command. jesse@Linuxtest:~$ sudo mkdir /var/www/joomla

Page 23: Installation of Joomla and Drupal without Xampp

Now extract joomla.tar.gz in /var/www/joomla by giving this command. jesse@Linuxtest:~$ sudo tar -zxvf /home/jesse/Downloads/Joomla_1.5.13-Stable-Full_Package.tar.gz -C /var/www/joomla (Syntax of the command is “sudo tar –zxvf”, the highlighted part is only the path where we have downloaded and kept our Joomla tar file. Make sure that you give this path, where you have downloaded your joomla tar file.)

Page 24: Installation of Joomla and Drupal without Xampp

After extracting the joomla source files in joomla folder, we will now open the web browser and will open this url http://localhost/joomla And joomla web installer will start with this screen, Here select your desired installation language and click next.

Page 25: Installation of Joomla and Drupal without Xampp

In the next screen the installer will show your current configuration and installed prerequisite software with their versions. If everything is going smooth, we will see here all the required options will be green. Only configuration stuff will glow red, you don’t need to worry about it, it is just indicating that the configration.php file is not with writable attributes. So our configuration settings will not be edited in current configration.php file. But we can also do it later. Installer will show a code at the last and we will make a new configuration file with that code and upload it to site root folder. So here we can ignore it and simply click next.

Page 26: Installation of Joomla and Drupal without Xampp

Accept the GPL in the next screen and click next.

Page 27: Installation of Joomla and Drupal without Xampp

The next screen will ask you to setup joomla to use mysql database.

Page 28: Installation of Joomla and Drupal without Xampp

Here select database type “mysql” Fill the Host name “localhost” (or whatever you have given while creating the database) Fill in the user name “root” (or whatever you have given while creating the database) and give the password which you have given while setting up your database. Enter the database name joomla. We can leave the remaining settings as they are and click “Next”.

Page 29: Installation of Joomla and Drupal without Xampp

Provide FTP settings on this screen, if you want to setup any FTP on your localhost. (We are leaving this unchanged for now). Click “Next” here.

Page 30: Installation of Joomla and Drupal without Xampp

Fill up your desired site name here. In the next box, give your Email address. And provide your desired password. (This email address and password will be used for logging in on the administration page of your site.) And click next. Ahhhaaa...!!! here it comes..! This is all about that configuration file. Be careful this is an important step.

Page 31: Installation of Joomla and Drupal without Xampp

Read the instructions on the screen and copy the text from the text area. This is the configuration code which we have configured now for joomla. And we will now make a new configration.php file with this code and upload it to root directory of joomla.

Page 32: Installation of Joomla and Drupal without Xampp

Open any text editor and paste the text here, save the file as configuration.php and save it on desktop. Now in terminal window, type following command to move this file from Desktop to /var/www/joomla, which is the root directory for joomla. jesse@Linuxtest:~$ sudo mv /home/jesse/Desktop/configuration.php /var/www/joomla/ This command will move the new configuration.php file from desktop to our website’s root folder.

Page 33: Installation of Joomla and Drupal without Xampp

Installation is not yet complete. We have to remove the installation directory from our site root folder by giving this command in the terminal window. jesse@Linuxtest:~$ sudo rm -r /var/www/joomla/installation/

Page 34: Installation of Joomla and Drupal without Xampp

After deleting the installation directory, we can finalize it. Open the web browser and open this url http://localhost/joomla.

Page 35: Installation of Joomla and Drupal without Xampp

See your local web server is ready now and Joomla is ready for use. For administrator login of your Joomla website open url http://localhost/joomla/administrator And the following page will appear on the screen.

Page 36: Installation of Joomla and Drupal without Xampp

Username for site administration is “admin” and password is which you have given while setting up the site name and password. After logging in, the control panel page will come to your screen. From here we can manage our site.

Page 37: Installation of Joomla and Drupal without Xampp

IT’S done…!!! Now we are ready to play with Joomla.

Regards Rupinder singh Dhammu IIAS | Shimla [email protected] www.Rupindersingh.co.nr