Installing OpenVZ on CentOS Server preparation $ sudo su Update the list of packages: # yum update -y Install ntp to be able to synchronize…
Installing OpenVZ on CentOS Server preparation $ sudo su Update the list of packages: # yum update -y Install ntp to be able to synchronize…
To enable SNMP on CentOS yum install net-snmp-utils -y yum install net-snmp -y mv /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.org vi /etc/snmp/snmpd.conf Add this line to snmpd.conf file rocommunity…
Fix “device eth* does not seem to be present” after migrating Virtual Server Check network: $ ifconfig lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6…
If you try to end process in Windows and getting error “Access denied”, you should try one of these commands. Open cmd.exe as administrator wmic…
Clear the APT cache to reclaim disk space used by the downloaded packages. Inspect APT cache configuration Check out the current APT cache configuration using…
Here is a simple trick that I used to restart my python script after unhandled exception. #!/usr/bin/python from subprocess import Popen import sys filename =…
For directories only do this. find . -type d -exec chmod 775 {} \; For files only do this. find . -type f -exec chmod…
To add an alias to your domain, you can use the ServerAlias directive of apache server, in the file ‘/usr/local/apache/conf.d/vhosts.conf‘. If you have, for example:…
This tutorial shows how to install a basic CentOS 7 server with mirrored disks (RAID 1) 1. Requirements To install a CentOS server you will…
You can now get free https certificates (including wildcard certificates) from the non-profit certificate authority Let’s Encrypt! This is a website that will take you through…