November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Categories

November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Install Memcached – CentOS 7

Install Memcached – CentOS 7

yum install memcached

Edit the config located at /etc/sysconfig/memcached

add neww

PORT=”11211″ USER=”memcached” MAXCONN=”1024″ CACHESIZE=”640″ OPTIONS=”-l 127.0.0.1″

Make sure you set the OPTIONS section as above, also increase the CACHESIZE according to your needs

Start it up: systemctl start memcached

Add it to startup:

systemctl enable memcached Add memcache to […]

RedHat Linux 7 build yum source server

RedHat Linux 7 build yum source server

1. Create a new directory

mkdir -p /var/www/rhel7.1/x86_64/{isos,dvd}/

2. Upload RedHat installation CD image, path after uploading the

/var/www/rhel7.1/x86_64/isos/rhel-server-7.1-x86_64-dvd.iso

3. Set the boot automatically mount the CD image to /var/www/rhel7.1/x86_64/dvd echo “/var/www/rhel7.1/x86_64/isos/rhel-server-7.1-x86_64-dvd.iso /var/www/rhel7.1/x86_64/dvd iso9660 loop,ro 0 0” >> /etc/fstab

mount -a 4. build http server (nginx), is used […]

Ansible

Ansible is an open source, powerful automation software for configuring, managing and deploying software applications on the nodes without any downtime just by using SSH. Unlike other alternatives, Ansible is installed on a single host, which can even be your local machine, and uses SSH to communicate with each remote host. This allows it to […]

CentOS – ssh-copy-id: command not found

CentOS – ssh-copy-id: command not found yum -y install openssh-clients

multi-master MariaDB Galera Cluster

CentOS 6.7 Linux compilation configure a multi-master MariaDB Galera Cluster for HA.

Multi-master MariaDB Galera Cluster

Summary Galera is essentially a wsrep provider (provider), relies on the wsrep API interface. Wsrep API defines a set of applications and replication callback call library to implement transaction database synchronization write set (writeset) replication, and similar applications. The […]

Setup Your Own Private Network With OpenVPN

private network connectivity for servers running at the same location. But sometimes you want two servers in different countries / datacenters to be able to communicate in a private and secure way. This tutorial will show you how to achieve that with the help of OpenVPN. The operating systems used here are Debian and CentOS, […]

Install MariaDB on CentOS 7

MySQL, MariaDB has been known to be a drop-in replacement that brings enhancements and performance optimizations over MySQL. This tutorial will show you how to install MariaDB onto CentOS 7 in two different ways.

Step 1: Download/install MariaDB

Install from repository MariaDB is shipped in the CentOS repo as of CentOS 7. Anything lower will […]

RHEL and Centos 7 – COMPLETE GUIDE

a) pstree b) systemctl list-unit-files –type=target c)

[root@clusterserver1 ~]# ls /etc/rc.d/ init.d rc0.d rc1.d rc2.d rc3.d rc4.d rc5.d rc6.d rc.local [root@clusterserver1 ~]# ls

Hardening RHEL 7.1

Secure passwords

Passwords are the primary method that Red Hat Enterprise Linux 7 uses to verify a user’s identity. This is why password security is so important for protection of the user, the workstation, and the network.

By default RHEL uses shadow passwords which eliminate this type of attack by storing the password hashes in […]

CentOS 7 Installation Failed

After hearing the news that CentOS 7 had been published, I decided to install it on my computer. I downloaded the ISO image from the CentOS official website (the one named CentOS-7.0-1406-x86_64-DVD.iso) and then burned it onto a USB drive by using a tool named UltraISO.

After that, I rebooted my computer and pressed F12to […]