How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu
2 posters
Page 1 of 1
How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu
s
Last edited by captaincook on Mon Nov 27, 2017 10:34 pm; edited 1 time in total
captaincook- New Member
- Posts : 0
Join date : 2015-05-23
Re: How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu
Ubuntu is a very different system than windows. Every thing or most of the things are done through commands. In the answer to your question i am giving the following set of commands. These commands will install MySql
To check your hostname run:
hostname
hostname -f
The first command should show your short hostname, and the second should show your fully qualified domain name (FQDN).
sudo apt-get update
sudo apt-get upgrade
Type In The Command To Install MySQL
sudo apt-get install mysql-server
During the installation process, you will be prompted to set a password for the MySQL root user as shown below. Choose a strong password and keep it in a safe place for future reference.
MySQL will bind to localhost (127.0.0.1) by default.
Run the mysql_secure_installation script to address several security concerns in a default MySQL installation:
sudo mysql_secure_installation
To check your hostname run:
hostname
hostname -f
The first command should show your short hostname, and the second should show your fully qualified domain name (FQDN).
sudo apt-get update
sudo apt-get upgrade
Type In The Command To Install MySQL
sudo apt-get install mysql-server
During the installation process, you will be prompted to set a password for the MySQL root user as shown below. Choose a strong password and keep it in a safe place for future reference.
MySQL will bind to localhost (127.0.0.1) by default.
Run the mysql_secure_installation script to address several security concerns in a default MySQL installation:
sudo mysql_secure_installation
Smith_J- New Member
- Posts : 7
Join date : 2017-09-23
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum