If you happen to restart the server, httpd and mysqld demons will not run on their own. Step 6: Let httpd and mysqld run together with the system
How to check mac address on centos 6 install#
Here’s an example of installing some modules: yum install php-mysql php-pdo php-pear php-pecl php-xml php-gd php-zlib To install PHP on the server, open the console and type the following: yum install php php-mysqlĭepending on what you need to do on your WordPress, explore which PHP extensions-modules you need and install them. If you are unsure and do not want to read, you will not make a mistake if you leave the default answers and press Enter every time.
How to check mac address on centos 6 password#
You will also be prompted to enter a new password and set it (and remember or type it somewhere).īefore all is done you will have several more yes/no questions. Since you just installed MySQL and do not have a password, just press Enter on the keyboard. OK, successfully used password, moving on. Open the console that is connected to the server via SSH and type: /usr/bin/mysql_secure_installationĪn old password will be requested here: Enter current password for root (enter for none): Step 3: Set the root password for MySQLĪfter installing MySQL, you need to set the root password for MySQL. Deactivating this demon, it also means shutdown of mysql server. Calling this demon is actually starting a mysql server. Mysqld is a MySQL server demon that runs in the background of the operating system. It serves for better organization and use of data on the server. It is a management system for working with a database. Install MySQL now, open the console and type the following: yum install mysql-server At the same time, the web server also cares if these modules are ready-available before calling them. Depending on the site, the web server can also invite other modules while generating a page that will serve to the visitor. When someone in the Internet browser typed an address to a page, the web server comes in to first check the request, and then serve that page. It was named after the original natives of America, the Apache tribe.
Type the Internet address of your server in the Internet browser: You should get this page, if everything is fine:Īpache is currently the most used web server software. To install Apache open the console, connect to the server using ssh connection and type the following command: yum install httpdĪfter installation, be sure to run Apache by typing the following: service httpd start Step 1: Install and run Apache web server If all of this is complicated for you, buy a cPanel/WHM license. If you already use a server with the cPanel/WHM control panel, you do not need to do this in this way. It assumes that you have already installed CentOS 6 operating system on your server. The guide does not contain steps to enhance security on the server environment or additional settings for better operation of the environment. This instruction has educational purpose and is useful for those who want to deal with Linux administration.