Setting up a Redis server is very simple to do. Simply install the software, make a few configuration changes, and startup the service. In the example below, we will show how to install Redis on a single server.
Setting Up a Riak Cluster on Ubuntu 14.04 LTS
Setting up a Riak cluster is very simple to do. Simply install the software, make a few configuration changes, and startup the service. In the example below, we will show how to create a very small development cluster using only (5) servers.
Setting Up a Cassandra Cluster on Ubuntu 14.04 LTS
Setting up a Cassandra cluster is very simple to do. Simply install the software, make a few configuration changes, and startup the service. In the example below, we will show how to create a very small development cluster using only (3) servers.
Setting Up a MongoDB 3.0 Cluster on Ubuntu 14.04 LTS
Setting up a MongoDB cluster can be a little difficult for the first time. A MongoDB cluster consists of three types of servers: Config Servers, Query Routers, and Shards. In a production environment where high-availability is a must, you will need at least (3) config servers, (2) or more Shards, and (1) or more Query Routers.
Enabling SSH KeepAlive
You can configure the ssh client to automatically send a protocol no-op code code every so many seconds so that the server won’t disconnect you. This is setting is sometimes referred to as Keep-Alive.
HowTo Boot into Single User Mode – Ubuntu 12.04
Follow these steps to boot in Single User mode in Ubuntu 12.04:
Step 1: Reboot the server and press “shift” key continuously to get the grub loader screen.
Step 2: In the Grub2 menu, select the first line with Linux x.x.x.x-generic.
GHOST Vulnerability (glibc)
On January 27, 2015, the GHOST vulnerability was announced by Qualys. This vulnerability allows remote attackers to take complete control of a system by exploiting a buffer overflow bug in a glibc function GetHOST. This vulnerability should be considered serious and all affected servers should be patched immediately.
Create a FTPS Server with vsftpd
Install vsftpd
The vsftpd server is available in CentOS’s default repositories. We can install it by typing:
sudo yum install vsftpd
The vsftpd server is now installed on our VPS. We can configure some connections options in the next section.
Generating a Certificate Signing Request (CSR)
To generate your CSR, you will need to log in to your server and use the OpenSSL software to generate a CSR and private key.
- Log in to your server, and enter the following command:
openssl req -nodes -newkey rsa:2048 -sha1 -keyout myserver.key -out server.csr
How to set up SSH keys authentication between hosts on Ubuntu
SSH keys allow authentication between two hosts without the need of a password. SSH key authentication uses two keys, a private key and a public key.
To generate the keys, from a terminal prompt enter: