Most Linux systems have a default bash prompt in one color that tells you your user name, the name of the machine you’re working on, and some indication of your current working directory. This is all useful information, but you can do much more with the prompt. All sorts of information can be displayed. You can even change the colors either to make it look interesting, or to make certain information stand out. You might also want to customize your bash prompt if you have difficulties using the terminal because the prompt isn’t visible enough.
Linux & Servers
What is life without Linux? Browse this category to explore content I have created relating to Linux and Servers. This section is pretty broad. It promises content on Ubuntu, cloud VMs, server automation, bash scripting, PowerShell, system/website administration, AWS, etc. Watch this space for my existing and future content on the aforementioned technologies.
So you want to access your Ubuntu Server like you would a regular desktop – with a graphical front end instead of just a terminal. This tutorial explains how you can do this using Virtual Network Computing (VNC). Since I’m a big fan of Amazon Web Services (AWS), I will be explaining how to set up VNC for Ubuntu on Amazon EC2. However, the general procedure described here will work for any normal Ubuntu server setup.
SSH provides a significantly more secure way of updating WordPress files and plugins or performing new plugin installations. Here, I explain how to enable WordPress to use SSH for all updates and installations.
A general overview of SSH2 for PHP can be found at the official Secure Shell2 reference. If you look at the requirements section, you will see that two other libraries are required for it to work. They are OpenSSL and libssh2. I explain here how to install both of these first. And then we proceed to actually install ssh2 for PHP shell connections.
I like to automate things! There’s this great feeling you get when you set things up to run without manual intervention. It just makes you feel “powerful”. I have scripts and code pieces to backup stuff like Microsoft SQL Server Databases (see my post on Backing up SQL Server to Dropbox), MySQL Databases, entire cloud machines, entire websites, and/or selected folder(s) within a directory.