Well, as it turns out, your PHP installation must be configured to support SSH before this option will show up in your WordPress dashboard. In this article I’ll explain how to set this up using just a few simple commands or a plugin.
Once upon a time I was a very avid desktop user of Ubuntu Linux. As a software developer, I would usually need the standard build tools installed on my machine.
Installing build tools in Debian/Ubuntu
In Debian/Ubuntu, you can install the typical build tools by installing the package build-essentials, which is just a pseudo-package that downloads all the popular development packages:
# apt-get install build-essentials
Installing build tools in CentOS
Since I prefer CentOS as my server platform, I also occasionally need to install packages using yum.
To install the common build tools using yum in CentOS you’ll want to install the group package “Development Tools”, which is similar to build-essentials in Debian/Ubuntu flavors of linux. You’ll probably also want to install kernel-devel and kernel-headers if they’re not already installed:
# yum groupinstall "Development Tools" # yum install kernel-devel kernel-headers
This should give you a copy of make, gcc, gdb, and all those other tools you were looking for.
Recently I’ve been doing some PHP web development and I decided to check out the Yii Framework. They have a great 4-part screencast tutorial from Jeffery Winesett that gets you up and running fast and Yii looks really cool!
During the installation Yii uses a ‘Requirement Checker’ webpage that verifies you have the correct PHP version and the necessary plugins. If you’re like me, you like to see all your boxes turn green just to be sure you can get the full functionality out of your apps and frameworks instead of having to debug stuff like this later and going down a rabbit hole.
Install All The Packages
To make the best use of Yii (and several other things), you’ll need these packages: GD, mcrypt, MySQL, PDO, PEAR, APC, Memcache, PgSQL, SOAP, and XML. To get proper packages for these extensions on CentOS 5, I recommend adding the IUS Community Repository. Here’s a one-liner you can run with sudo or as root after you’ve set up that repo:
yum install php53u php53u-cli php53u-common php53u-devel php53u-gd php53u-mcrypt php53u-mysql php53u-pdo \ php53u-pear php53u-pecl-apc.x86_64 php53u-pecl-memcache.x86_64 php53u-pgsql.x86_64 php53u-soap.x86_64 php53u-xml.x86_64
Have fun with Yii!
When installing packages in RHEL, CentOS, or Fedora, chances are you use yum, the default package manager. But what if you want to download a package not provided in a repository? Or what if you just want to upgrade a package to the latest version and your repositories haven’t upgraded it yet?
Most users know that to install a package from an RPM, you simply use the rpm command. But a bit of perusing on the internet will show that people use various flags when installing packages:
- rpm -i
- rpm -ivh
- rpm -U
- rpm -Uvh
In this post we’ll examine the difference and whether or not you should care.
Plenty of linux administrators are familiar with the top command, which displays memory usage, load average, running processes and other goodies. But top’s interface isn’t exactly pretty and it’s a very simple application. What if you could add colors to top to improve readability and allow the ability to interactively navigate processes. That’s what htop is for!
Using this quick guide, you’ll learn how to install the latest version of htop from RepoForge’s RPM repository. In this guide you’ll use:
- wget to download the RPM packages
- rpm to install packages
- rm to remove the downloaded files once we’re done