Authentication (Linux) through htaccess: Authentication through Htaccess #Shell> vi .htaccess AuthUserFile /public_html/private/.htpasswd AuthName "Secret Stuff" AuthType Basic require valid-user Authentication for Single File access on Apache (Linux) through htaccess Edit httpd.conf file and add … Continue Reading →
How to configure Mysql slow queries & error log
Question:- How to configure Mysql slow queries & error log Answer:- edit my.cnf and following line under [mysqld] log-error=/var/log/mysql/mysql-error.log slow-query-log=/var/log/mysql-slow.log long-query-time=1 save the above file and restart mysql
How to configure Mysql & which file we have to change
Question:- How to configure Mysql & which file we have to change Answer:- Downlaod binary files from http://www.mysql.com Copy the folder to /usr/local/ path Copy the my-huge.cnf file from support … Continue Reading →
Installing Active Directory on Windows Server 2012
Installing Active Directory on Windows Server 2012 Article ID: 3380 Last updated on July 31, 2013 Authored by: Rackspace Support Description This article will walk you through setting up the Active Directory Role … Continue Reading →
Upload File on FTP or sFTP Server with Shell on Linux
Script to upload file from Shell prompt in Linux or Crontab, Script begins #!/bin/sh SERVER= XX.XX.XX.XX (IP address or host of ftp server) USER=Username PASSW=password ftp -v -n $SERVER <<END_OF_SESSION … Continue Reading →
How to Virtual Mail Hosting on CentOS – Postfix MySQL Dovecot PostfixAdmin Amavisd-new Spamassassin Clamav
Introduction First things first. If you are a novice at linux I recommend that you should get help with setting this up. This is an advanced email server configuration. This … Continue Reading →