Tag Archive: server

May 15 2008

Restarting SVN On A Unix Box: Is There An Easier Way?

The only way that I have figured out to accomplish this is to restart our entire server and restart it. I was hoping that I could set it up as a service so I could do something like: /sbin/service subversion restart or /sbin/service svn restart.

Permanent link to this article: http://www.armenianeagle.com/2008/05/15/restarting-svn-on-unix-box-is-there-an-easier-way/

Jan 30 2008

Speed Up Google Analytics Load Time

Ask Apache wrote a very useful article on how to increase the speed of your Google Analytics script on load time. The solution, write a cron script that runs every week (every day if you are nervous) that will remove the script from your server “wpget” the new file and set the permissions.

Permanent link to this article: http://www.armenianeagle.com/2008/01/30/speed-up-google-analytics-load-time/

Jan 19 2008

MySQL Database Storage Engine: InnoDB vs. MyISAM

Over the last few months, I have really enjoyed working with the InnoDB storage engine in MySQL because of its support for Foreign Key Constraints. With InnoDB, you assign it a foreign key to the other tables and as soon as you update the first table, it will automatically update all the other tables linking to it.

Permanent link to this article: http://www.armenianeagle.com/2008/01/19/mysql-database-storage-engine-innodb-vs-myisam/

Feb 20 2007

Unix Firewall Rules

*filter :INPUT ACCEPT :FORWARD ACCEPT :OUTPUT ACCEPT :RH-Firewall-1-INPUT – -A INPUT -j RH-Firewall-1-INPUT -A FORWARD -j RH-Firewall-1-INPUT -A RH-Firewall-1-INPUT -i lo -j ACCEPT -A RH-Firewall-1-INPUT -p icmp –icmp-type any -j ACCEPT -A RH-Firewall-1-INPUT -p 50 -j ACCEPT -A RH-Firewall-1-INPUT -p 51 -j ACCEPT -A RH-Firewall-1-INPUT -p udp –dport 5353 -d 224.0.0.251 -j ACCEPT -A RH-Firewall-1-INPUT -p udp -m udp –dport 631 -j ACCEPT -A RH-Firewall-1-INPUT -m state –state ESTABLISHED,RELATED -j ACCEPT -A RH-Firewall-1-INPUT -m state –state NEW -m tcp -p tcp –dport 22 -j ACCEPT -A RH-Firewall-1-INPUT -m state –state NEW -m tcp -p tcp –dport 80 -j ACCEPT -A RH-Firewall-1-INPUT -m state –state NEW -m tcp -p tcp –dport 8080 -j ACCEPT -A RH-Firewall-1-INPUT -m state –state NEW -m tcp -p tcp –dport 8887 -j ACCEPT -A RH-Firewall-1-INPUT -m state –state NEW -m tcp -p tcp –dport 3306 -j ACCEPT -A RH-Firewall-1-INPUT -j REJECT –reject-with icmp-host-prohibited COMMIT Once you add the rules in, you need to restart the firewall by doing the following command: # service iptables restart accept, dport, firewall, iptables, linux, mysql, ports, red hat, reject, rules, server, state, system administration, tcp, unix

Permanent link to this article: http://www.armenianeagle.com/2007/02/20/unix-firewall-rules/

Nov 21 2006

Installing Qmail on RedHat

However, for this lab just create a new file called IDS and paste the following into it: /usr/sbin/groupadd nofiles /usr/sbin/useradd -g nofiles -d /var/qmail/alias alias /usr/sbin/useradd -g nofiles -d /var/qmail qmaild /usr/sbin/useradd -g nofiles -d /var/qmail qmaill /usr/sbin/useradd -g nofiles -d /var/qmail qmailp /usr/sbin/groupadd qmail /usr/sbin/useradd -g qmail -d /var/qmail qmailq /usr/sbin/useradd -g qmail -d /var/qmail qmailr /usr/sbin/useradd -g qmail -d /var/qmail qmails Now we need to run the script.

Permanent link to this article: http://www.armenianeagle.com/2006/11/21/installing-qmail-on-redhat/

Jun 22 2006

Synergy Software

Synergy: a mutually advantageous conjunction of distinct elements Synergy lets you easily share a single mouse and keyboard between multiple computers with different operating systems, each with its own display, without special hardware.

Permanent link to this article: http://www.armenianeagle.com/2006/06/22/synergy-software/

Feb 11 2006

Web Programming on Uranus

‚??Is Uranus ready?‚?Ě ‚??Come see what I did to Uranus‚?Ě ‚??Uranus is overheating‚?Ě ‚??Can we stick more RAM in Uranus?‚?Ě ‚?¶Ok, that last one was a little much but that‚??s life (and this is Walgreen‚??s) www2, uranus

Permanent link to this article: http://www.armenianeagle.com/2006/02/11/web-programming-on-uranus/

Feb 09 2006

Microsoft DNS Issue

When we talked to Alan, the System Administrator, we found out the the DNS settings were pointed at turing (CS Server) which did not contain the Active Directory. Active Directory does not like being the DNS Server so it was holding up until it resolved the right DNS.

Permanent link to this article: http://www.armenianeagle.com/2006/02/09/microsoft-dns-issue/