How to exclude yum kernel updates in CentOS

Published on Author JFLeave a comment

CentOS, unlike some other distros, will automatically update the kernel when you yum -y update. In other places you have googled you will find that people have tried adding the following to yum.conf: exclude=kernel* or exclude=kernel/* This seems to mysteriously work from some people, but not for others. Below is what worked for me. To… Continue reading How to exclude yum kernel updates in CentOS

Apache 2.4 Config for Drupal 7

Published on Author JFLeave a comment

Here are some configs to hopefully make your life easier setting up a brand new server. Specs: Ubuntu 16 Xenial LTS Apache 2.4.18 PHP 5.6.3 After default Apache install make sure to add these modules a2enmod rewrite a2enmod headers Host Conf file DocumentRoot “/var/www/sitename/siteroot” ServerName www.yoursitename.com <Directory “/var/www/sitename/siteroot”> allow from all [allows .htaccess to be used]… Continue reading Apache 2.4 Config for Drupal 7

How to install mysql 5.5 or 5.6 on ubuntu 16.04 xenial

Published on Author JF6 Comments

Installing MySQL 5.5/6 on Ubuntu 16.06 You might be hosting your site on something like Acquia and they have recently upgraded to Ubuntu 16 Xenial. However, you (as an awesome developer) still want to duplicate the environment as much as possible so you want to configure a local or staging server using Ubuntu, etc. Here’s… Continue reading How to install mysql 5.5 or 5.6 on ubuntu 16.04 xenial

Remove all traces of MySQL 5.x on Ubuntu

Published on Author JFLeave a comment

Originally from here, I cleaned it up a bit as an easy reference for me. This works on 14 and 16. sudo service mysql stop #or mysqld sudo apt-get remove –purge mysql-server mysql-client mysql-common sudo apt-get autoremove sudo apt-get autoclean sudo deluser mysql sudo rm -rf /var/lib/mysql sudo apt-get purge mysql-server-core-5.5 (replace with your version… Continue reading Remove all traces of MySQL 5.x on Ubuntu

Install Webmin on Ubuntu

Published on Author JFLeave a comment

Sometimes having a simple GUI interface to do tasks on an internal server can be really handy. For that purpose and for free I use Webmin. Super easy to install. Just copy/paste into SSH. sudo sh -c ‘echo “deb http://download.webmin.com/download/repository sarge contrib” > /etc/apt/sources.list.d/webmin.list’ wget -qO – http://www.webmin.com/jcameron-key.asc | sudo apt-key add – sudo apt-get update… Continue reading Install Webmin on Ubuntu

Ubuntu 14.04.5 LTS (Trusty Tahr) MySQL 5.6 PHP 5.6

Published on Author JFLeave a comment

Installing Ubuntu 14 with MySQL 5.5/5.6 and PHP 5.6 (with Apache 2.4) Things change quickly and you often find yourself on an older version of Ubuntu, but need non-standard installations. This build was completed on 4-27-2017 and should remain relatively stable in terms of instructions. This configuration also picks up after installing a clean copy of Ubuntu.… Continue reading Ubuntu 14.04.5 LTS (Trusty Tahr) MySQL 5.6 PHP 5.6

Raspberry Pi 3 Static IP WiFi Configuration

Published on Author JFLeave a comment

Here’s a quick how-to on assigning a static IP address to your Raspberry Pi 3.You’ve got your Raspberry Pi 3 (this is for Pi 3 only as far as I am concerned) connected to your local network via WiFi using IPv4. I did this by connecting a mouse, keyboard, and monitor, then using the Desktop to add… Continue reading Raspberry Pi 3 Static IP WiFi Configuration

Linux – use find to output directories recursively with permissions

Published on Author JFLeave a comment

Go to the directory (or just add the dir to the path) # sudo find ./ -type d -ls To output it to a file: # sudo find ./ -type d -ls > somefilename.txt Another good reference: http://www.tecmint.com/35-practical-examples-of-linux-find-command/ Of course, there are other ways: # sudo find / -type f -perm 0777 # sudo find /… Continue reading Linux – use find to output directories recursively with permissions