Found 41 Articles for Centos 7

How To Configure and Secure SFTP Without Providing Shell Access on CentOS 7

Sharon Christine
Updated on 23-Jan-2020 07:28:19

220 Views

In this article we will learn about how to configure SFTP without enabling the shell access on CentOS 7, SSH File Transfer Protocol (SFTP) which is a secure way to transferring files from servers to a server using the SSH encrypted connections, which is a different protocol from File Transfer Protocol (FTP) that is supported by all the FTP clients.SFTP can be configured by using default configurations on all the servers which had the SSH access enabled on the machine. SFTP is a secure and easiest way to use, which has a disadvantage in the standard configuration, which allows terminal ... Read More

How to Enable and Install Third Party Packages Using EPEL Repository on CentOS/RHEL

Sharon Christine
Updated on 21-Jan-2020 10:42:03

619 Views

In this article we shall try to learn, how to add EPEL Repository for Linux. EPEL (Extra Package for Enterprise Linux) is an open source and free community based repository from the Fedora community team which provides high quality and good add-on software’s for Linux distributions. It has Red Hat Enter Linux, CentOS, Scientific Linux and most of the repositories which are maintained by the Fedora team only.Why we use EPEL Repositories for PackagesProvides a lot of open source packages which are installed using yum.EPEL repositories are open source and they are 100% free to use.There will not be any ... Read More

How to Create/Add a New Virtual Disk for an Existing Linux Virtual Machine

karthikeya Boyini
Updated on 21-Jan-2020 10:27:50

10K+ Views

This article helps you to create and add a new virtual disk to an existing Linux virtual machine on VMware. Here are some steps for adding a new SCSI based virtual disk on a CentOS Linux virtual machine. We are assuming that you are already familiar with Linux system administration skills and having knowledge of vCenter Server or vSphere Client. For a full description of the utilities mentioned in this article, please refer to the manuals.SolutionTo add a new virtual disk for an existing Linux virtual machine, Log in as root on your Linux virtual machine. Run this below command ... Read More

How to Configure Nagios Server for Monitoring Apache Server

karthikeya Boyini
Updated on 21-Jan-2020 10:00:03

2K+ Views

In this article, we will be covering about the installation of Nagios 4, a very popular and open source monitoring tool on Centos 6.7. We shall cover some basic configuration steps which might be useful to monitor a host of resources via the web interface. Here, we shall also utilize the Nagios Remote Plugin Executor (NRPE) that is installed as an agent on remote hosts to monitor the local resources of Servers/clients.Nagios is useful for keeping an inventory of your servers, and making sure your critical services are up and running. Using a monitoring system, Nagios is an essential tool ... Read More

How To Configure mod_rewrite for Apache on CentOS 7

Sharon Christine
Updated on 21-Jan-2020 09:49:30

1K+ Views

In this article, we will learn about how to configure the mod_rewrite for Apache on CentOS 7, Apache is a very popular web server which allows us to customize and enable its capabilities and disable them. if we now needed more, the Apache administrator has permissions to change according to our needs of the web application.PrerequisitesWe needed a Linux machine installed with CentOS 7.We need a non-root user with sudo permissions.Installing the Apache Web ServerWe will install the Apache Web Server using yum as, Apache is available with the default packages with the management utility of the CentOS repository.The Apache ... Read More

How To Install Go (Golang) 1.7 on CentOS 7

Sharon Christine
Updated on 20-Jan-2020 13:13:17

197 Views

In this article, we will learn about how to install and configure Go (golang) which is developed by Google and its open source programming language. It’s a simple, efficient and reliable programming language for development with minimalist.PrerequisitesA CentOS machine installed.A non-root user with Sudo permission on the CentOS machine.Downloading and Installing the GOThe Go (golang) is not up to date on the CentOS repository, so we will manually download and install the package directly from the Go lang website and also make sure that we have the latest version which is compatible with our system architecture.Let’s move to the writable ... Read More

How To Use Systemctl On CentOS 7.x or RHEL Linux 7

karthikeya Boyini
Updated on 20-Jan-2020 12:56:10

3K+ Views

In this article we will learn how to use ‘systemctl’ command, ‘systemctl’ is a new command which is available in the new version of Linux distributions which is used to control the system and services, we will explore some possible ways to use the ‘systemctl’ command in Linux.Checking Services StatusWe can verify the status of the services using this command. Below is the command to check the service.# systemctl status httpd httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled) Active: active (running) since Thu 2016-06-02 06:48:58 EDT; 27s ago    Docs: man:httpd(8)    man:apachectl(8) Main ... Read More

How To Install and Configure MongoDB on CentOS 7

Sharon Christine
Updated on 20-Jan-2020 09:57:59

324 Views

In this article, we will learn how to install and configure the MongoDB on CentOS 7, MongoDB which is an open-source and free database (is a NoSQL database), means it is a document-oriented database, it stores the document which is similar structurally to JSON (in MongoDB it is called as BSON) with high availability, performance and auto scaling. Unlike the RDBMS, it doesn’t need any predefined database schema for adding the data to the database tables. We can alter the schema any point of time without disturbing the existing schema.PrerequisitesCentos 7 installed on the Linux Machine.A user with root user ... Read More

How to configure samba on centos

Lakshmi Srinivas
Updated on 18-Oct-2019 12:45:36

1K+ Views

This article will guide to configure samba server in CentOS 6.x with anonymous & secured samba folders. Samba is an Open Source/Free Software suite that provides seamless access to the file services to SMB/CIFS clients. Unlike other tools samba SMB/CIFS implementations will allow to share folders between Linux servers and Windows clients.InstallationInstall the samba package using this command# yum -y install samba # mkdir /sambaGive folder permission to the samba server# chmod -R 0755 /samba/anonymous/You need to modify the smb.conf file in /etc/samba/smb.confFor security reasons, I am taking the backup of the original file in /etc/samba/smb.conf# cp /etc/samba.smb.conf /etc/samba.smb.conf.oldFor removing ... Read More

Reset the root user password on rhel7 xcentos7 x

Lakshmi Srinivas
Updated on 18-Oct-2019 12:31:07

377 Views

This article will be helpful if we forget the root password on Centos 7.x or RHEL 7.x. In the previous version of RHEL, we can easily break the root password, as by default SE-Linux is enabled. Also note that, RHEL has brought many special new features.Resting the Root PasswordReboot/Restart the system.Press ‘e‘ at the grub boot menu to edit the default boot menu.This screen looks like this for RHEL 7.x –Press us thr down arrow key to find the line which contains similar to the ‘linux16 …… rhgb quit …..” and replace the ‘rhgb quiet’ words with ‘init=/bin/bash’. Once we ... Read More

Advertisements