All bind templates are at "/usr/lib/opcenter/bind" location.
Modify "named_conf_zone.tmpl" file to allow for transfers adding in the IP addresses of secondary DNS.
Ensim Zone File TemplateSubmitted by sandip on Tue, 04/09/2013 - 08:09All bind templates are at "/usr/lib/opcenter/bind" location. Modify "named_conf_zone.tmpl" file to allow for transfers adding in the IP addresses of secondary DNS. Changing IP address of Ensim serverSubmitted by sandip on Wed, 04/03/2013 - 15:33To change the IP address of an Ensim server, modify the following files replacing any instance of the old IP address with the new one: /etc/hostsReboot the server, then run the "NBDetectchanges" /usr/local/bin/NBDetectchangesHow to install Icinga (Nagios Fork) in Ubuntu 12.10 serverSubmitted by david23 on Fri, 03/15/2013 - 02:25Icinga is an enterprise grade open source monitoring system which keeps watch over networks and any conceivable network resource, notifies the user of errors and recoveries and generates performance data for reporting. Scalable and extensible, Icinga can monitor complex, large environments across dispersed locations. manually updating java in ubuntuSubmitted by sandip on Wed, 02/27/2013 - 09:59Below is outlined the process of updating to the latest JDK in ubuntu and updating the alternatives link manually to point the the latest java: Step 1: Download: wget http://download.oracle.com/otn-pub/java/jdk/7u15-b03/jdk-7u15-linux-x64.tar.gzStep 2: If java-7-sun already exists, the below is all that is needed if not skip to step 3 if this is the first time it is setup: unlink java-7-sunStep 3: If java-7-sun link does not already exists: ln -s jdk1.7.0_15 java-7-sunStep 4: Choose the java just installed as default: update-alternatives --config javaResetting WordPress admin passwordSubmitted by sandip on Fri, 02/22/2013 - 14:09Here is the sql to reset admin password for wordpress: update wp_users set user_pass=md5("NEWPASS") where ID=1;Even if the passwords are salted, you can still replace the password with an MD5 hash. Install yum from centos vaultSubmitted by sandip on Tue, 02/12/2013 - 14:53I had to update an old release of CentOS-5.5 on an OpenVZ container where yum was not available. The below script should automatically download and install the required rpms from "vault.centos.org". #!/bin/bashDisabling IDLE in courier-imapSubmitted by sandip on Wed, 02/06/2013 - 09:26Apple and BlackBerry email clients has a configurable setting to use the IMAP IDLE functionality to stay logged in, periodically checking email. This causes imapd to run out of daemons and stop responding. One solution is to raise MAXDAEMONS in /etc/courier-imap/imapd, but will eventually cause high loads on the server. The better solution is to disable IDLE entirely in /etc/courier-imap/imapd by removing "IDLE" option from "IMAP_CAPABILITY". Change: IMAP_CAPABILITY="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE"To: IMAP_CAPABILITY="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA"Upon courier-imap restart, this should prevent connections from persisting. Telnet to imap port 143 to verify that the IDLE option is not present anymore in CAPABILITY response from the server. force qmail to process mail queueSubmitted by sandip on Tue, 01/08/2013 - 22:16Use qmail-qstat or qmail-qread to check the messages in queue. Run qmail-tcpok to clear out the TCP timeout table. After that, send the "ALRM " signal to the "qmail-send" process, and Qmail will process all messages in the queue immediately: kill -ALRM `ps ax | grep [q]mail-send | awk '{print $1}'`monitor and kill long running mysql select statementsSubmitted by sandip on Fri, 12/21/2012 - 17:29Below script checks and kills any sql SELECT statements that has been running for more than 60 seconds. The script can be added to a cron task to be run periodically. Make sure to check the log file it creates to keep an eye on the long running sql statements and tune it. #!/bin/bashPrior to running it, setup the root login in "~/.my.cnf" file with the login credentials: [client]Python Ecosystem - An IntroductionSubmitted by sandip on Tue, 11/20/2012 - 16:08(via mirnazim.org) When developers shift from PHP, Ruby or any other platform to Python, the very first road block they face (most often) is a lack of an overall understanding of the Python ecosystem. Developers often yearn for a tutorial or resource that explains how to accomplish most tasks in a more or less standard way. What follows is an extract from the internal wiki at my workplace, which documents the basics of the Python ecosystem for web application development for our interns, trainees and experienced developers who shift to Python from other platforms. |
User loginPopular contentToday's:All time:Tag CloudApache
AWK
Bash
BlogMarks
centos
Cheatsheet
cpu
DirectAdmin
dns
Drupal
ensim
ext3
ftp
Hosting
imap
Information Technology
ip
ispconfig
Java
Kernel
lftp
lighttpd
Linux
lvm
mail
mailq
Multimedia
munin
munin-node
MySQL
Networking
oneliner
openssl
openvz
Perl
PHP
Plesk
PostgreSQL
proftpd
Programming
qmail
redhat
rpm
screen
Scripting
Security
Sendmail
site migration
spf
ssh
ssl
svn
tips
Tips and Tricks
Tipsheet
trac
Tutorials
ubuntu
upgrade
Web Development
Who's newWho's onlineThere are currently 0 users and 23 guests online.
LinksFOSS Community: |
Recent comments
6 days 12 hours ago
2 weeks 9 hours ago
9 weeks 5 days ago
11 weeks 2 days ago
13 weeks 5 days ago
13 weeks 6 days ago
14 weeks 12 hours ago
14 weeks 2 days ago
14 weeks 6 days ago
15 weeks 13 hours ago