This guide will outlined how to install MySQL on CentOS 7. MySQL is a widely used database management platform used by various applications. Many applications such as WordPress, Joomla and others rely on MySQL databases to function. MySQL however, must be installed with a few different steps since it’s no longer the default in the CentOS repositories.
All commands without sudo
yum update -y
yum install -y wget
wget http://repo.mysql.com/mysql-community-release-el7-7.noarch.rpm
rpm -ivh mysql-community-release-el7-7.noarch.rpm
yum update -y
yum install -y mysql-server
systemctl start mysqld
systemctl enable mysqld
mysql_secure_installation
All commands with sudo
Showing posts with label CentOS 7. Show all posts
Showing posts with label CentOS 7. Show all posts
Saturday, October 26, 2019
Saturday, June 8, 2019
How To Install Apache on CentOS 7
Apache HTTP server is the most popular web server in the world. It is a free, open-source and cross-platform HTTP server providing powerful features which can be extended by a wide variety of modules. The following instructions describe how to install and manage the Apache web server on your CentOS 7 machine.
Install Apache
Apache is available in the default CentOS repositories and the installation is pretty straight forward. On CentOS and RHEL the Apache package and the service is called
httpd. To install the package run the following command:sudo yum install httpd
Once the installation is completed, enable and start the Apache service:
sudo systemctl enable httpd
sudo systemctl start httpd
Subscribe to:
Posts (Atom)