I just did a fresh install of CentOS 6.10 today and needed to install PHP. It had been a while, so I needed a refresher. Note: PHP 5.6 is pretty much End Of Life, so you should be installing PHP 7.2, or higher at this point in time. That said, sometimes you have to support… Continue reading How to install PHP 5.6 on CentOS 6.10
You’ve installed Vagrant and run vagrant up and then vagrant ssh successfully. You then start VirtualBox Manager and it shows that it is powered off: In order to see the actual status, press SHIFT then right-click on the icon for Virtual Box, then click Run as Administrator You will see that it reports the VM… Continue reading Vagrant status is “running” but VirtualBox shows “Powered Off” Windows 10
This is what I did on Ubuntu 16.04.4 LTS I checked my version lsb_release -a Then checked the drive Filesystem Size Used Avail Use% Mounted on udev 978M 0 978M 0% /dev tmpfs 200M 3.1M 197M 2% /run /dev/mapper/hv–serbername–vg-root 116G 27G 84G 24% / tmpfs 996M 0 996M 0% /dev/shm tmpfs 5.0M 0 5.0M 0%… Continue reading How to clean up Ubuntu boot partition when its full
When using BASH on WSL, by default it will constantly beep at you while using the TAB key, etc. Here’s how to remove it: nano ~/.inputrc Scroll down and remove the # comment from: #set bell-style none Close and re-open Bash. Vi also has a bell sound (I prefer Nano for whatever reason). In that… Continue reading Remove annoying beep sound on Windows Subsystem for Linux
There are a few tips and tricks I found for this installation. Here are the details. Check Windows Version First, here’s the entire Microsoft section on WSL. I highly recommend reading through it. There are various differences between the latest Windows 10 updates, so this might not work for your version! I’m on Windows 10… Continue reading How to install Apache and PHP 7.2 on Windows Subsystem for Linux
Windows Subsystem for Linux has started to make Windows into an actual development platform! It’s not there yet, but it is getting there. Although I really appreciate how *nix and Macs have created the majority of dev workflows, I am excited to be able to use an upgradable $500 Windows 10 laptop instead of a… Continue reading How to reset Ubuntu login Microsoft WSL
This is about resetting the MySQL 5.7 root password in Ubuntu 16.04 LTS You probably tried something like this: sudo service mysql stop mysqld_safe –skip-grant-tables & And then got something like this (stangely, exists is misspelled in the output):  5599 2018-03-02T21:36:41.292413Z mysqld_safe Logging to syslog. 2018-03-02T21:36:41.294798Z mysqld_safe Logging to ‘/var/log/mysql/error.log’. 2018-03-02T21:36:41.296902Z mysqld_safe Directory ‘/var/run/mysqld’… Continue reading mysqld_safe Directory ‘/var/run/mysqld’ for UNIX socket file don’t exists.
Update 2-2018: not so fast. Wait another six months and try again. PuTTY is still the most useful for now 🙁 The Dev Ops software development model left Microsoft Windows behind some time ago, but Microsoft is fighting back with a native Linux sub-system in Windows 10! Here’s how to install it and mercifully use,… Continue reading SSH on Windows 10 – Goodbye PuTTy!
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
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