Installing Transmission Daemon on CentOS 6 / RHEL 7

Transmission is a popular torrent client on modern Linux systems. It has both a GUI for desktop and a daemon that can run on headless servers such as an Amazon VPS. An advantage of running it on Amazon is that torrents will be downloaded faster since the VPS bandwidth is higher, then you can just directly download your file from your VPS. This helps offload the torrent traffic from your own internet connection.
Continue reading “Installing Transmission Daemon on CentOS 6 / RHEL 7”

Setup Apache with Virtual Hosts on RHEL

The Apache HTTP server is a software that runs in the background (daemon), which primary role is to server web pages and other services to applications that connect to it, such as client web browsers. It was first developed to work with Linux/Unix operating systems. Apache has been the world’s most popular web server since the boom of the World Wide Web and open source in the mid 90’s.

This tutorial will walk through setting up two virtual hosts – two websites – on your RHEL6/7 server.
Continue reading “Setup Apache with Virtual Hosts on RHEL”

Return MySQL query as PHP variable

If you have a PHP built webpage and you need to save the MySQL query as a PHP variable, then you can use the following function.
The MySQL query result should be a single entry and it will be saved on the variable when the function is called.

Continue reading “Return MySQL query as PHP variable”

Install Mongo and MBString PHP module on RedHat

The following steps walks through the installation of mongo and mbstring modules for php. This is helpful when you are required to install specific versions of the modules along with your PHP package.
Installation on CentOS of php-mbstring is straightforward as you just can get the package from the Epel-repo or on the Optional Packages repo.
Continue reading “Install Mongo and MBString PHP module on RedHat”