MySQL Red hat linux

MySQL Master-Master Replication

Create MySQL user CREATE USER ‘droaming’@’localhost’ IDENTIFIED BY ‘DroamG.123’; CREATE USER ‘droaming’@’%’ IDENTIFIED BY ‘DroamG.123’; Drop Mysql User DROP USER ‘droaming’@’localhost’; DROP USER ‘droaming’@’%’; Create Mysql Database and grant permission CREATE DATABASE droaming; GRANT ALL ON droaming.* TO ‘droaming’@’localhost’; View MySQL users SELECT User, Host, Password FROM mysql.user; MySQL Master-Master Replication SERVER 01 [mysqld] datadir=/var/lib/mysql […]

nagios Red hat linux

Nagios Notifications using SMTP server with Authentication

We needed to setup Nagios to utilize our internet service providers SMTP Email server for notification emails. The biggest problem was that the ISP’s outgoing email server requires authentication. Nagios setup with SMTP outgoing authentications. These are instructions and examples on how we got this setup working. I hope this helps others in the Nagios […]

Apache LAMP Red hat linux

Install LAMP on Redhat / Centos 6

LAMP කියන්නේ open-source software කිහිපයක එකතුවක්. ඒ කියන්නේ Linux, Apache HTTP Server, MySQL database, and PHP/Perl/Python). මේ tutorial එකේදි මම ඔයාලට කියලා දෙන්නේ කොහොමද RHEL/CentOS 6.X වල LAMP install කරන්නේ කියලා. මේකෙදි මගේ server එකේ hostname එක test.ideus.lk. server IP එක වෙන්නේ 192.168.1.101/24. මුලින්ම කරන්න පොඩි දෙයක් තියෙනවා.EPEL Repository එක අපේ server එකට configure කරගන්න ඕන. Repository ගැන මම […]

Apache LAMP Red hat linux Web Hosting

Update PHP 5.1 to 5.5 on Redhat / CentOS 5.5

Add EPEL repo rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-5.noarch.rpm rpm -Uvh http://mirror.webtatic.com/yum/el5/latest.rpm Remove Previous version yum remove php* Install PHP 5.5 yum install php55w-fpm php55w-opcache yum install php55w-xml php55w-gd php55w-process php55w-mysql php55w-mbstring php55w-pear php55w-common php55w-imap php55w php55w-mcrypt php55w-pdo php55w-cli php55w-devel

Red hat linux Web Hosting

Installation of KLOXO Hosting Panel with DKIM and SPF

An easy to follow guide to install DKIM on CentOS 5.x Linux mail servers using qmailtoaster and kloxo/lxadmin. help prevent outgoing emails from your email servers winding up in someone’s spam box. KLOXO instalation guide su – root setenforce 0 su – root yum install -y wget wget http://download.lxcenter.org/download/kloxo/production/kloxo-installer.sh #To install as Master (Default Single […]