CentOS

VSFTP chroot jail users – Limit FTP users access to home directory

Lets see how we can configure a secure FTP server on CentOS  RHEL 6 / 7 First, you need to install the vsftp package on your server yum install -y vsftpd Once installed, lets start editing the configuration file, vim /etc/vsftpd/vsftpd.conf Line #12 disable anonymous FTP access, with the below configuration change. anonymous_enable=NO Chroot / Jail FTP […]

VSFTP chroot jail users – Limit FTP users access to home directory Read More »

httpd.service: main process exited kill: cannot find process “”

Today apache was stuck with the below error and it was not starting at all. Sep 15 06:18:24 server.example.com systemd[1]: Starting The Apache HTTP Server… Sep 15 06:18:24 server.example.com httpd[15037]: [Thu Sep 15 06:18:24.591424 2016] [so:warn] [pid 15037] AH01574: module ruid2_module is alread…skipping Sep 15 06:18:33 server.example.com systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE Sep 15 06:18:33

httpd.service: main process exited kill: cannot find process “” Read More »

How do I assign a static hostname to a private Amazon EC2 instance running RHEL 7 or Centos 7?

As a Linux System admin, we always love to work on CentOS and RHEL. In my case i had to launch a CentOS7 instance from the AWS Marketplace again. When we set the hostname with hostnamectl and reboot, yes the Instance comes with the default hostname again. So i have thought of documenting it here, so

How do I assign a static hostname to a private Amazon EC2 instance running RHEL 7 or Centos 7? Read More »

Scroll to Top