Run Apache from command line

Run Apache from command line

To start Apache from command line with out using a systemd service file or init script, run To stop Apache,

Download RPM package from yum repository

Download RPM package from yum repository

To download RPM file from yum repo, you need to install yum-utils package. Now you can use command Example This

Setup Tor Hidden Service on CentOS 7

Setup Tor Hidden Service on CentOS 7

Tor is provided by EPEL repository on CentOS 7. Install EPEL repo with command Install tor Edit tor config file

yum-config-manager

yum-config-manager

yum-config-manager allows you to manage yum repositories. To add a repo, run Disable a repository See yum

CentOS add IP Address

CentOS add IP Address

To add IP address on a Linux server, first find name of your network interface. This can be done with

Install vnstat on CentOS 7

Install vnstat on CentOS 7

To install vnstat on CentOS 7, run Now create database for your network interface card Restart vnstat deamon See vnstat

Transmission web client

Install Transmission on CentOS

transmission is a torrent client. This come with a web GUI, that make it easy to installed on a remote

Install MongoDB 4.0 on CentOS 7

Install MongoDB 4.0 on CentOS 7

To install MongoDB 4.0 (for other versions, see release note) on CentOS 7, create file Add content Install MongoDB with

List all files in an rpm package

List all files in an rpm package

To list all files in an rpm package run

Install vsftpd on CentOS

Install vsftpd on CentOS

To install vsftpd FTP server in CentOS, run Enable vsftpd to start on boot Edit configuration file You need to

SELinux

SELinux

To disable SELinux, edit Now you need to reboot. If you don’t want to reboot, disable it for current session

webmin

webmin create new admin user from command line

PAM authentication failed n a webmin server with no errors on CentOS 6 server. To fix this, i created a