Anything Goes
Please visit chatisto.com

How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu

Go down

How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu

Post by captaincook on Fri Feb 17, 2017 9:37 pm

s


Last edited by captaincook on Mon Nov 27, 2017 10:34 pm; edited 1 time in total

captaincook
New Member
New Member

Posts : 0
Join date : 2015-05-23

Back to top Go down

Re: How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu

Post by Smith_J on Tue Sep 26, 2017 3:37 pm

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

Smith_J
New Member
New Member

Posts : 7
Join date : 2017-09-23

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum