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 use tmpwatch Command in Linux

How to Install tmpwatch CentoOS/Fedora/RHCE :

By default, this package not being installed in Linux (VPS) so that we can install using yum command,

# yum install tmpwatch -y … Running Transaction Installing : tmpwatch-2.9.16-4.el6.x86_64 1/1 Verifying : tmpwatch-2.9.16-4.el6.x86_64 1/1 Installed: tmpwatch.x86_64 0:2.9.16-4.el6 …

tmpwatch Installed Location,

# whereis tmpwatch

tmpwatch: /usr/bin/tmpwatch /usr/sbin/tmpwatch /usr/share/man/man8/tmpwatch.8.gz

How […]

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

[…]

sshd_config hardening

It seems that in Debian 8 (OpenSSH 6.7), diffie-Hellman-group1-sha1 is disabled by default. A client that connects via SSH receive the error:

Server does not support diffie-hellman-group1-sha1 for keyexchange

I tried adding

Code: KexAlgorithms diffie-hellman-group1-sha1,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sh Example

KexAlgorithms diffie-hellman-group-exchange-sha256,curve25519-sha256@libssh.org

Secure Secure Shell

Secure Secure Shell

Install Oracle Express 11G R2 on CentOS 7

Install Oracle Express 11G R2 on CentOS 7 Preparations

Install some additional packages via yum to ensure that the installation and execution of the database will work. The list may differ, depending on the actual version of CentOS you are using, but the internet gave me back the following packages and you should be […]