Error: Failed to connect to ‘127.0.0.1:7199’: Connection refused (Cassandra) [SOLVED]

Pre-Flight Check
  • These instructions are intended specifically for solving the error: Failed to connect to ‘127.0.0.1:7199’: Connection refused.
  • I’ll be working from both Liquid Web Core Managed CentOS 6 and CentOS 7 servers, and I’ll be logged in as root.

Continue reading “Error: Failed to connect to ‘127.0.0.1:7199’: Connection refused (Cassandra) [SOLVED]”

chkconfig Command Examples for Red Hat and CentOS

chkconfig is a command for checking and updating runlevel information for system services. For a primer on runlevels, check out our tutorial: Linux Runlevels Explained.

Pre-Flight Check
  • These instructions are intended specifically for checking and updating chkconfig.
  • I’ll be working from both a Liquid Web Core Managed CentOS 7 server, and I’ll be logged in as root.

Continue reading “chkconfig Command Examples for Red Hat and CentOS”

How to Install lsyncd on CentOS 6

lsyncd is an rsync-based tool that monitors specified directories (including subdirectories) for updates and modifications, then syncs those changes to a specified destination.

Pre-Flight Check
  • These instructions are intended specifically for installing the lsyncd on CentOS 6.
  • I’ll be working from a Liquid Web Core Managed CentOS 6 server, and I’ll be logged in as root.

Continue reading “How to Install lsyncd on CentOS 6”

How to Install ProFTPD on CentOS 6

FTP (File Transfer Protocol) is probably the most popular method of uploading files to a server; a wide array of FTP servers, such as ProFTPD, and clients exist for every platform.

Pre-Flight Check
  • These instructions are intended specifically for installing the ProFTPD on CentOS 6.
  • I’ll be working from a Liquid Web Core Managed CentOS 6.5 server, and I’ll be logged in as root.

Continue reading “How to Install ProFTPD on CentOS 6”

How to Install and Connect to PostgreSQL on CentOS 6

PostgreSQL (pronounced ‘post-gres-Q-L’) is a free, open-source object-relational database management system (object-RDBMS), similar to MySQL, and is standards-compliant and extensible. It is commonly used as a back-end for web and mobile applications. PostgreSQL, or ‘Postgres’ as it is nicknamed, adopts the ANSI/ISO SQL standards together, with the revisions.

Pre-Flight Check
  • These instructions are intended specifically for installing PostgreSQL on CentOS 6.
  • I’ll be working from a Liquid Web Core Managed CentOS 6.5 server, and I’ll be logged in as root.

Continue reading “How to Install and Connect to PostgreSQL on CentOS 6”

How to Install and Configure phpMyAdmin on CentOS 6

phpMyAdmin is an open source tool used for the administration of MySQL. In addition to offering the capability to perform administration tasks such as creating, editing, or deleting databases, and managing users and permissions, phpMyAdmin provides a graphical user interface to do all of these tasks and more.

Pre-Flight Check
  • These instructions are intended specifically for installing phpMyAdmin on CentOS 6.
  • I’ll be working from a Liquid Web Core Managed CentOS 6.5 server, and I’ll be logged in as root.
  • A LAMP, Linux, Apache, MySQL and PHP, must be installed on your server. If you’re working from a Liquid Web Core Managed CentOS 6.5 server as I am, then the LAMP stack is already installed!

Continue reading “How to Install and Configure phpMyAdmin on CentOS 6”

How to Create a Self-Signed SSL Certificate on CentOS

An SSL certificate is an electronic ‘document’ that is used to bind together a public security key and a website’s identity information (such as name, location, etc.) by means of a digital signature. The ‘document’ is issued by a certificate provider such as GlobalSign, Verisign, GoDaddy, Comodo, Thawte, and others. For more information, visit the article: What is an SSL Certificate?

In this article we’re going to be covering how to create a self-signed SSL certificate and assign it to a domain in Apache. Self-signed SSL certificates add security to a domain for testing purposes, but are not verifiable by a third-party certificate provider. Thus, they can result in web browser warnings.

Pre-Flight Check
  • These instructions are intended for creating a self-signed SSL certificate and assigning it to a domain in Apache.
  • I’ll be working from a Liquid Web Core Managed CentOS 6.5 server, and I’ll be logged in as root.

Continue reading “How to Create a Self-Signed SSL Certificate on CentOS”

How to List Which Apache 2 Modules are Enabled on CentOS 6

The Apache web server is one of the most popular and powerful web servers in the world due to its ease of administration and flexibility. This flexibility comes Apache’s modular design, and allows for such features as: URL rewriting for SSL encryption natively, and Outlook Anywhere passthrough support in reverse proxy setups. Modularity allows Administrators to modify Apache to meet their needs; adding modules that are needed and removing ones that are not.

Pre-Flight Check
  • These instructions are intended specifically for viewing which Apache modules are enabled on CentOS.
  • I’ll be working from a Liquid Web Core Managed CentOS 6.5 server with Apache 2 installed, and I’ll be logged in as root.

Continue reading “How to List Which Apache 2 Modules are Enabled on CentOS 6”

How to Install and Configure vsftpd on CentOS 6

FTP (File Transfer Protocol) is probably the most popular method of uploading files to a server; a wide array of FTP servers, such as vsftpd, and clients exist for every platform.

Pre-Flight Check
  • These instructions are intended specifically for installing the vsfptd on CentOS 6.
  • I’ll be working from a Liquid Web Self Managed CentOS 6.5 server, and I’ll be logged in as root.

Continue reading “How to Install and Configure vsftpd on CentOS 6”

How to Install Logwatch on CentOS 6

Logwatch is a Perl-based log management tool for analyzing, summarizing, and reporting on a server’s log files. It is most often used to send a short digest of server’s log activity to a system administrator.

What are log files? Logs are application-generated files useful for tracking down and understanding what has happened in the past.

Pre-Flight Check
  • These instructions are intended specifically for installing the Logwatch on CentOS 6.
  • I’ll be working from a Liquid Web Core Managed CentOS 6.5 server, and I’ll be logged in as root.

Continue reading “How to Install Logwatch on CentOS 6”