Pages

Sunday, September 22, 2013

Linux LAMPP installation


http://www.apachefriends.org/en/xampp-linux.html#374

  1. Go to a Linux shell and login as the system administrator root:
    su
  2. Change the permissions to the installer
    chmod 755 xampp-linux-1.8.2-0-installer.run
  3. Run the installer
    ./xampp-linux-1.8.2-0-installer.run
That's all. XAMPP is now installed below the /opt/lampp directory.

==========
 cd /opt/lampp/
cp lampp old-lampp
vi lampp 

//find . $XAMPP_ROOT/share/xampp/xampplib and add two line above this line and save this file
XMPP_OS="Linux"
XAMPP_ROOT="/opt/lampp"
. $XAMPP_ROOT/share/xampp/xampplib

# search if test $(osguess) = "rh9" and replace by bellow
# do we have that new red hat linux 9 with posix native threads?
if test "$(osguess)" = "rh9"


test -f /etc/vfstab
 groupadd nogroup
/opt/lampp/lampp start
/opt/lampp/lampp restart

 vi /opt/lampp/etc/extra/httpd-xampp.conf


Step 3: Start
To start XAMPP simply call this command:
/opt/lampp/lampp start
You should now see something like this on your screen:
Starting XAMPP 1.8.2...
LAMPP: Starting Apache...
LAMPP: Starting MySQL...
LAMPP started.
Ready. Apache and MySQL are running.
If you get any error messages please take a look at the 

Step 4: Test
OK, that was easy but how can you check that everything really works? Just type in the following URL at your favourite web browser:
http://localhost
Now you should see the start page of XAMPP containing some links to check the status of the installed software and some small programming examples.


/opt/lampp/lampp could only start and stop XAMPP. Since version 0.9.5 it learned a lot of new things to do.
START AND STOP PARAMETERS
ParameterDescription
startStarts XAMPP.
stopStops XAMPP.
restartStops and starts XAMPP.
startapacheStarts only the Apache.
startsslStarts the Apache SSL support. This command activates the SSL support permanently, e.g. if you restarts XAMPP in the future SSL will stay activated.
startmysqlStarts only the MySQL database.
startftpStarts the ProFTPD server. Via FTP you can upload files for your web server (user "nobody", password "lampp"). This command activates the ProFTPD permanently, e.g. if you restarts XAMPP in the future FTP will stay activated.
stopapacheStops the Apache.
stopsslStops the Apache SSL support. This command deactivates the SSL support permanently, e.g. if you restarts XAMPP in the future SSL will stay deactivated.
stopmysqlStops the MySQL database.
stopftpStops the ProFTPD server. This command deactivates the ProFTPD permanently, e.g. if you restarts XAMPP in the future FTP will stay deactivated.
securityStarts a small security check programm. 

No comments:

Post a Comment