Category Articles RSS Feed
How To Use WP-CLI to Manage your WordPress Site from the Command Line
Viewed 9830 times since Sat, Jan 4, 2014
WordPress is an extremely popular blogging and Content Management System (CMS) used by millions of websites. It can be used to easily organize, manage, and create content on the web and handle interactions with visitors and contributors. Although... Read More
Intermediate Sed: Manipulating Streams of Text in a Linux Environment
Viewed 9619 times since Fri, Dec 27, 2013
IntroductionThe sed stream editor is a powerful editing tool that can make sweeping changes with very little input. In our previous article on sed, we discussed the basics of using sed to edit text. This article will continue our introduction by... Read More
How To Set Up an NFS Mount on CentOS 6
Viewed 8516 times since Tue, Dec 31, 2013
NFS mounts work to share a directory between several servers. This has the advantage of saving disk space, as the home directory is only kept on one server, and others can connect to it over the network. When setting up mounts, NFS is most effective... Read More
How To Create Nagios Plugins With PHP On CentOS 6
Viewed 6873 times since Sat, Jan 4, 2014
PHP is a popular programming language that allows you to quickly create scripts and install additional libraries. This time, we will expand on this idea and create Nagios plugins using PHP. Step 1 - Install RPMForge Repository and NRPE on client ... Read More
How To Use Top, Netstat, Du, & Other Tools to Monitor Server Resources
Viewed 6523 times since Sat, Jan 4, 2014
How Do I Monitor Process Utilization? top One of the most common tools for checking the resource utilization of processes is "top". Top provides a simple, real-time table of your processes, with the largest consumers on top: top top - 14:45:52 up... Read More
How To Create Nagios Plugins With Python On Ubuntu 12.10
Viewed 6519 times since Sat, Jan 4, 2014
This time, we will expand on this idea and create Nagios plugins using Python. Step 1 - Install NRPE apt-get install -y python nagios-nrpe-server useradd nrpe && update-rc.d nagios-nrpe-server defaults Step 2 - Create your Python Script It... Read More
How To Install Linux, Apache, MySQL, PHP (LAMP) stack On CentOS 6
Viewed 6295 times since Thu, Dec 26, 2013
LAMP stack is a group of open source software used to get web servers up and running. The acronym stands for Linux, Apache, MySQL, and PHP. Since the server is already running CentOS, the linux part is taken care of. Here is how to install the rest. ... Read More
How To Copy Files With Rsync Over SSH
Viewed 6283 times since Fri, Dec 27, 2013
Step 1 - Setup public SSH keysOn our origin server, we will generate public SSH keys with no password: ssh-keygen -f ~/.ssh/id_rsa -q -P "" cat ~/.ssh/id_rsa.pubThis is our public SSH key that can be placed on other hosts to give us access: ssh-rsa... Read More
The Basics of Using the Sed Stream Editor to Manipulate Text in Linux
Viewed 6252 times since Fri, Dec 27, 2013
IntroductionThe sed stream editor is a text editor that performs editing operations on information coming from standard input or a file. Sed edits line-by-line and in a non-interactive way. This means that you make all of the editing decisions as... Read More
An Introduction to Linux Basics
Viewed 6237 times since Fri, Dec 27, 2013
About LinuxLinux is a free, open-source operating system. All of ASPHostPortal's offered operating systems are Linux distributions. Linux has been under active development since 1991. It has developed to become versatile and used all over the... Read More
How To Use SFTP to Securely Transfer Files with a Remote Server
Viewed 5778 times since Thu, Dec 26, 2013
FTP, or "File Transfer Protocol" is a popular method of transferring files between two remote systems. SFTP, which stands for SSH File Transfer Protocol, or Secure File Transfer Protocol, is a separate protocol packaged with SSH that works in a... Read More
How To Configure Secure Updates and Installations in WordPress on Ubuntu
Viewed 4970 times since Sat, Jan 4, 2014
WordPress is the most popular CMS (content management system) used on the internet today. While many people use it because it is powerful and simple, sometimes people make a trade-off for convenience at the expense of security. This is the case in... Read More
How To Change Themes and Adjust Settings in Ghost
Viewed 3970 times since Thu, Dec 26, 2013
Ghost is a great new blogging platform that focuses on content creation and presentation over the superfluous bells and whistles that dominate other platforms. It provides a clean, easy-to-use interface and can produce very polished results. How To... Read More
How To Use the Pyramid Framework To Build Your Python Web App on Ubuntu
Viewed 3861 times since Sat, Jan 4, 2014
Web frameworks provide a quick and easy way to jump start a web application. Almost every web framework adheres to the MVC software pattern. MVC stands for model, view, and controller. It is a way of distinguishing and separating the different... Read More
How To Create Nagios Plugins With Python On CentOS 6
Viewed 3313 times since Sat, Jan 4, 2014
This time, we will expand on this idea and create Nagios plugins using Python. Step 1 - Install RPMForge Repository and NRPE rpm -ivh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm yum -y install python nagios... Read More
How To Install Nagios On CentOS 6
Viewed 3195 times since Sat, Jan 4, 2014
Step 1 - Install Packages on Monitoring Server rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm yum -y install nagios nagios-plugins-all nagios... Read More
How To Create Nagios Plugins With Bash On CentOS 6
Viewed 3191 times since Sat, Jan 4, 2014
Bash is a popular command processor available on Linux by default. This time, we will expand on this idea and create Nagios plugins using Bash. Step 1 - Install RPMForge Repository and NRPE on client rpm -ivh http://pkgs.repoforge.org/rpmforge... Read More
How To Set Up SSH Keys
Viewed 3189 times since Thu, Dec 26, 2013
SSH keys provide a more secure way of logging into a virtual private server with SSH than using a password alone. While a password can eventually be cracked with a brute force attack, SSH keys are nearly impossible to decipher by brute force alone.... Read More
How To Use a Simple Bash Script To Restart Server Programs
Viewed 3016 times since Fri, Dec 27, 2013
To ensure that the most imperative programs remain online as much as possible (even after a server crash or reboot), one can create a simple bash script to check if the program is running, and if it is not, to launch it. By using cron to schedule... Read More
How To Setup Your Own VPN With PPTP
Viewed 2781 times since Thu, Jan 2, 2014
One of the commonly asked questions from our users is how to add another IP address to their server. You can assign your own private IP address to your control panel by creating a VPN tunnel. Whether you want to build your own Virtual Private Network... Read More
How To Set Up ProFTPD on CentOS 6
Viewed 2778 times since Thu, Jan 2, 2014
ProFTPD is a popular ftp server. Because it was written as a powerful and configurable program, it is not necessarily the lightest ftp server available. Step One—Install ProFTPD Before we do anything else, we need to download the EPEL... Read More
How To Create Nagios Plugins With Ruby On CentOS 6
Viewed 2629 times since Sat, Jan 4, 2014
Step 1 - Install RPMForge Repository and NRPE on client rpm -ivh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm yum -y install ruby nagios-nrpe useradd nrpe && chkconfig nrpe on Step 2 - Create your... Read More
How To Use ps, kill, and nice to Manage Processes in Linux
Viewed 2515 times since Thu, Dec 26, 2013
A Linux server, like any other computer you may be familiar with, runs applications. To the computer, these are considered "processes". While Linux will handle the low-level, behind-the-scenes management in a process's life-cycle, you will need... Read More
How To Install Nagios On Ubuntu 12.10
Viewed 2432 times since Sat, Jan 4, 2014
Step 1 - Spin up Ubuntu 12.10 x64 and add SWAP memory To add 2GB of SWAP memory: dd if=/dev/zero of=/swap bs=1024 count=2097152 mkswap /swap && chown root. /swap && chmod 0600 /swap && swapon /swap echo /swap swap swap... Read More
How To Install Z Shell (zsh) on a Cloud Server
Viewed 2380 times since Fri, Dec 27, 2013
IntroductionZ shell, or zsh, is a shell for Linux and other Unix-like operating systems. It is built to be a drop-in replacement for the traditional bash shell. The zsh offers modern auto-completion and auto-correction, powerful scripting... Read More
How To Protect SSH with fail2ban on CentOS 6
Viewed 2355 times since Tue, Dec 31, 2013
Servers do not exist in isolation, and those servers with only the most basic SSH configuration can be vulnerable to brute force attacks. fail2ban provides a way to automatically protect the server from malicious signs. The program works by scanning... Read More
How To Launch Your Site on a New Ubuntu 12.04 Server with LAMP, SFTP, and DNS
Viewed 2337 times since Thu, Dec 26, 2013
This article will take you from a fresh, new server to an online, working site. The following article will combine the relevant articles into a cohesive step by step to guide to set up your personal site on an Ubuntu server. Basic Server Setup... Read More
Installing and Using the Vim Text Editor on a Cloud Server
Viewed 2321 times since Fri, Dec 27, 2013
IntroductionOne of the most powerful text editors accessible from the command line is the vim editor. Built on the foundation of "vi", an editor dating back to 1976, vim adds additional functionality and power, while maintaining the editing style... Read More
How To Create Nagios Plugins With Perl On CentOS 6
Viewed 2292 times since Sat, Jan 4, 2014
Perl is a popular programming language that allows you to quickly create scripts and install additional libraries. This time, we will expand on this idea and create Nagios plugins using Perl. Step 1 - Install RPMForge Repository and NRPE on client ... Read More
How to Add a Swap File on an Arch Linux Cloud Server
Viewed 2265 times since Fri, Dec 27, 2013
IntroductionAn easy way to increase the responsiveness of your cloud server is to add some swap space. Swap is an area of the hard drive that can be used to temporarily hold information that is usually stored in RAM. The result is that more RAM... Read More
What is FTP and How Is It Used?
Viewed 2126 times since Fri, Dec 27, 2013
What is FTP?FTP is a way to transfer files between hosts over the internet. It is especially helpful as a way to upload or download files to or from a site quickly. FTP clients allow connections from both anonymous and registered users. When the... Read More
How To Create Nagios Plugins With PHP On Ubuntu 12.10
Viewed 2121 times since Sat, Jan 4, 2014
Step 1 - Install NRPE on client apt-get install -y php5 nagios-nrpe-server useradd nrpe && update-rc.d nagios-nrpe-server defaults Step 2 - Create your PHP Script It would be a good idea to keep your plugins in same directory as other... Read More
How To Create Nagios Plugins With Perl On Ubuntu 12.10
Viewed 2106 times since Sat, Jan 4, 2014
Step 1 - Install NRPE on client apt-get install -y perl nagios-nrpe-server useradd nrpe && update-rc.d nagios-nrpe-server defaults Step 2 - Create your Perl Script It would be a good idea to keep your plugins in same directory as other... Read More
How To Set Up vsftpd on Ubuntu 12.04
Viewed 2061 times since Thu, Dec 26, 2013
The first two letters of vsftpd stand for "very secure" and the program was built to have strongest protection against possible FTP vulnerabilities. Step One—Install vsftpd You can quickly install vsftpd on your virtual private server in the... Read More
How To Set Up vsftpd on CentOS 6
Viewed 1954 times since Thu, Dec 26, 2013
The first two letters of vsftpd stand for "very secure" and the program was built to have strongest protection against possible FTP vulnerabilities. Step One—Install vsftpdYou can quickly install vsftpd on your virtual private server in the... Read More
Initial Server Setup with CentOS 6
Viewed 1952 times since Thu, Dec 26, 2013
When you first begin to access your fresh new virtual private server, there are a few early steps you should take to make it more secure. Some of the first tasks can include setting up a new user, providing them with the proper privileges, and... Read More
How To Create Nagios Plugins With Bash On Ubuntu 12.10
Viewed 1911 times since Sat, Jan 4, 2014
This time, we will expand on this idea and create Nagios plugins using Bash. Step 1 - Install NRPE on client apt-get install -y nagios-nrpe-server useradd nrpe && update-rc.d nagios-nrpe-server defaults Step 2 - Create your Bash... Read More