Yum install dependencies for a local RPM
Got an RPM laying about you need to install but it has a bunch of dependencies? well let yum do the heavy lifting. yum –nogpgcheck localinstall SomeApp.noarch.rpm
Got an RPM laying about you need to install but it has a bunch of dependencies? well let yum do the heavy lifting. yum –nogpgcheck localinstall SomeApp.noarch.rpm
I just noticed I had 8 kernels installed on a machine. dont need but one…. so I rebooted to make sure I was using the newest, and removed all the old ones via these simple commands : Ubuntu / Debian / dpkg / Apt: dpkg -l ‘linux-*’ | sed ‘/^ii/!d;/'”$(uname -r | sed “s/\(.*\)-\([^0-9]\+\)/\1/”)”‘/d;s/^[^…
Now that I have to support a cpanel server again, I have to dabble in apache confs. Sometimes you want apache to show an index of the files in a directory for simplicity, for this we use Apache Module mod_autoindex. Which gives a bare basics index mode and a fancier index mode with better layout,…
I just installed crashplan on a new linux headless server and it refused to backup, I checked logs and found it was having issues with the noexec flag on my /tmp/ folder. so I created a new tmp folder and told it where to access it. In this article I give simple instructions on how…
We recently moved a hosting to a new data center and wanted to test speeds, so I needed fixed size files to see what kind of speeds people could achieve while downloading them. I decided on the arbitrary numbers of 100MB and 500MB. Heres how I generated fixes size files via bash. for 500 MB…
PHP PDO MySQL Needed to make a simple php script with mysql in it, so I decided to use PDO because… well peer pressure 😐 so heres a basic PHP PDO MYsql script. The idea is I have a table called table with a field called field in a database called somedatabase. We have 1000…