Home arrow Site Administration arrow Page 4 - How to Install XAMPP on Ubuntu Linux

Step 4: Configure Linux XAMPP Security - Administration

This is an important tutorial on how to install and completely configure XAMPP to run without problems on Ubuntu Linux.

TABLE OF CONTENTS:
  1. How to Install XAMPP on Ubuntu Linux
  2. Step 2: Change the Owner to Your Own Linux Account
  3. Step 3: Browser Configuration in XAMPP
  4. Step 4: Configure Linux XAMPP Security
  5. Step 5: Test Your Overall Installation Process
By: Codex-M
Rating: starstarstarstarstar / 46
May 05, 2010

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

First, log in as root. Then go to your Linux root directory (/) and type:

/opt/lampp/lampp security

Answer "YES" to all and type the password. You cannot see it while typing, but XAMPP will verify it. Here is the actual series of commands in the Linux terminal:

root@codex-m-desktop:/opt/lampp/phpmyadmin# cd /

root@codex-m-desktop:/# /opt/lampp/lampp security

XAMPP: Quick security check...

XAMPP: Your XAMPP pages are NOT secured by a password.

XAMPP: Do you want to set a password? [yes] yes

XAMPP: Password:

XAMPP: Password (again):

XAMPP: Password protection active. Please use 'lampp' as user name!

XAMPP: The MySQL/phpMyAdmin user pma has no password set!!!

XAMPP: Do you want to set a password? [yes] yes

XAMPP: Password:

XAMPP: Password (again):

XAMPP: Setting new MySQL pma password.

XAMPP: Setting phpMyAdmin's pma password to the new one.

XAMPP: MySQL has no root password set!!!

XAMPP: Do you want to set a password? [yes] yes

XAMPP: Write the password somewhere down to make sure you won't forget it!!!

XAMPP: Password:

XAMPP: Password (again):

XAMPP: Setting new MySQL root password.

XAMPP: Change phpMyAdmin's authentication method.

XAMPP: The FTP password for user 'nobody' is still set to 'lampp'.

XAMPP: Do you want to change the password? [yes] yes

XAMPP: Password:

XAMPP: Password (again):

XAMPP: Reload ProFTPD...

XAMPP: Done.

Since there is a database configuration file alteration, you need to change the ownership back to your username (it's the same process you went through in the earlier section):

In the Linux terminal:

root@codex-m-desktop:/# cd /opt/lampp/phpmyadmin

root@codex-m-desktop:/opt/lampp/phpmyadmin# chown codex-m:codex-m config.inc.php

Finally restart XAMPP Again with /opt/lampp/lampp restart

 Here is the actual command:

root@codex-m-desktop:/# /opt/lampp/lampp restart

Stopping XAMPP for Linux 1.7.3a...

XAMPP: Stopping Apache with SSL...

XAMPP: Stopping MySQL...

XAMPP: Stopping ProFTPD...

XAMPP stopped.

Starting XAMPP for Linux 1.7.3a...

XAMPP: Starting Apache with SSL (and PHP5)...

XAMPP: Starting MySQL...

XAMPP: Starting ProFTPD...

XAMPP for Linux started.

You should not see any error.



 
 
>>> More Site Administration Articles          >>> More By Codex-M
 

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

SITE ADMINISTRATION ARTICLES

- Coding: Not Just for Developers
- To Support or Not Support IE?
- Administration: Networking OSX and Win 7
- DotNetNuke Gets Social
- Integrating MailChimp with Joomla: Creating ...
- Integrating MailChimp with Joomla: List Mana...
- Integrating MailChimp with Joomla: Building ...
- Integrating MailChimp with Joomla
- More Top WordPress Plugins for Social Media
- Optimizing Security: SSH Public Key Authenti...
- Patches and Rejects in Software Configuratio...
- Configuring a CVS Server
- Managing Code and Teams for Cross-Platform S...
- Software Configuration Management
- Back Up a Joomla Site with Akeeba Backup

Developer Shed Affiliates

 


Dev Shed Tutorial Topics: