Liferay Installation

This post will show the Liferay Installation.

Liferay is a free and open source CMS(Content Management System) written in Java.

Liferay is available in two version i.e.
1. Community Edition (Free)
2. Enterprise Edition

Following are the steps to setup/install Liferay Community Edition on localhost (on your local machine):

Download Liferay Portal 6.1 Community Edition (6.1 CE GA2), bundled with Tomcat using link Get/Download Liferay

Extract the downloaded zip in C:\Program Files (x86)
After extracting the path is C:\Program Files (x86)liferay-portal-6.1.1-ce-ga2

Open bin folder run startup.bat file
Path: C:\Program Files (x86)\liferay-portal-6.1.1-ce-ga2\tomcat-7.0.27\bin
A black screen will open that will start tomcat server and launch the application
and you will see the below screen


Note: If you may not able to see this screen after 1,2 minutes or if you see errors on black screen and application is not launching then, may be your 8080 port is in use by some other application (this may be the one reason) if it is so, then make your 8080 port free and try again running your startup.bat file.
To change the port open file C:\Program Files (x86)\liferay-portal-6.1.1-ce-ga2\tomcat-7.0.27\conf\server.xml
and search for line

change it to

Install Moodle

In this post I am going to explain How To Install Moodle.
Its a very simple process. Just follow the following steps.

Step-1: Download Moodle which ever version you would like to install, we will install Moodle-2.4

Step-2: Extract and place it in server’s root directory. We are using WAMP server so root directory is www in our case.

Step-3: Run WAMP server and Create a database (we have created the database with name moodle2.4 and db_collation is utf8_general_ci)


Step-4: Open the moodle that you have just extracted.

Step-5: Choose language then hit Next

Step-6: Confirm paths then hit Next

Step-7: Choose Database Driver.

choose database driver

Step-8: Database settings. Fill the fields then hit Next

database settings

Step-9: Installation. Press Continue

Step-10: Installation – Moodle 2.4.4+
If every thing is correct you will see Continue button.


Hit Continue. It will get installed.

Step-10: Once it get installed a form will appear, fill the necessary fields and click update profile.

Step-11: Front page settings
If you want to do some changes then do it and click Save changes.


How to Install WordPress on Localhost

WordPress is a CMS (Content Management System) that is written in PHP language. It is free and open source.
Official website:
Download latest WordPress:

You can install the wordpress on your local system.


1. You need a server to run wordpress as wordpress is written in php and it is a server-side scripting language.(Download Wamp)
2. You need WordPress (Download WordPress)

WordPress Installation:

1. Extract the wordpress in the www folder of wamp server (in my case location is C:\wamp\www)

2. search for file “wp-config-sample.php” in wordpress folder (in my case location is C:\wamp\www\wordpress) and change the name of the file to “wp-config.php”

3. Now open the file and change the following

3. Now start Wamp server

4. Once the Wamp server and database is started and running you will see the green wamp symbol

5. Open phpMyAdmin

6. Create a database with name “wordpress”
create database

7. Click on Localhost
Wamp server green symbol

8. Click on WordPress
click wordpress

9. Fill the details and click on Install WordPress

10.wordpress succesfully installed

11. Click on login to login into the control panel

12. open http://localhost/wordpress/ to see front end that will be seen by the user. To open control panel type http://localhost/wordpress/wp-admin in the url

How to Install Magento on Localhost

How to Install Magento on localhost?
Download the latest version of Magento Community Edition. E.g.: magento-[SM1]

2. Extract inside a folder say hellomagento which should be created inside the root directory of xampp

i.e. htdocs or www if server is wamp.

3.  Now run the server and locate your installed directory.

For example if you have extracted Magento inside the root directory in folder hellomagento.

You can run the installation script of Magento by typing :


inside the browser url.

4. Also run your phpmyadmin or mysql server to create a database let say hellomagentodb in this case before executing step 3.

5. After running both mysql server and wamp or xampp or any other webserver which support php or full fills magento


6. Take a look at step 3 and now enter the above mentioned url in web browser. The magento installation will start.

7. On the installation page:

    1. Select I agree …. And Click continue.
    2. Leave Locale as it is and Select Time Zone as India Standard Time … Currency as Indian Rupee and click continue.
    3. Leave host as localhost, write your database name e.g. hellomagentodb which you have created. Write the username of mysql server e.g. root and password in this case leave it blank.
    4. Write table prefix as first_ or mag_ . You can leave it blank too. A prefix can be any combination of letters followed by underscore.
    5. Select “use web server rewrites” leave rest fields as it is.
    6. Click continue and wait until installation shows the next page.
    7. (a). Fill first name,last name,email (b). Fill user name as admin and password admin123 (c). Hit continue

8.   You will get message stating “You are all set” .This mean that your installation is complete.


Now you   can view the frontend at http://localhost/hellomagento and backend at    http://localhost/hellomagento/admin or http://localhost/hellomagento/index.php/admin or you can simply click on the Visit Frontend or website  and Visit Backend buttons of the page.

Good Luck!

Magento Basic Requirements Check

Magento Basic Requirements Check

The following code can help us to check whether our system meets the basic requirements for magento installation or not. To use this code copy and paste it into a file with .php extension and put the file in the root directory of your server and run it from there. The same file can be downloaded from magento website.