Tag : CentOS

Blog

How to Add a User and Grant Root Privileges on CentOS 6.5

Viking Coin
Pre-Flight Check These instructions are intended specifically for adding a user on CentOS 6.5. I’ll be working from a sxi.io Web Core Managed CentOS 6.5 server, and I’ll be logged in as root. Step 1: Add the User It’s just one simple command to add a user. In this case,......
Blog

Find (View) Default Zone for Firewalld on CentOS 7

Viking Coin
Pre-Flight Check These instructions are intended for finding (viewing) the default zone in Firewalld on CentOS 7 via the command line. I’ll be working from a sxi.io Web Core Managed CentOS 7 server, and I’ll be logged in as root. Zones enhance an administrator’s capability to define trusts and restrict......
Blog

How To Install MongoDB on CentOS 6

Viking Coin
MongoDB is a NoSQL database intended for storing large amounts of data in document-oriented storage with dynamic schemas. NoSQL refers to a database with a data model other than the tabular format used in relational databases such as MySQL, PostgreSQL, and Microsoft SQL. MongoDB features include: full index support, replication,......
Blog

How to Upgrade MySQL 5.1 to MariaDB 10.0 on CentOS 6

Viking Coin
MariaDB is a drop-in replacement for MySQL. It is easy to install, offers many speed and performance improvements, and is easy to integrate into most MySQL deployments. Answers for compatibility questions can be found at: MariaDB versus MySQL – Compatibility. MariaDB offers more storage engines than MySQL, including Cassandra (NoSQL),......
Blog

The Best Settings for Configuring FastCGI (mod_fcgid)

Viking Coin
In our last tutorial, we showed you how to install Apache’s mod_fcgid and provided Linux scripts to assist in transitioning from mod_php. In this next section, we’ll be discussing how to configure a baseline setting for PHP optimization. The default settings for mod_fcgid are often overwhelming to many servers. Due......
Blog

How to Install the MongoDB PHP Driver (Extension) on CentOS 6

Viking Coin
Pre-Flight Check These instructions are intended specifically for installing the MongoDB PHP Driver (Extension) on CentOS 6. I’ll be working from a sxi.io Web Core Managed CentOS 6.5 server, and I’ll be logged in as root. Step 1: Setup Environment, Install PHP Extension & Application Repository (PEAR) As a matter......
Blog

Recommended Production Settings for Cassandra on CentOS 6

Viking Coin
If you’ve already followed the tutorial on How To Install Cassandra on CentOS 6, then you’re ready for another step! Pre-Flight Check These instructions are intended for Cassandra 2 on a single CentOS 6 server. I’ll be working from a sxi.io Web Core Managed CentOS 6.4 server, and I’ll be......
Blog

How To Change the SNMP Port on CentOS

Viking Coin
SNMP 101: The Basics I. How To Install and Configure SNMP on CentOS II. How To Change the SNMP Port on CentOS Introduction SNMP, or Simple Network Management Protocol, is widely used to communicate with and monitor network devices, servers, and more, all via IP. In the previous article, we......
Blog

How To Install MySQL / MariaDB on CentOS 7

Viking Coin
MariaDB is a drop-in replacement for MySQL. It is easy to install, offers many speed and performance improvements, and is easy to integrate into most MySQL deployments. Answers for compatibility questions can be found at: MariaDB versus MySQL – Compatibility. MariaDB offers more storage engines than MySQL, including Cassandra (NoSQL,......
Blog

Update and Patch OpenSSL for Heartbleed Vulnerability

Viking Coin
What is OpenSSL? OpenSSL is a common cryptographic library which provides encryption, specifically SSL/TLS, for popular applications such as Apache (web), MySQL (database), e-mail, virtual private networks (VPNs), and more. What is “the Heartbleed Bug”? The Heartbleed Bug is a severe vulnerability in OpenSSL, known formally as “TLS heartbeat read......
Blog

How to Set Up Multiple SSLs on One IP With Nginx

Viking Coin
With the shortage of available address space in IPv4, IPs are becoming increasingly difficult to come by, and in some cases, increasingly expensive. However, in most instances, this is not a drawback. Servers are perfectly capable of hosting multiple websites on one IP address, as they have for years. But,......
Blog

How to Stop and Disable Firewalld on CentOS 7

Viking Coin
Firewalld is a complete firewall solution that has been made available by default on all CentOS 7 servers, including sxi.io Web Core Managed CentOS 7, and sxi.io Web Self Managed CentOS 7. On occasion, perhaps for testing, disabling or stopping firewalld may be necessary. Follow the instructions below or, watch......
Blog

chkconfig Command Examples for Red Hat and CentOS

Viking Coin
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 sxi.io Web Core Managed CentOS 7 server,......
Blog

7 Extremely Useful Linux Commands for Beginners

Viking Coin
#1: ls : What’s in this directory? The command ls stands for list directory contents. And, cleverly, it will do just that: list a directory’s contents! Using it with -F will give a list of the directories contents, and denote items that are other directories with a trailing /. ls......
Blog

How to Install and Configure phpMyAdmin on CentOS 6

Viking Coin
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......
Blog

How to Install Node.js via NVM (Node Version Manager) on CentOS 7

Viking Coin
Node.js is a cross-platform runtime environment, configurable on Linux, OS X, and Microsoft Windows, and built on JavaScript. Applications, both server-side and networking, are also written in JavaScript. Node.js lends itself nicely to quick deploying, real-time web applications, and is generally thought of as extremely scalable due to its event-driven......
Blog

How to Install or Upgrade Django Using Pip

Viking Coin
Django is a Python web framework; it’s free, open source, and often used with complex, database-driven websites. Pre-Flight Check These instructions are intended specifically for installing Django, a Python web framework. I’ll be working from a sxi.io Web Core Managed CentOS 7 server, and I’ll be logged in as root.......