SSL secured websites or HTTPS has now become a must to have on website, especially those handling sensitive client information. Having a HTTPS enabled website means that a intruder can’t intrude to communication between users and website. HTTPS not only secures communication but is now a requirement for many new features like http2, which requires you to have https enabled on your server. Having a HTTPS enabled website also improves your Google SEO (Search Engine Optimization) ranking.
In this tutorial, we will discuss two methods on how we can redirect http traffic to https on Apache web servers.
Continue reading “Redirect HTTP to HTTPS on Apache”
We might have come across a situation where we might want to rename user in Linux system, for whatever reasons. We can easily rename user in Linux and also we can rename the home directory or its UID as well.
In this short tutorial, we will be discussing these things only.
Continue reading “Properly rename user accounts in Linux”
Load balancers are used to distribute the requests/queries to multiple server instances. Most web infrastructures have multiple front-end servers that share the load of the application. Although there are multiple server instances, the end-user only see them a single node. In this tutorial, I’ll walk you on how to configure an Elastic Load Balancer on Amazon, add your web server nodes and point your domain name to the EC2 load balancer.
Continue reading “Configuring Elastic Load Balancer on Amazon EC2”
Multiple front-end web server setups are almost always in use these days. Instead of just one server serving web traffic, you create two or more servers which will share the load evenly to serve requests from users. These servers usually connect to a backend database server. On this tutorial, we’ll walk through the steps on adding another web-front end server by cloning you current web server node.
Continue reading “Cloning you Instances on Amazon EC2”
Amazon VPS instances, by default only have a single disk for the whole filesystem of the server. Unless you chose to add an additional disk when you provision the server, adding disk space to your VPS can be tricky. Here’s a run down on how to add more storage to your server on amazon by mounting a new drive.
In this tutorial, I’ve mounted the new drive to /var/lib/mysql since I need to increase the disk space used by the database. This tutorial is still applicable even if you want to increase a different folder. The process will be the same.
Continue reading “Adding new disk on Amazon EC2 instance Centos/RHEL 6”
If you are a programmer or work with programmers, managing code repositories is one the task you’ll likely to encounter. Git has become widely popular for storing/managing code repositories.
Gitblit GO is an open-source, pure Java stack for managing, viewing, and serving Git repositories. It’s designed primarily as a tool for workgroups who want to host centralized repositories. Gitblit GO is an integrated, single-stack solution based on Jetty.
In this fast tutorial, you’ll be able to install GitBlit Go and create you own git repositories.
Continue reading “Install Gitblit Go on CentOS/RHEL 6/7”
Some VPS on hosting providers like Amazon Web Services do not have swap by default. Or if your server was configured with small swap and now you want to increase it. Below are instructions on how to increase swap area.
Continue reading “Create a swap file in Linux”
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”