Found 41 Articles for Centos 7

How to setup hostname in centos 7 x or rhel 7 x linux versions

Lakshmi Srinivas
Updated on 18-Oct-2019 12:23:33

1K+ Views

In this article, we will learn how to change the host name on CentOS 7.x / RHEL 7.0, by default after installation on CentOS 7 or RHEL the default hostname will be localhost.localdomain. This hostname will be used for various services, unlike the older versions we will try to change the host name by changing /etc/sysconfig/networks or using the host name command to change the hostname and after multiple reboot of server the hostname remains as localhost.localdomain. The procedure for changing the host name in CentOS 7 or RHEL is totally different from the previous versions. we have 3 tools ... Read More

How to install and configuration ftp server in centos 7

Lakshmi Srinivas
Updated on 18-Oct-2019 11:19:58

1K+ Views

In this article, we will learn how to configure FTP server on CentOs 7 using ‘vsftpd’. ‘vsftpd’ (Very Secure File Transport Protocol Daemon) is a secure and very fast FTP server on Linux systems.Installing ‘vsftpd’Below is the command to install the ‘vsftpd’, we needed a root user to run the following command# yum install vsftp ftp –y Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: ftp.iitm.ac.in * extras: ftp.iitm.ac.in * updates: ftp.iitm.ac.in Setting up Install Process No package vsftp available. Resolving Dependencies --> Running transaction check ---> Package ftp.x86_64 0:0.17-54.el6 will be installed --> Finished ... Read More

How to configure and secure the server setup on centos 7

Lakshmi Srinivas
Updated on 18-Oct-2019 11:15:36

392 Views

In this article, we will learn some configuration steps that should be taken care for security purpose and usability, just after a new server is installed. This will help us in building a solid foundation.Avoiding the ‘root’ user LoginThe root is the administrator or the super user in the Linux environment, who has all the privileges on the system. Generally, it is highly recommended to use the root user directly, as it may cause many issues or any accidental loss of data or due to any changes which may be done accidentally.In the next step, we will be setting up ... Read More

How to install install mariadb 10 2 centos 7

Lakshmi Srinivas
Updated on 18-Oct-2019 11:12:13

1K+ Views

In this article we shall learn about – how to install MariaDB 10.2 on Centos 7 / RHEL. This can be used as a guide for beginners or as a reference. Please note that, this can also be used as an alternative replacement of MySQL.Features of MariaDBMariaDB is an open-source and an alternative relational database management software.MariaDB is robust, fast and Scalable with rich storage engines.MariaDB has new features such as GIS and JSON.Server Information and PackagesThe Package included: MariadB, Mariadb-server, MariaDB-libs.The Daemon Name used is: mariadb.Port No: 3306.Configuration path: /etc/my.cnf.Installing Maria DB 10.2 on Centos 7 / RHEL 7In ... Read More

How to install and configure own wordpress instance on linux centos 7

Lakshmi Srinivas
Updated on 18-Oct-2019 11:10:28

182 Views

In this article, we will learn about how to install WordPress in an open source website and blogging tools which works with PHP and MySQL. WordPress is the most popular Content management system (CRM) used on the Internet and it has more plugins to extend the functionality of the WordPress.PrerequisitesBefore we set up, the we need to have the below –We need a non-root user with Sudo privilegesWe need to setup LAMP (Linux, Apache, MySQL and PHP) which needs to be installed on the Centos 7 Server.Creating MySQL Database and User for the WordPressAssuming that we have already had LAMP ... Read More

How to install graylog 1 3graylog2 on centos 7rhel 7

Lakshmi Srinivas
Updated on 18-Oct-2019 07:43:39

114 Views

In this article we will configure and install the Graylog 1.3 (which is also referred as Graylog2) on CentOS 7, Graylog gathers the syslog’s of the machines into a centralized location. Graylog is a log management and analysis tool that can be used in many cases, for monitoring the SSH logins and unusual activity for debugging applications and logs, the uses Elasticsearch, Java and MangoDB.Graylog Features and ComponentsGrayLog Server Node − Server mainly receives and processes the messages and communicates with the non-servers components.Elastic search Nodes − This will store the messages and logs.MangoDB − This stores metadata.Web Interfaces − ... Read More

How to install and configure dropbox as a service on centos 7

Lakshmi Srinivas
Updated on 18-Oct-2019 07:34:52

233 Views

In this article, we will learn how to configure and install the Dropbox client and run as a service on CentOS7 server. This makes the server to connect with Dropbox and keep a copy of files synchronized. To complete the setup we needed a non-root user with Sudo permissions or a root user.Installing the Dropbox ClientWe can download the latest Linux Dropbox client from the below link.# cd ~ # curl -Lo dropbox-linux-x86_64.tar.gz https://www.dropbox.com/download?plat=lnx.x86_64After downloading, we need to create a folder for client software and extract the compressed file which we downloaded.# mkdir -p /opt/dropbox-client # tar xzfv dropbox-linux-x86_64.tar.gz --strip ... Read More

How to install and use docker and containers on centos 7

Lakshmi Srinivas
Updated on 18-Oct-2019 07:16:55

707 Views

In this article, we will learn how to install Dockers. Dockers is a very good tool which runs the application on its own containers. It works like a virtual machine which are more portable and more resource friendly and more dependent on the host OS. There are two methods of installing Docker on CentOS 7. First method is to by installation using the existing OS or spinning the server with a tool called Docker Machine and making the auto installation.Here for demo purpose, we will install on the existing OS.Installing the Docker on CentOS 7Before we begin the installation we ... Read More

How to configure nginx with gzip module for compression on centos 7

Lakshmi Srinivas
Updated on 18-Oct-2019 06:54:09

338 Views

In this article, we have configured Nginx which is already installed on CentOS 7 to serve the clients with gzip compression to reduce the size of the contents sent to the web site visitors. We can configure the websites to load faster which depends on the size of all the files that are downloaded by the web browser, we can do this by reducing the size of the files transmitted from the website and load faster, which also reduces the cost which we pay for the bandwidth usage. gzipis a popular data compression package, which we will configure Nginx with ... Read More

How to install and configure prometheus using docker on centos 7

Samual Sam
Updated on 18-Oct-2019 06:32:49

835 Views

In this article, we will learn how to install Prometheus server to collect the metrics and query them and also install Grafana – a web based graphical dashboard builder. Prometheus is an open source monitoring tool with time series database. It addresses many aspects for monitoring and generating a collection of metrics and graphs for resulting the data on the dashboards along with alerting.PrerequisitesTo complete this article we needed these resources CentOS 7 installed, a user with sudo access and Dockers installed.Installing the PrometheusWe are installing the Prometheus using the Dockers, so make sure that we already installed Docker on ... Read More

Advertisements