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>
Syntax: sudo /opt/lampp/lampp <action>
For example:
to start XAMPP server write following command in terminal
sudo /opt/lampp/lampp start
sudo /opt/lampp/lampp start

to stop XAMPP server write following command in terminal
sudo /opt/lampp/lampp stop
sudo /opt/lampp/lampp stop
Following list shows command list
| Action | Action Detail |
|---|---|
| XAMPP Start Commands | |
| start | Start XAMPP (Apache, MySQL and eventually others) |
| startapache | Start only Apache |
| startssl | Start only SSL support |
| startmysql | Start only MySQL |
| startftp | Start only ProFTPD |
| XAMPP Stop Commands | |
| stop | Stop XAMPP (Apache, MySQL and eventually others) |
| stopapache | Stop only Apache |
| stopssl | Stop only SSL support |
| stopmysql | Stop only MySQL |
| stopftp | Stop only ProFTPD |
| XAMPP Reload Commands | |
| reload | Reload XAMPP (Apache, MySQL and eventually others) |
| reloadapache | Reload only Apache |
| reloadmysql | Reload only MySQL |
| reloadftp | Reload only ProFTPD |
| Other Commands | |
| restart | Stop and start XAMPP |
| security | Check XAMPP’s security |
| php5 | Activate PHP5 |
| phpstatus | Which version of PHP is active? |
| backup | Make backup file of your XAMPP config, log and data files |
| panel | Starts graphical XAMPP control panel |
Nessun commento:
Posta un commento