A trunk is a single physical connection that can carry multiple VLANs. Each frame that crosses the trunk has a VLAN identifier attached to it,…
Linux cheat sheet
A trunk is a single physical connection that can carry multiple VLANs. Each frame that crosses the trunk has a VLAN identifier attached to it,…
Action Scripts There might be some situations when you need to perform additional actions when a container is started/stopped. You need OpenVZ action scripts to…
CentOS HDD S.M.A.R.T. shell script Create path exactly this path /var/prtg/scripts Install smartmontools yum install smartmontools Start the service service smartd start chkconfig smartd on…
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…
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…
For directories only do this. For files only do this. And finally, this command will add execute permissions to directories.
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…