Tag: CentOS
-
My Debian/Raspberry Pi cheat sheet (translations from CentOS)
I have worked on Solaris and RedHat/CentOS (although Solaris was many years ago, so I should just admit that I no longer know where anything is). I find Debian to be a different dialect than RedHat. This post is going to serve as my translation cheat sheet. I use the bash complete string below with…
-
CentOS 6 in a VM – Console resolution
I can NEVER remember this, and every time I re-install CentOS in a VM I have to go searching. If you want the console size to be larger in a vm add vga=791 (for 1024×768) to the end of the kernel line in /etc/grub.conf. The VESA values (for linux) are here
-
How to add Gnome to a CentOS 6 minimal install
I have been using the minimal iso (CentOS-6.0-x86_64-minimal.iso) to install CentOS 6. I wanted to add a GUI to my vm, but I could not find easy documentation showing how to add a GUI, or Gnome in this case, to a CentOS 6 minimal install. I was not looking for the smallest X windows install,…
-
How to remove a machine from a RHN Satellite
I wanted to move a VM from a RHN Satellite back to the default Red Hat Network. I found these two files contained all the info: /etc/sysconfig/rhn/up2date /etc/sysconfig/rhn/systemid I just moved them aside and ran rhn_register to re-register the system. Then I ran “yum clean all” to make yum happy
-
Rebuild your the default CentOS yum.repo.d folder
On a dev machine, somehow, I managed to erase my yum.repo.d contents. I wanted to rebuild the repo files back to their default. First you need to figure out what version you are using: cat /etc/redhat-release Then visit the correct release at : http://vault.centos.org/ navigate to the correct os/x86_64/CentOS/ directory (could be os/x86_64/CentOS/ i386/) Download the following files to…
-
php53 included in CentOS 5.6
I wish I read release notes, it would make my life easier. In my previous post, I was worried about CentOS 5.x not having a new enough version of PHP to run the soon to be release WordPress 3.2. Well, RedHat’s 5.6 release notes clearly say: Version 5.3.3 of PHP is now available in Red…
-
CentOS, NTPD, VMware and sleeping.
I have a MacPro at home, and I am running VMware Fusion on it. At night, I sleep the machine to save electricity. I have a CentOS guest running and the time is always out of sync. After the VM is restored from sleep, the NTP service is no longer running and my time really…
-
CentOS Kickstart with local CDROM media and a “http config file”
At our NYC office, I have a PXE/Kickstart system setup. All I need to do is boot to PXE, and I can install CentOS with very little intervention. I have to choose Server vs Desktop (each choice points to a different http hosted kickstart cfg file.) and I have to setup my partitons how I…
-
WordPress 3.2 requirements and CentOS 5.6
Current requirements PHP version 4.3 or greater MySQL version 4.1.2 or greater WordPress 3.2 requirements: PHP version 5.2.4 or greater MySQL version 5.0 or greater. Default PHP on Cent0S 5.6 = PHP 5.1.6. CRAP Updated: See this post on how to install an updated PHP on CentOS 5.6
-
Script to compare RPMs on two different CentOS servers
I wanted to make sure that the same RPMs were installed on several servers. I wasn’t worried about versions of RPMs because everything should be kept up to date via yum. So I sat down and wrote the script below. It has been on my ToDo list for quite a while! This script connects to…
