January 2016
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031

Categories

January 2016
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031

MYSQL on CENTOS 7

Install MySQL on CentOS 7 Introduction MySQL is a popular open source relational database. The popularity of MySQL means there is an abundance of information online and well documented client libraries available. MySQL supports many common database features such as replication, partitioning, triggers, views, and stored procedures. A plugin storage architecture allows support for multiple […]

SSH timeouts make with CentOS 7

I like using CentOS on my servers and desktop machine. After I start using, my ssh connections terminate so quickly

like using CentOS on my servers and desktop machine. After I start using, my ssh connections terminate so quickly if I do not type anything at terminal in a few minutes, may be seconds. It […]

nginx on RHEL 7 with tomcat on Systemd

Tomcat implement multi-instance use systemd centos 7 RHEL 7

rpm -ivh jdk-8u60-linux-x64.rpm

getent group tomcat || groupadd -r tomcat getent passwd tomcat || useradd -r -d /opt -s /bin/nologin tomcat

cd /opt wget http://mirror.nus.edu.sg/apache/tomcat/tomcat-8/v8.0.30/bin/apache-tomcat-8.0.30.tar.gz tar xzf jdk-8u40-linux-i586.tar.gz

mv apache-tomcat-8.0.30 tomcat01 chown -R tomcat:tomcat tomcat01

tar zxvf apache-tomcat-8.0.30.tar.gz mv apache-tomcat-8.0.30 tomcat02 chown -R tomcat:tomcat tomcat02

sed […]

nginx has load balancer

nginx is a high performance web server software. It is a much more flexible and lightweight program than apache.

yum install epel-release

yum install nginx

ifconfig eth0 | grep inet | awk ‘{ print $2 }’

wget –no-cookies –no-check-certificate –header “Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie” “http://download.oracle.com/otn-pub/java/jdk/8u60-b27/jdk-8u60-linux-x64.tar.gz” wget http://mirror.nus.edu.sg/apache/tomcat/tomcat-8/v8.0.30/bin/apache-tomcat-8.0.30.tar.gz tar xzf jdk-8u40-linux-i586.tar.gz mkdir /usr/java/

cd /usr/java/jdk1.8.0_40/ [root@cluster1 java]# […]

Nginx server security configuration

Nginx server security configuration

First, turn off SELinux Security-Enhanced Linux (SELinux) is a Linux kernel feature that provides security policy protection mechanism supports access control. However, SELinux brings additional security and the disproportionate use of complexity, cost is not high

sed -i /SELINUX=enforcing/SELINUX=disabled/ /etc/selinux/config

/usr/sbin/sestatus -v # Check status

Second, the least privilege allowed by […]

Login problem on Zimbra web http (cookies)

Si vous avez ce message d’erreur sur Zimbra voilà la marche à suivre : /opt/zimbra/libexec/zmproxyconfig -e -w -o -a 8080:80:8443:443 -x both -H `zmhostname` Si vous avez une erreur à cette commande là, lancer ensuite celle là : zmprov ms `zmhostname` zimbraReverseProxySSLToUpstreamEnabled FALSE Puis relancer la commande précédente et enfin les commandes suivantes : zmtlsctl […]

Rename Root Volume Group (VG) on Linux Server

This walk-through worked on a virtual server running RHEL 6.7 in a VMware environment.

As I rebuilt an existing VMware guest that was being scheduled to go into production, I realized I did not rename the default volume group from vg_hostname to rootvg.

You must be root user and it is extremely important to backup […]

Disable IPv6 In CentOS 7

entOS Linux release 7.0.1406 (Core)

Verify Centos Version cat /etc/centos-release

I’ve discovered bugs in some install packages. One such package is Zimbra. To work around these bugs, IPv6 and associated dependencies need to be disabled.

To disable IPv6 in a CentOS 7 installation, perform the following tasks:

Task 1 Navigate to and create a file […]

Zimbra 8.6 on Linux CentOS 7.0

Configure DNS Entries on your local DNS server Setup DNS A Record Ensure you have a Reverse lookup zone Setup MX Record

Configure Host Settings Login as root user su root

Install pre-requisites yum install wget make nc sudo sysstat libtool-ltdl glibc perl-core ntp unzip libaio

Set hostname hostname mail.yourdomain.com

Edit hostname file nano /etc/hostname […]

Centos 6.7 apache2.4.x

Centos 6.7 apache2.4.x compile and install and configure virtual hosts, SSL access, user-based access control

apache2.4 new features

Loadable MPMs At compile time can be made ??of a plurality of removable of MPM. The choice of MPM can also be configured at run time.

Event MPM full support Event MPM. This is just test version […]