mysql replication

Create Replication User  REPLICATION SLAVE privilege:  #mysql -uroot -p#CREATE USER ‘user_vishal’@’localhost’ IDENTIFIED BY ‘pass_123’;#GRANT REPLICATION SLAVE ON *.* TO ‘user_vishal’@’Slave …

Read more

Install ntop on RedHat Or CentOs 5

Install rpmforge repository: http://wiki.centos.org/AdditionalResources/Repositories/RPMForge   Or ·         i386 http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm ·         x86_64 http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm Install DAG’s GPG …

Read more

Configure SSL Apache on Ubuntu…

Generate a Self-Signed Certificate:-  $a2enmod ssl  $mkdir /etc/apache2/ssl  $openssl req -new -x509 -days 365 -nodes -out /etc/apache2/ssl/ssl.pem -keyout /etc/apache2/ssl/ssl.key You …

Read more

Apache Tomcat in ubuntu

Ddownload Tomcat  http://tomcat.apache.org/ Unzip it with tar -zxvf  Tomcatxxx.tar tar -zxvf apache-tomcat-7.0.25.tar.gz No make or configuration required, just change to …

Read more

PHP Code Snippets Powered By : XYZScripts.com