Information Computer

Saturday, July 30, 2011

Install XAMPP For Linux

XAMPP is free software, its function is as a stand-alone server (localhost). Name XAMPP stands for X (four of any operating system), Apache, MySQL, PHP and Perl. The program is available in the GNU General Public License and free, is easy to use web server that can serve dynamic web page display. To get it to download directly from its official website. follow these steps to install :

  1. open terminal.
  2. extract the file by typing "tar xvfz xampp-linux-1.7.4.tar.gz -C /opt".
  3. wait until the process is complete.
for how to use it as follows.
  1.  open terminal
  2. typing "cd path_lampp_folder". example : cd /opt/lampp/
  3. typing "sudo su". insert your root password.
  4. typing "path_lampp_folder/lampp <action>". example : /opt/lampp/lampp start.
for <action> you can replace with the actions in the following table.

startStart XAMPP
startapacheStart only apache
startsslStart only SSL support
startmysqlStart only MySQL
startftpStart only ProFTPD
stopStop XAMPP
stopapacheStop only apache
stopsslStop only SSL support
stopmysqlStop only MySQL
stopftpStop only ProFTPD
reloadReload XAMPP
reloadapacheReload only apache
reloadmysqlReload only MySQL
reloadftpReload only ProFTPD
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

thank :)

Related Posts