Step 5: Configure Linux XAMPP Security
First, log in as root. Then go to your Linux root directory (/) and type:
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:/opt/lampp/lampp security
root@fwh2:/opt/lampp/phpmyadmin# cd /
root@fwh2:/# /opt/lampp/lampp securitySince 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):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.
In the Linux terminal:
root@fwh2:/# cd /opt/lampp/phpmyadminFinally restart XAMPP Again with /opt/lampp/lampp restartroot@fwh2:/opt/lampp/phpmyadmin# chown melbin:melbin config.inc.php
Here is the actual command:
root@fwh2:/# /opt/lampp/lampp restartYou should not see any error.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.






Reply With Quote

Bookmarks