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 startThis command will start all the LAMPP services, including Apache and MySQL.
To stop the LAMPP services, run the following command:
bashsudo /opt/lampp/lampp stopThis command will stop all the LAMPP services, including Apache and MySQL.
To restart the LAMPP services, run the following command:
bashsudo /opt/lampp/lampp restartThis 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 statusThis 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 MySQLThese commands will start, stop or restart only the specified service.


0 comments:
Post a Comment