APACHE AND MYSQL
APACHE AND MYSQL
Apache2
Web Server
Apache is the most commonly used Web server on
Linux systems. Web servers are used to serve Web pages requested by the client
computers.
Installation
sudo apt
install apache2
Restart
Apache
sudo service
apache2 restart
Stop
Apache
sudo service
apache2 stop
Start
Apache
sudo service
apache2 start
Default document folder of Apache located in
/var/www/ MySQL/MariaDB
MySQL/MariaDB is a fast, multi-threaded, multi-user, and robust SQL
database
server. It is intended for mission-critical,
heavy-load production systems as well as for embedding into mass-deployed
software.
Installation
sudo apt-get install mysql-server sudo apt-get install
mariadb-server
Restart
sudo service
mysql restart
Stop
sudo service
mysql stop
Access the
MySQL shell
mysql -uroot
-p
Enter MySQL Root
password.
Create and Delete a
MySQL Database
Show Databases
show
databases;
Create
Database
create
database tom;
Open
Database
use tom;
show tables;
Delete
Database
drop database
tom;
REFERENCES
Comments
Post a Comment