Tag: CentOS

CentOS 6.3: Using WGET through a proxy server

To use wget through a proxy server, add the following lines to ‘<em>/etc/wgetrc</em>’ <pre>http_proxy = http://proxyserver:8080/ ftp_proxy = http://proxyserver:8080/</pre> Where proxyserver is the name/IP address of the proxy server and 8080 is the proxy port. If the server requires authentication modify the lines to read: <pre>http_proxy = http://username:password@proxyserver:8080/ ftp_proxy = http://username:password@proxyserver:8080/</pre>

Enabling Networking on CentOS 6.3

This article will describe how to enable networking and configure the network interface card on CentOS Edit or create file “/etc/sysconfig/network-scripts/ifcfg-eth0” with the following: DEVICE=eth0 BOOTPROTO=static ONBOOT=yes NETWORK= NETMASK= IPADDR= The ‘NETWORK’ line is the network address, not the IP address of the server. Create symbolic links to the newly created ifcfg-eth0 file ln /etc/sysconfig/network-scripts/ifcfg-eth0…

CentOS 6.3: Using YUM through a proxy server

To use YUM through a proxy server edit the file “/etc/yum.conf” to include: proxy=http://proxyserver:8080/ Where ‘proxyserver’ is the proxy server and ‘8080’ is the port used to connect to the proxy server. If the proxy server requires authentication, credentials can be supplied. proxy=http://username:password@proxyserver:8080

Installing Cacti on Centos 6.3

Cacti requires the following packages to be installed: MySQL: A Database server to store cacti information. Apache: A Web server to display network graphs created by PHP and RRDTool. PHP: A script module to create graphs using RRDTool. PHP-SNMP: A PHP extension for SNMP to access data. NET-SNMP: A SNMP (Simple Network Management Protocol) is used to manage…

Installing Hyper-V Integration Client on CentOS

Download the Linux Integration Services ISO for Hyper-V from Microsoft’s website. Copy the file to the Hyper-V server and use the ISO as the virtual CD/DVD drive. On the CentOS server, run the following commands: Mount the CDROM drive and copy the files to a local directory mkdir -p /mnt/cdrom mount /dev/cdrom /mnt/cdrom cp -rp…