Linux commands to control the LAMPP (XAMPP) services
Linux commands to control the LAMPP (XAMPP) services:
To start the LAMPP services, run the following command:
bashsudo /opt/lampp/lampp start
This command will start all the LAMPP services, including Apache and MySQL.
To stop the LAMPP services, run the following command:
bashsudo /opt/lampp/lampp stop
This command will stop all the LAMPP services, including Apache and MySQL.
To restart the LAMPP services, run the following command:
bashsudo /opt/lampp/lampp restart
This command will restart all the LAMPP services, including Apache and MySQL.
To check the status of the LAMPP services, run the following command:
bashsudo /opt/lampp/lampp status
This command will show the status of all the LAMPP services, including Apache and MySQL.
If you want to start, stop or restart only Apache or MySQL, you can use the following commands:
bash1. sudo /opt/lampp/lampp startapache # Start Apache 2. sudo /opt/lampp/lampp stopapache # Stop Apache 3. sudo /opt/lampp/lampp restartapache # Restart Apache 4. sudo /opt/lampp/lampp startmysql # Start MySQL 5. sudo /opt/lampp/lampp stopmysql # Stop MySQL 6. sudo /opt/lampp/lampp restartmysql # Restart MySQL
These commands will start, stop or restart only the specified service.
0 comments:
Post a Comment