Tuesday, August 13, 2013

XAMPP on Linux (Mint)

Summarized from http://www.apachefriends.org/en/xampp-linux.html

Install and setup XAMPP

su
chmod 755 xampp-linux-1.8.3-0-installer.run
./xampp-linux-1.8.3-0-installer.run

Home-Mint Downloads # /opt/lampp/lampp start
Starting XAMPP for Linux 1.8.3-0...
XAMPP: Starting Apache...ok.
XAMPP: Starting MySQL...ok.
XAMPP: Starting ProFTPD...ok.

/opt/lampp/lampp security

Home-Mint Downloads # /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 'xampp' as user name!
XAMPP:  MySQL is accessable via network. 
XAMPP: Normaly that's not recommended. Do you want me to turn it off? [yes] yes
XAMPP:  Turned off.
XAMPP: Stopping MySQL...ok.
XAMPP: Starting MySQL...ok.
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 passwort 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 'daemon' is still set to 'xampp'. 
XAMPP: Do you want to change the password? [yes] yes
XAMPP: Password: 
XAMPP: Password (again): 
XAMPP: Reload ProFTPD...ok.
XAMPP:  Done.

IMPORTANT FILES AND DIRECTORIES
File/DirectoryPurpose
/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.confThe Apache configuration file.
/opt/lampp/etc/my.cnfThe MySQL configuration file.
/opt/lampp/etc/php.iniThe PHP configuration file.
/opt/lampp/etc/proftpd.confThe ProFTPD configuration file. (since 0.9.5)
/opt/lampp/phpmyadmin/config.inc.phpThe phpMyAdmin configuration file.


Install Add-ons:

http://bitnami.com/stack/xampp

chmod 755 *.run
Home-Mint Downloads # ./bitnami-
bitnami-joomla-3.1.5-0-module-linux-installer.run
bitnami-mediawiki-1.21.1-0-module-xampp-linux-installer.run
bitnami-wordpress-3.6-0-module-linux-installer.run

>> MediaWiki installer having problem to connect to MySQL server in XAMPP, still need to troubleshoot. Wordpress using the same interface was fine.

No comments: