giovedì 14 maggio 2015

Install XAMPP in Ubuntu using command line

You can install XAMPP in Ubuntu using ppa(Personal Package Archives). This is a simple process. Open terminal and type following command.
sudo add-apt-repository ppa:upubuntu-com/web
sudo apt-get update
sudo apt-get install xampp

XAMPP is installed now type following command  to start XAMPP server
sudo /opt/lampp/lampp start

Now xampp is installed in your linux , just open web browser and type url in address bar : http://localhost/

Operate XAMPP in Ubuntu using command line

You can operate XAMPP server in ubuntu using following command. 
Syntax: sudo /opt/lampp/lampp <action>
For example:
to start XAMPP server write following command in terminal
sudo /opt/lampp/lampp start


start xampp in ubuntu
start xampp in ubuntu

to stop XAMPP server write following command in terminal
sudo /opt/lampp/lampp stop

Following list shows command list
ActionAction Detail
XAMPP Start Commands
startStart XAMPP (Apache, MySQL and eventually others)
startapacheStart only Apache
startsslStart only SSL support
startmysqlStart only MySQL
startftpStart only ProFTPD
XAMPP Stop Commands
stopStop XAMPP (Apache, MySQL and eventually others)
stopapacheStop only Apache
stopsslStop only SSL support
stopmysqlStop only MySQL
stopftpStop only ProFTPD
XAMPP Reload Commands
reloadReload XAMPP (Apache, MySQL and eventually others)
reloadapacheReload only Apache
reloadmysqlReload only MySQL
reloadftpReload only ProFTPD
Other Commands
restartStop and start XAMPP
securityCheck XAMPP’s security
php5Activate PHP5
phpstatusWhich version of PHP is active?
backupMake backup file of your XAMPP config, log and data files
panelStarts graphical XAMPP control panel









Nessun commento:

Posta un commento