Hello, right now, I will make some tutorials to install and use XAMPP inside Ubuntu, installing and using this software is pretty easy. Now, please read the instructions carefully and these are the how-to for the installation with some simple steps:

1. Download XAMPP in here

2. Get into the terminal, and login as a root/ super user(type: sudo su). And after that, the text should be looks like this: root@yourname:/home/yourname# .

3. Extract all of the files by typing this code: tar xvfz xampp-linux-1.6.7.tar.gz -C /opt

And now, XAMPP is settled into your ubuntu. Here are some guide to use XAMPP, the method is clearly easy, you just need to follow this guide:

1. Without wasting more time, run XAMPP!! By typing :
cd /opt/lampp
And then type this following code:
/opt/lampp/lampp starts

And after you typing this code, there will appear some code like:
Starting XAMPP for Linux 1.6.7…
XAMPP: Starting Apache with SSL (and PHP5)… XAMPP: Starting MySQL… XAMPP: Starting ProFTPD… XAMPP for Linux started.
2. How to stop XAMPP, type this code: /opt/lampp/lampp stop

3. SECURITY CONFIGURATION , you must wondering why I’d use the bold and capital character, AMPP is not meant for production use but only for developers in a development environment. The way XAMPP is configured is to be open as possible and allowing the developer anything he/she wants. For development environments this is great but in a production environment it could be fatal.

Here a list of missing security in XAMPP:

The MySQL administrator (root) has no password.

The MySQL daemon is accessible via network.

ProFTPD uses the password “lampp” for user “nobody”.

PhpMyAdmin is accessible via network.

Examples are accessible via network.

MySQL and Apache running under the same user (nobody).

To fix most of the security weaknesses simply call the following command

#/opt/lampp/lampp security

It starts a small security check and makes your XAMPP installation more secure.

4. More useful code for XAMPP:

start

Starts XAMPP.

stop

Stops XAMPP.

restart

Stops and starts XAMPP.

startapache

Starts only the Apache.

startssl

Starts the Apache SSL support. This command activates the SSL support permanently, e.g. if you restarts XAMPP in the future SSL will stay activated.

startmysql

Starts only the MySQL database.

startftp

Starts the ProFTPD server. Via FTP you can upload files for your web server (user “nobody”, password “lampp”). This command activates the ProFTPD permanently, e.g. if you restarts XAMPP in the future FTP will stay activated.

stopapache

Stops the Apache.

stopssl

Stops the Apache SSL support. This command deactivates the SSL support permanently, e.g. if you restarts XAMPP in the future SSL will stay deactivated.

stopmysql

Stops the MySQL database.

stopftp

Stops the ProFTPD server. This command deactivates the ProFTPD permanently, e.g. if you restarts XAMPP in the future FTP will stay deactivated.

security

Starts a small security check programm.

For example: To start Apache with SSL support simply type in the following command (as root)

#/opt/lampp/lampp startssl

You can also access your Apache server via SSL under https://localhost or https://serveripaddress

5. Important configuration files and directory:

/opt/lampp/bin/ – The XAMPP commands home.

/opt/lampp/bin/mysql calls for example the MySQL monitor.

/opt/lampp/htdocs/ – The Apache DocumentRoot directory.

/opt/lampp/etc/httpd.conf – The Apache configuration file.

/opt/lampp/etc/my.cnf – The MySQL configuration file.

/opt/lampp/etc/php.ini – The PHP configuration file.

/opt/lampp/etc/proftpd.conf – The ProFTPD configuration file. (since 0.9.5)

/opt/lampp/phpmyadmin/config.inc.php – The phpMyAdmin configuration file.

Well, that’s a pretty long post, but it will help people to configure they web server for more easier. And I also has made some posts to install JOOMLA INSIDE LINUX/UBUNTU and I ‘m sure that this tutorial will help you to install and configure joomla easily without any trouble. I think you can aplicate this joomla installation inside XAMPP.

Related Posts Plugin for WordPress, Blogger...