{"id":11748,"date":"2019-03-16T04:31:01","date_gmt":"2019-03-16T04:31:01","guid":{"rendered":"http:\/\/www.appservgrid.com\/paw92\/?p=11748"},"modified":"2019-03-16T04:31:01","modified_gmt":"2019-03-16T04:31:01","slug":"initial-server-setup-and-configurations-on-centos-7","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/16\/initial-server-setup-and-configurations-on-centos-7\/","title":{"rendered":"Initial Server Setup and Configurations on CentOS 7"},"content":{"rendered":"<p>This tutorial will explain the first basic steps you need to go through after installing a minimal\u00a0<strong>CentOS 7<\/strong>\u00a0system with no graphical environment in order to obtain information about the installed system, the hardware on top of which runs the system and configure other specific system tasks, such as networking, root privileges, software, services and others.<\/p>\n<h4>Requirements<\/h4>\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/centos-7-3-installation-guide\/\" target=\"_blank\" rel=\"noopener\">CentOS 7 Minimal Installation<\/a><\/li>\n<\/ol>\n<p><strong>Important<\/strong>: RHEL 7 users, can follow this article to do a\u00a0<a href=\"https:\/\/www.tecmint.com\/rhel-7-initial-server-setup-and-configurations\/\" target=\"_blank\" rel=\"noopener\">Initial Server Setup on RHEL 7<\/a>.<\/p>\n<h3>Update CentOS 7 System<\/h3>\n<p>The first step you need to perform on a fresh installed CentOS system is to make sure the system is up-to-date with the latest kernel and system security patches, software repositories and packages.<\/p>\n<p>To fully update a\u00a0<strong>CentOS 7<\/strong>\u00a0system, issue the following commands with root privileges.<\/p>\n<pre># yum check-update\r\n# yum upgrade<\/pre>\n<p>After the upgrade process completes, in order to release disk space you can remove all downloaded packages that where used in the process of upgrading alongside with all cached repositories information by executing the following command.<\/p>\n<pre># yum clean all\r\n<\/pre>\n<div id=\"attachment_27528\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/10\/Yum-Clean.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-27528\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/10\/Yum-Clean.png\" sizes=\"auto, (max-width: 788px) 100vw, 788px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/10\/Yum-Clean.png 788w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/10\/Yum-Clean-768x148.png 768w\" alt=\"Yum Clean All on CentOS 7\" width=\"788\" height=\"152\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Yum Clean All on CentOS 7<\/p>\n<\/div>\n<h3>Install System Utilities on CentOS 7<\/h3>\n<p>The following utilities packages can prove to be useful for day-by-day system administration:\u00a0<strong>nano<\/strong>\u00a0(text editor to replace\u00a0<a href=\"https:\/\/www.tecmint.com\/learn-vi-and-vim-editor-tips-and-tricks-in-linux\/\" target=\"_blank\" rel=\"noopener\">vi editor<\/a>),\u00a0<a href=\"https:\/\/www.tecmint.com\/10-wget-command-examples-in-linux\/\" target=\"_blank\" rel=\"noopener\">wget<\/a>,\u00a0<strong>curl<\/strong>\u00a0(utilities used for downloading packages over network mostly)\u00a0<strong>net-tools<\/strong>,\u00a0<a href=\"https:\/\/www.tecmint.com\/10-lsof-command-examples-in-linux\/\" target=\"_blank\" rel=\"noopener\">lsof<\/a>(utilities for managing local networking) and bash-completion (command line autocomplete).<\/p>\n<p>Install them all in one-shot by executing the below command.<\/p>\n<pre># yum install nano wget curl net-tools lsof bash-completion\r\n<\/pre>\n<div id=\"attachment_27529\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/10\/Install-System-Utilities.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-27529\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/10\/Install-System-Utilities.png\" sizes=\"auto, (max-width: 1114px) 100vw, 1114px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/10\/Install-System-Utilities.png 1114w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/10\/Install-System-Utilities-768x587.png 768w\" alt=\"Install System Utilities\" width=\"1114\" height=\"852\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Install System Utilities<\/p>\n<\/div>\n<h3>Setup Networking in CentOS 7<\/h3>\n<p><strong>CentOS 7<\/strong>\u00a0has a wide range of tools that can be used to configure and manage networking, from manually editing the network configuration file to using commands such as\u00a0<a href=\"https:\/\/www.tecmint.com\/ip-command-examples\/\" target=\"_blank\" rel=\"noopener\">ip<\/a>,\u00a0<a href=\"https:\/\/www.tecmint.com\/ifconfig-command-examples\/\" target=\"_blank\" rel=\"noopener\">ifconfig<\/a>,\u00a0<strong>nmtui<\/strong>,\u00a0<a href=\"https:\/\/www.tecmint.com\/configure-network-connections-using-nmcli-tool-in-linux\/\" target=\"_blank\" rel=\"noopener\">nmcli<\/a>\u00a0or\u00a0<strong>route<\/strong>.<\/p>\n<p>The easiest utility a beginner can use to manage and change network configurations is\u00a0<strong>nmtui<\/strong>\u00a0graphical command line.<\/p>\n<p>In order to change the system hostname via\u00a0<strong>nmtui<\/strong>\u00a0utility, execute\u00a0<strong>nmtui-hostname<\/strong>\u00a0command, set your machine hostname and press\u00a0<strong>OK<\/strong>\u00a0to finish, as illustrated in the below screenshot.<\/p>\n<pre># nmtui-hostname\r\n<\/pre>\n<div id=\"attachment_27530\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/10\/Set-Hostname-in-CentOS-7.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-27530\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/10\/Set-Hostname-in-CentOS-7.png\" alt=\"Set Hostname in CentOS 7\" width=\"754\" height=\"305\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Set Hostname in CentOS 7<\/p>\n<\/div>\n<p>To manipulate a network interface, execute\u00a0<strong>nmtui-edit<\/strong>\u00a0command, choose the interface you want to edit and select\u00a0<strong>edit<\/strong>\u00a0from the right menu, as shown in the below screenshot.<\/p>\n<pre># nmtui-edit\r\n<\/pre>\n<div id=\"attachment_27531\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/10\/Configure-Network-in-CentOS-7.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-27531\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/10\/Configure-Network-in-CentOS-7.png\" alt=\"Configure Network in CentOS 7\" width=\"545\" height=\"244\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Configure Network in CentOS 7<\/p>\n<\/div>\n<p>Once you\u2019re in the graphical interface provided by\u00a0<strong>nmtui<\/strong>\u00a0utility you can setup the network interface IP settings as illustrated in the below screenshot. When you finish, navigate to\u00a0<strong>OK<\/strong>\u00a0using\u00a0<strong>[tab]<\/strong>\u00a0key to save the configuration and quit.<\/p>\n<div id=\"attachment_27532\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/10\/Setup-Network-IP-Address.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-27532\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/10\/Setup-Network-IP-Address.png\" sizes=\"auto, (max-width: 864px) 100vw, 864px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/10\/Setup-Network-IP-Address.png 864w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/10\/Setup-Network-IP-Address-768x487.png 768w\" alt=\"Setup Network IP Address\" width=\"864\" height=\"548\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Setup Network IP Address<\/p>\n<\/div>\n<p>In order to apply the network interface new configuration, execute\u00a0<strong>nmtui-connect<\/strong>\u00a0command, select the interface you want to manage and hit on\u00a0<strong>Deactivate\/Activate<\/strong>\u00a0option to decommission and rise-up the interface with the IP settings, as presented in the below screenshots.<\/p>\n<pre># nmtui-connect\r\n<\/pre>\n<div id=\"attachment_27534\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/10\/Active-Network-Interface.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-27534\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/10\/Active-Network-Interface.png\" alt=\"Active Network Interface\" width=\"550\" height=\"247\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Active Network Interface<\/p>\n<\/div>\n<p>In order to view the network interface settings, you can inspect the content of the interface file or you can issue the below commands.<\/p>\n<pre># ifconfig enp0s3\r\n# ip a\r\n# ping -c2 google.com\r\n<\/pre>\n<div id=\"attachment_27535\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/10\/Verify-Network-Configuration.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-27535\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/10\/Verify-Network-Configuration.png\" sizes=\"auto, (max-width: 848px) 100vw, 848px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/10\/Verify-Network-Configuration.png 848w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/10\/Verify-Network-Configuration-768x350.png 768w\" alt=\"Verify Network Configuration\" width=\"848\" height=\"387\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Verify Network Configuration<\/p>\n<\/div>\n<p>Other useful utilities that can be used to manage speed, link state or obtain information about machine network interfaces are\u00a0<strong>ethtool<\/strong>\u00a0and\u00a0<strong>mii-tool<\/strong>.<\/p>\n<pre># ethtool enp0s3\r\n# mii-tool enp0s3\r\n<\/pre>\n<div id=\"attachment_27536\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/10\/Check-Network-Connection.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-27536\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/10\/Check-Network-Connection.png\" alt=\"Check Network Connection\" width=\"706\" height=\"545\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Check Network Connection<\/p>\n<\/div>\n<p>An important aspect of your machine networking is to list all open network sockets in order to see what programs are listening on what ports and what\u2019s the state of the established network connections.<\/p>\n<p>To list all servers that have opened\u00a0<strong>TCP<\/strong>\u00a0or\u00a0<strong>UDP<\/strong>\u00a0sockets in listening state issue the following commands. However,\u00a0<strong>UDP<\/strong>\u00a0server won\u2019t list any socket state due to the fact that UDP is a connectionless protocol which only sends packets over network and doesn\u2019t establish connections.<\/p>\n<pre># netstat -tulpn\r\n# ss -tulpn\r\n# lsof -i4 -6\r\n<\/pre>\n<h3>Manage Services in CentOS 7<\/h3>\n<p><strong>CentOS 7<\/strong>\u00a0manages daemons or service via\u00a0<a href=\"https:\/\/www.tecmint.com\/manage-services-using-systemd-and-systemctl-in-linux\/\" target=\"_blank\" rel=\"noopener\">systemctl utility<\/a>. In order to list all services state, issue the following command.<\/p>\n<pre># systemctl list-units\r\n<\/pre>\n<div id=\"attachment_27538\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/10\/List-All-Services-State.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-27538\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/10\/List-All-Services-State.png\" sizes=\"auto, (max-width: 1338px) 100vw, 1338px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/10\/List-All-Services-State.png 1338w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/10\/List-All-Services-State-768x355.png 768w\" alt=\"List All Services State\" width=\"1338\" height=\"619\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">List All Services State<\/p>\n<\/div>\n<p>To check if a daemon or service is enabled to automatically start when the system starts, issue the following command.<\/p>\n<pre># systemctl list-unit-files -t service\r\n<\/pre>\n<div id=\"attachment_27539\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/10\/List-Enabled-Services.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-27539\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/10\/List-Enabled-Services.png\" alt=\"List Enabled Services\" width=\"589\" height=\"445\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">List Enabled Services<\/p>\n<\/div>\n<p>To list the old\u00a0<strong>SysV<\/strong>\u00a0services present in your system and disable them issue the following\u00a0<a href=\"https:\/\/www.tecmint.com\/chkconfig-command-examples\/\" target=\"_blank\" rel=\"noopener\">chkconfig commands<\/a>.<\/p>\n<pre># chkconfig --list\r\n# chkconfig service_name off\r\n<\/pre>\n<h3>5. Disable Unwanted Services in CentOS 7<\/h3>\n<p>It\u2019s recommended after installing\u00a0<strong>CentOS 7<\/strong>, to list what services are running in the system by running the above commands and disable and remove them in order to reduce the attacks vectors against your system.<\/p>\n<p>For instance,\u00a0<strong>Postfix<\/strong>\u00a0daemon is installed and enabled by default in CentOS 7. If your system don\u2019t require running a mail server, it\u2019s best to stop, disable and remove the postfix service by issuing the below commands.<\/p>\n<pre># systemctl stop postfix\r\n# systemctl disable postfix\r\n# yum remove postfix\r\n<\/pre>\n<p>In addition to\u00a0<a href=\"https:\/\/www.tecmint.com\/20-netstat-commands-for-linux-network-management\/\" target=\"_blank\" rel=\"noopener\">netstat<\/a>,\u00a0<strong>ss<\/strong>,\u00a0<a href=\"https:\/\/www.tecmint.com\/10-lsof-command-examples-in-linux\/\" target=\"_blank\" rel=\"noopener\">lsof<\/a>\u00a0or\u00a0<a href=\"https:\/\/www.tecmint.com\/manage-services-using-systemd-and-systemctl-in-linux\/\" target=\"_blank\" rel=\"noopener\">systemctl<\/a>\u00a0commands, you can also run\u00a0<a href=\"https:\/\/www.tecmint.com\/ps-command-examples-for-linux-process-monitoring\/\" target=\"_blank\" rel=\"noopener\">ps<\/a>,\u00a0<a href=\"https:\/\/www.tecmint.com\/12-top-command-examples-in-linux\/\" target=\"_blank\" rel=\"noopener\">top<\/a>\u00a0or\u00a0<strong>pstree<\/strong>\u00a0commands in order to discover and identify what unwanted services are running in your system and disable or remove them.<\/p>\n<p>By default,\u00a0<strong>pstree<\/strong>\u00a0utility is not installed in CentOS 7. To install it execute the following command.<\/p>\n<pre># yum install psmisc\r\n# pstree -p\r\n<\/pre>\n<div id=\"attachment_27540\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/10\/List-Linux-Processes-in-Tree.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-27540\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/10\/List-Linux-Processes-in-Tree.png\" alt=\"List Linux Processes in Tree Format\" width=\"722\" height=\"440\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">List Linux Processes in Tree Format<\/p>\n<\/div>\n<h3>Enable Firewall in CentOs 7<\/h3>\n<p><a href=\"https:\/\/www.tecmint.com\/firewalld-rules-for-centos-7\/\" target=\"_blank\" rel=\"noopener\">Firewalld<\/a>\u00a0is the main firewall utility that uses interacts with in order to manage iptables rules.<br \/>\nTo enable and start and verify the firewall in CentOS 7, execute the following commands.<\/p>\n<pre># systemctl enable firewalld\r\n# systemctl start firewalld\r\n# systemctl status firewalld\r\n<\/pre>\n<p>In order to open a specific service to incoming connections, first verify if the application is already present in\u00a0<strong>firewalld<\/strong>\u00a0rules and, then, add the rule for the service, as shown in the below example which allows\u00a0<strong>SSH<\/strong>incoming connections. Use\u00a0<code>--permanent<\/code>\u00a0switch to add the rule permanently.<\/p>\n<pre># firewall-cmd --add-service=[tab]  #List services\r\n# firewall-cmd --add-service=ssh\r\n# firewall-cmd --add-service=ssh --permanent\r\n<\/pre>\n<div id=\"attachment_27541\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/10\/Open-Service-in-Firewalld.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-27541\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/10\/Open-Service-in-Firewalld.png\" alt=\"Open Service in Firewalld\" width=\"683\" height=\"289\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Open Service in Firewalld<\/p>\n<\/div>\n<p>In case the service is now already defined in firewalld rules, you can manually add the service port, as shown in the below example.<\/p>\n<pre># firewall-cmd --add-port=22\/tcp --permanent\r\n# firewall-cmd --reload     #Apply the rule on-fly\r\n<\/pre>\n<h3>Enable Sudo Permissions on User Accounts<\/h3>\n<p>In order to grant root permissions for a normal user, first create the user by issuing\u00a0<a href=\"https:\/\/www.tecmint.com\/add-users-in-linux\/\" target=\"_blank\" rel=\"noopener\">adduser command<\/a>, set the password for the user and grant root permissions to the user by executing the below command which adds the new user to the administrative wheel group.<\/p>\n<pre># adduser tecmint\r\n# passwd tecmint\r\n# usermod -aG wheel tecmint\r\n<\/pre>\n<p>To test if the new user has root privileges, login to the system with user\u2019s credentials and run yum command with sudo permissions, as shown in the below excerpt.<\/p>\n<pre># su - tecmint\r\n# sudo yum update\r\n<\/pre>\n<div id=\"attachment_27542\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/10\/Verify-Sudo-User.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-27542\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/10\/Verify-Sudo-User.png\" alt=\"Verify Sudo User Permissions\" width=\"628\" height=\"375\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Verify Sudo User Permissions<\/p>\n<\/div>\n<h3>Configure SSH Public Key Authentication on CentOS 7<\/h3>\n<p>In order to secure SSH your server and set up public key authentication to increase the security of your server with a private SSH key to log in, first generate a SSH Key Pair with a following command.<\/p>\n<p>Don\u2019t not enter a passphrase in case you want to automate server management via SSH.<\/p>\n<pre># ssh-keygen -t RSA\r\n<\/pre>\n<p>After the SSH key pairs had been generated, copy the key to the server you want to connect to by issuing the below command. Initially, enter you remote SSH user password in order to copy the public key.<\/p>\n<pre># ssh-copy-id remote_user@SSH_SERVER_IP\r\n<\/pre>\n<p>After the SSH public key has been copied to the remote server, login to the remote SSH server with the following command.<\/p>\n<pre># ssh remote_user@SSH_SERVER_IP\r\n<\/pre>\n<p>Finally, in order to secure the SSH server, make sure you disallow remote SSH access to the root account by opening the configuration SSH file\u00a0<strong>\/etc\/ssh\/sshd_config<\/strong>\u00a0with your text editor as root and change it from\u00a0<code>Yes<\/code>\u00a0to\u00a0<code>No<\/code>.<\/p>\n<pre>PermitRootLogin no\r\n<\/pre>\n<p>To apply the setting you need to restart the SSH service so that it will use the new configuration.<\/p>\n<pre># systemctl restart sshd\r\n<\/pre>\n<p>That\u2019s all! These are just a few basic settings and commands every system administrator needs to know and apply on a fresh installed CentOS system or in order to perform day to day tasks on the system.<\/p>\n<p>To secure and harden CentOS 7 server, check out these following articles.<\/p>\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/security-and-hardening-centos-7-guide\/\" target=\"_blank\" rel=\"noopener\">The Mega Guide To Harden and Secure CentOS 7 \u2013 Part 1<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/centos-7-hardening-and-security-guide\/\" target=\"_blank\" rel=\"noopener\">The Mega Guide To Harden and Secure CentOS 7 \u2013 Part 2<\/a><\/li>\n<\/ol>\n<p>If you\u2019re planning to deploy websites on this CentOS 7 system, learn how to setup and configure\u00a0<a href=\"https:\/\/www.tecmint.com\/install-lamp-in-centos-7\/\" target=\"_blank\" rel=\"noopener\">LAMP stack<\/a>\u00a0or\u00a0<a href=\"https:\/\/www.tecmint.com\/install-nginx-mariadb-php-rhel-centos-fedora\/\" target=\"_blank\" rel=\"noopener\">LEMP stack<\/a>.<\/p>\n<p><a href=\"https:\/\/www.tecmint.com\/centos-7-initial-server-setup-and-configuration\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial will explain the first basic steps you need to go through after installing a minimal\u00a0CentOS 7\u00a0system with no graphical environment in order to obtain information about the installed system, the hardware on top of which runs the system and configure other specific system tasks, such as networking, root privileges, software, services and others. &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/16\/initial-server-setup-and-configurations-on-centos-7\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Initial Server Setup and Configurations on CentOS 7&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-11748","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/11748","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=11748"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/11748\/revisions"}],"predecessor-version":[{"id":11749,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/11748\/revisions\/11749"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=11748"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=11748"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=11748"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}