simple bash script to check for missing security this is important to make sure your linux is updated here is the script:
yum cdrom repo
How to use the cdrom RedHat .iso I tested using Vmware ESX and RedHat 5.7 1 . Mount or insert the RedHat CD 2. Mount the cdrom mount /dev/cdrom /mnt/cdrom 3. Write the repo file vim /etc/yum.repos.d/rhel-cdrom.repo [rhel-cdrom] name=rhel-cdrom baseurl=file:/mnt/cdrom/Server […]
install yum centos 5
There is a simple way to install yum, even if you do not have the CD/DVD. CENTOS 5 64 bits. Just run rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/gmp-4.1.4-10.el5.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/readline-5.1-3.el5.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/python-2.4.3-43.el5.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/libxml2-2.6.26-2.1.2.8.el5_5.1.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/libxml2-python-2.6.26-2.1.2.8.el5_5.1.x86_64.rpm rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/expat-1.95.8-8.3.el5_5.3.x86_64.rpm […]
How to install NTOP on CentOS 5.5 64bits
Quick and easisest way: wget http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm rpm -Uvh rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm yum install ntop # Get yum ready yum clean all yum update # Install Development Tools yum groupinstall “Development Tools” # Install more ntop Dependencies yum install libpcap-devel libpcap # Install […]
yum to use DVD
Howto use yum CentOS DVD To install packages directly from the DVD one must do: # vi /etc/yum.repos.d/CentOS-Media.repo enabled=1 # mkdir /media/cdrom # mount /dev/cdrom /media/cdrom # yum –disablerepo=* –enablerepo=c5-media install pacakge-name
Yum hangs at "Setting up Package Sacks"
Problem: There is a bug on Fedora 11 when yum update hangs when trying to connect via proxy when it tries to access https sites It stucks at: “Setting up Package Sacks” Solution: Proxy should be preset to work there […]