February 2017
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728  

Categories

February 2017
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728  

How to change your CentOS server timezone

How to change your CentOS server timezone

Timezone data (tzdata) is stored in /usr/share/zoneinfo.

To change your CentOS server’s timezone, simply run the following command based up on the examples below:

Example 1: set time zone to Melbourne, Australia cp /usr/share/zoneinfo/Australia/Melbourne /etc/localtime Example 2: set time zone to UTC cp /usr/share/zoneinfo/UTC /etc/localtime

To confirm […]

MQ 8 on CENTOS 6.8

MQ 8 on CENTOS 6.8

WebSphere MQ installation and validation

WebSphere MQ installation and validation ready 1 Check the installation hardware and software requirements 2 Installation Notes Single server installs MQ and authentication 1 Create a user and user group Optional step 2 Extract the downloaded MQ installation package 3 Check if the rpm package […]

CentOS LAMP

# mount /dev/cdrom /mnt/cdrom

# vi /etc/yum.repos.d/CentOS-Media.repo

[c5-media] name=CentOS-$releasever – Media baseurl=file:///mnt/cdrom file:///media/cdrom/ file:///media/cdrecorder/ gpgcheck=1 enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

2? /etc/yum.repos.d/CentOS-Base.repo # mv /etc/yum.repos.d/CentOS-Base.repo /backup

3? gcc?gcc-c++ yum -y install gcc yum -y install gcc-c++

2? RPM Apache?MySQL httpd?mysqld

service httpd stop service mysqld stop

chkconfig –level 2345 httpd?mysqld? off

3? SELinux?

1? SELinux

# vi /etc/selinux/config

[…]