Commands for installing MySQL-Server software on the Linux operating system Ubuntu.
Installing Apache HTTP Server
$ sudo apt-get install mysql-server
Installing PHP for Apache HTTP Server
$ sudo apt-get install apache2
Installing MySQL for Apache HTTP Server
$ sudo apt-get install php5
Testing and Setting MySQL Password
$ sudo apt-get install libapache2-mod-auth-mysql
$ sudo apt-get install php5-mysql
#mysql -u root
#mysqladmin -u root password 'your.password'
#mysql -u root -p
Ubuntu Server Directory Information
- Default database directory:
/var/lib/mysql - Default web directory:
/var/wwwApache - Configuration file:
/etc/apache2/apache2.conf
✦ Independent Journalism · Reader Support ✦
Support Independent Perspectives & In-Depth Insights
Every thoughtful analysis and candid critique comes from our dedication to truth and quality. We choose not to follow sensational algorithms or clickbait headlines.
Sustaining independent research requires reader support. Make a one-time or monthly contribution, securely processed by Google.
Payments secured by Google · Manage or cancel anytime in your Google Account




Comments