<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet href="http://www.booservers.com/styles/rss.css" type="text/css"?>
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

 <channel>
  <title>Booservers - All about dedicated servers</title>
  <link>http://www.booservers.com</link>
  <description></description>
  <pubDate>Thu, 11 Mar 2010 07:07:16</pubDate>
  <generator>http://www.plogworld.net</generator>
    <item>
   <title>Mount /tmp with noexec</title>
   <description>
    By default, RS servers come with everything lumped in / and a small amount partitioned for /boot and some for swap. With this current setup, you have no room for making more partitions unless you have a second hard-drive. &lt;br /&gt;&lt;br /&gt;Recently, I found out it would be worthwhile to give /tmp it&#039;s own partition and mount it using noexec- This would protect your system from MANY local and remote exploits of rootkits being run from your /tmp folder. &lt;br /&gt;&lt;br /&gt;First off, I want to thank everyone for their help from this thread: &lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://forum.rackshack.net/showthread.php?s=&amp;amp;threadid=27470&quot; target=&quot;_blank&quot;&gt;http://forum.rackshack.net/showthread.php?...&amp;amp;threadid=27470&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;I am simply compiling their advice into a how-to...&lt;br/&gt;&lt;center&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-7209259988091090&quot;;
google_ad_width = 300;
google_ad_height = 250;
google_ad_format = &quot;300x250_as&quot;;
google_ad_type = &quot;text_image&quot;;
google_ad_channel =&quot;3498328464&quot;;
google_color_border = &quot;FFFFFF&quot;;
google_color_bg = &quot;FFFFFF&quot;;
google_color_link = &quot;006633&quot;;
google_color_url = &quot;000000&quot;;
google_color_text = &quot;0033CC&quot;;
//--&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
  src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/center&gt;&lt;br&gt;What we are doing it creating a file that we will use to mount at /tmp. &lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;cd /dev&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Create 100MB file for our /tmp partition. If you need more space, make count size larger. &lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;dd if=/dev/zero of=tmpMnt bs=1024 count=100000&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Make an extended filesystem for our tmpMnt file &lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;mke2fs /dev/tmpMnt&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Backup your /tmp dir- I had mysql.sock file that I needed to recreate the symbolic link for. Other programs may use it to store cache files or whatever. &lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;cd /&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;cp -R /tmp /tmp_backup&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Mount the new /tmp filesystem with noexec &lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;mount -o loop,noexec,nosuid,rw /dev/tmpMnt /tmp&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;chmod 0777 /tmp&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Copy everything back to new /tmp and remove backup &lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;cp -R /tmp_backup/* /tmp/&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;rm -rf /tmp_backup&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Now we need to add this to fstab so it mounts automatically on reboots. &lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;pico -w /etc/fstab&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;You should see something like this: &lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;/dev/hda3               /                       ext3    defaults,usrquota        1 1&lt;br /&gt;&lt;br /&gt;/dev/hda1               /boot                   ext3    defaults        1 2&lt;br /&gt;&lt;br /&gt;none                    /dev/pts                devpts  gid=5,mode=620  0 0&lt;br /&gt;&lt;br /&gt;none                    /proc                   proc    defaults        0 0&lt;br /&gt;&lt;br /&gt;none                    /dev/shm                tmpfs   defaults        0 0&lt;br /&gt;&lt;br /&gt;/dev/hda2               swap                    swap    defaults        0 0&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;At the bottom add &lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;/dev/tmpMnt             /tmp                    ext2    loop,noexec,nosuid,rw  0 0&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;(Each space is a tab) &lt;br /&gt;&lt;br /&gt;Ctrl + X and Y &lt;br /&gt;&lt;br /&gt;Your done- /tmp is now mounted as noexec. You can sleep a little bit safer tonight. I created a hello world c++ and compiled it then moved it to /tmp. Upon trying to run it (even chmod +x&#039;ed), it gives the following error: &lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;bash: ./a.out: Permission denied&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;Yay! /tmp no longer has execute permissions &lt;/p&gt;&lt;p&gt;Source: &lt;a href=&quot;http://forums.theplanet.com/index.php?showtopic=27771&quot;&gt;http://forums.theplanet.com/index.php?showtopic=27771&lt;/a&gt;&lt;/p&gt;
   </description>
   <link>http://www.booservers.com/archivo/55_mount_tmp_with_noexec.html</link>
   <comments>http://www.booservers.com/archivo/55_mount_tmp_with_noexec.html</comments>
   <guid>http://www.booservers.com/archivo/55_mount_tmp_with_noexec.html</guid>
      <dc:creator>Luigi Ramone</dc:creator>
      
    <category>Security</category>
      
    <category>System</category>
         <pubDate>Thu, 04 Sep 2008 15:02:44</pubDate>
   <source url="http://www.booservers.com/feeds/rss20">Booservers - All about dedicated servers</source>
     </item>
    <item>
   <title>Find which site is sending spam email from apache@yourdomain, How to track spam sent out from your server through php/apache</title>
   <description>
    When you have a lot of clients (Domains) on your server, it&#039;s almost impossible to track all emails sent from your server through php scripts.&lt;br /&gt;&lt;br /&gt;So i found a solution and i going to share with everyone.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Requeriments&lt;/b&gt;&lt;br /&gt;Linux&lt;br /&gt;Ensim&lt;br /&gt;root access&lt;br/&gt;&lt;center&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-7209259988091090&quot;;
google_ad_width = 300;
google_ad_height = 250;
google_ad_format = &quot;300x250_as&quot;;
google_ad_type = &quot;text_image&quot;;
google_ad_channel =&quot;3498328464&quot;;
google_color_border = &quot;FFFFFF&quot;;
google_color_bg = &quot;FFFFFF&quot;;
google_color_link = &quot;006633&quot;;
google_color_url = &quot;000000&quot;;
google_color_text = &quot;0033CC&quot;;
//--&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
  src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/center&gt;&lt;br&gt;1. Go to virtualhost&#039;s apache conf in my server is /etc/httpd/conf/virtual&lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;cd /etc/httpd/conf/virtual&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;2. Now you can list all sites in your server&lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;ls&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;3. Now you have to edit each site&#039;s config file. [use your favorite file editor]&lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;nano site1 &amp;lt;-- change filename for each site name listed on that directory&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;4. Search for ifModule mod_php (Mine looks like this &amp;lt;IfModule mod_php4.c&amp;gt;)&lt;br /&gt;&lt;br /&gt;5. Inside that tag put the next code&lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;php_admin_value sendmail_path  &amp;quot;/usr/sbin/sendmail -t -i -f emailcop@sitename&amp;quot; &amp;lt;-- replace sitename with the domain name of that client.&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;6. now search in the same file for ifmodule sapi_apache (Mine looks like this &amp;lt;IfModule sapi_apache2.c&amp;gt;)&lt;br /&gt;&lt;br /&gt;7. Inside that tag put the same code as php tag code&lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;php_admin_value sendmail_path  &amp;quot;/usr/sbin/sendmail -t -i -f emailcop@sitename&amp;quot; &amp;lt;-- replace sitename with the domain name of that client.&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;8. Save file&lt;br /&gt;&lt;br /&gt;9. Repeat same procedure for each site listed on the directory&lt;br /&gt;&lt;br /&gt;10. Finally restart apache/httpd&lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;type: service httpd restart&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now you can look at your /var/log/maillog folder and see which site is sending email through php scritps the line will look something like this: &lt;br /&gt;[ &lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot; style=&quot;auto; WHITE-SPACE: pre; HEIGHT: 200px&quot;&gt;&lt;br /&gt;Jul 4 11:31:00 secure sendmail[7890]: m64FV0HG007890: Authentication-Warning: yourservername: apache set sender to emailcop@domainname using -f&lt;br /&gt;Jul 4 11:31:07 secure sendmail[7890]: m64FV0HG007890: from=emailcop@domainname, size=308, class=0, nrcpts=1, msgid=&amp;lt;200807041531.m64FV0HG007890@yourservername&amp;gt;, relay=apache@localhost&lt;br /&gt;Jul 4 11:31:07 secure sm-acceptingconnections[13146]: m64FV7cp013146: from=&amp;lt;emailcop@domainname&amp;gt;, size=665, class=0, nrcpts=1, msgid=&amp;lt;200807041531.m64FV0HG007890@yourservername&amp;gt;, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]&lt;br /&gt;Jul 4 11:31:07 secure sendmail[7890]: m64FV0HG007890: to=dest@domain-dest, ctladdr=emailcop@domainname (48/48), delay=00:00:07, xdelay=00:00:00, mailer=relay, pri=30308, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (m64FV7cp013146 Message accepted for delivery)&lt;/div&gt;&lt;p&gt;]&lt;br /&gt;&lt;br /&gt;Voila!! email identified!! going out through domainanme, if you think is spam you should go to that domain root folder and scan for scripts sending email.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanks for reading&lt;/p&gt;&lt;p&gt;Source: &lt;a href=&quot;http://forums.theplanet.com/index.php?showtopic=90590&quot;&gt;http://forums.theplanet.com/index.php?showtopic=90590&lt;/a&gt;&lt;/p&gt;
   </description>
   <link>http://www.booservers.com/archivo/54_find_which_site_is_sending_spam_email_from_apacheyourdomain_how_to_track_spam_sent_out_from_your_server_through_phpapache.html</link>
   <comments>http://www.booservers.com/archivo/54_find_which_site_is_sending_spam_email_from_apacheyourdomain_how_to_track_spam_sent_out_from_your_server_through_phpapache.html</comments>
   <guid>http://www.booservers.com/archivo/54_find_which_site_is_sending_spam_email_from_apacheyourdomain_how_to_track_spam_sent_out_from_your_server_through_phpapache.html</guid>
      <dc:creator>Luigi Ramone</dc:creator>
      
    <category>Apache</category>
      
    <category>Mail</category>
         <pubDate>Thu, 04 Sep 2008 15:00:35</pubDate>
   <source url="http://www.booservers.com/feeds/rss20">Booservers - All about dedicated servers</source>
     </item>
    <item>
   <title>Disable Majordomo for all sites</title>
   <description>
    Watching /var/log/maillog, i noticed a lot of spam sent out from my server through majordomo accounts so i chose to disable it in all my sites.&lt;br /&gt;&lt;br /&gt;I did a small HOWTO of how to disable all at the same time. This HOWTO is for Linux/Ensim.&lt;br/&gt;&lt;center&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-7209259988091090&quot;;
google_ad_width = 300;
google_ad_height = 250;
google_ad_format = &quot;300x250_as&quot;;
google_ad_type = &quot;text_image&quot;;
google_ad_channel =&quot;3498328464&quot;;
google_color_border = &quot;FFFFFF&quot;;
google_color_bg = &quot;FFFFFF&quot;;
google_color_link = &quot;006633&quot;;
google_color_url = &quot;000000&quot;;
google_color_text = &quot;0033CC&quot;;
//--&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
  src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/center&gt;&lt;br&gt;HOWTO Begins:&lt;br /&gt;&lt;br /&gt;Note: All command must be Logged as root;&lt;br /&gt;&lt;br /&gt;1. First of all we have to disable the email alias in all sites.&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;ls /home/virtual/ | grep site | while read x; do echo $x; grep -v &amp;quot;majordomo&amp;quot; /home/virtual/$x/fst/etc/aliases &amp;gt; aliases.tmp; mv -f aliases.tmp /home/virtual/$x/fst/etc/aliases; chroot /home/virtual/$x/fst/ newaliases; done;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;2. Now we remove user majordomo from site /etc/passwd.&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;ls /home/virtual/ | grep site | while read x; do echo $x; grep -v &amp;quot;majordomo&amp;quot; /home/virtual/$x/fst/etc/passwd &amp;gt; passwd.tmp; mv -f passwd.tmp /home/virtual/$x/fst/etc/passwd; done;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;3. And now we remove majordomo from site /etc/group &lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;ls /home/virtual/ | grep site | while read x; do echo $x; grep -v &amp;quot;majordomo&amp;quot; /home/virtual/$x/fst/etc/group &amp;gt; group.tmp; mv -f group.tmp /home/virtual/$x/fst/etc/group; done;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;4. Last restart sendmail, I don&#039;t know if this is really necessary, but lets do it anyway. &lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;service sendmail restart&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;Source: &lt;a href=&quot;http://forums.theplanet.com/index.php?showtopic=90535&quot;&gt;http://forums.theplanet.com/index.php?showtopic=90535&lt;/a&gt;&lt;/div&gt;
   </description>
   <link>http://www.booservers.com/archivo/53_disable_majordomo_for_all_sites.html</link>
   <comments>http://www.booservers.com/archivo/53_disable_majordomo_for_all_sites.html</comments>
   <guid>http://www.booservers.com/archivo/53_disable_majordomo_for_all_sites.html</guid>
      <dc:creator>Luigi Ramone</dc:creator>
      
    <category>System</category>
      
    <category>Ensim</category>
         <pubDate>Thu, 04 Sep 2008 14:59:41</pubDate>
   <source url="http://www.booservers.com/feeds/rss20">Booservers - All about dedicated servers</source>
     </item>
    <item>
   <title>4 Primary Areas For Tuning Your Server</title>
   <description>
    I just thought I would add my two cents in for everyone. I posted an old howto with some sysctl.conf, but I think that was when I was running on my previous server using and older version of redhat. So here&#039;s a fresh howto that is a little more complete. &lt;br /&gt;&lt;br /&gt;These configs are based on my server specs, which is a Dual 2.0GHz Xeon with 2GB of RAM running RedHat Enterprise. Depending on your server&#039;s RAM you might have to reduce some of the settings, which I&#039;ll try make notes with each section.&lt;br/&gt;&lt;center&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-7209259988091090&quot;;
google_ad_width = 300;
google_ad_height = 250;
google_ad_format = &quot;300x250_as&quot;;
google_ad_type = &quot;text_image&quot;;
google_ad_channel =&quot;3498328464&quot;;
google_color_border = &quot;FFFFFF&quot;;
google_color_bg = &quot;FFFFFF&quot;;
google_color_link = &quot;006633&quot;;
google_color_url = &quot;000000&quot;;
google_color_text = &quot;0033CC&quot;;
//--&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
  src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/center&gt;&lt;br&gt;&lt;strong&gt;First&lt;/strong&gt;, is the /etc/sysctl.conf file. Most people overlook tweaking these settings, always thinking it is a mysql or apache problem. You can get a tremendous boost in throughput by adjusting these settings. These are the settings I use on my server, and have come about by constantly adjusting and monitoring performance, and this is what works best &lt;i&gt;for me&lt;/i&gt;, your mileage may vary based on server specs and traffic. I suggest finding some guides and reading up about what each seting does before you make changes. (Note: most out there are pretty dated unfortunatly). Also, some people out there like to have tcp_window_scaling, sack, fack, etc, turned off, but I leave them on. I guess it is just a personal preference thing. So don&#039;t complain, but feel free to leave your comments, testing, and results. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;/etc/sysctl.conf&lt;/b&gt; &lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;# Kernel sysctl configuration file for Red Hat Enterprise Linux&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# Controls IP packet forwarding&lt;br /&gt;&lt;br /&gt;net.ipv4.ip_forward = 0&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# Controls source route verification&lt;br /&gt;&lt;br /&gt;net.ipv4.conf.default.rp_filter = 1&lt;br /&gt;&lt;br /&gt;net.ipv4.conf.all.rp_filter = 1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# Disables IP source routing&lt;br /&gt;&lt;br /&gt;net.ipv4.conf.default.accept_source_route = 0&lt;br /&gt;&lt;br /&gt;net.ipv4.conf.all.accept_source_route = 0&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# Controls the System Request debugging functionality of the kernel&lt;br /&gt;&lt;br /&gt;kernel.sysrq = 0&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# Controls whether core dumps will append the PID to the core filename.&lt;br /&gt;&lt;br /&gt;# Useful for debugging multi-threaded applications.&lt;br /&gt;&lt;br /&gt;kernel.core_uses_pid = 1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# Increase maximum amount of memory allocated to shm&lt;br /&gt;&lt;br /&gt;# Only uncomment if needed!&lt;br /&gt;&lt;br /&gt;# kernel.shmmax = 67108864&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# Disable ICMP Redirect Acceptance&lt;br /&gt;&lt;br /&gt;net.ipv4.conf.default.accept_redirects = 0&lt;br /&gt;&lt;br /&gt;net.ipv4.conf.all.accept_redirects = 0&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# Enable Log Spoofed Packets, Source Routed Packets, Redirect Packets&lt;br /&gt;&lt;br /&gt;net.ipv4.conf.default.log_martians = 1&lt;br /&gt;&lt;br /&gt;net.ipv4.conf.all.log_martians = 1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# Decrease the time default value for tcp_fin_timeout connection&lt;br /&gt;&lt;br /&gt;net.ipv4.tcp_fin_timeout = 25&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# Decrease the time default value for tcp_keepalive_time connection&lt;br /&gt;&lt;br /&gt;net.ipv4.tcp_keepalive_time = 1200&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# Turn on the tcp_window_scaling&lt;br /&gt;&lt;br /&gt;net.ipv4.tcp_window_scaling = 1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# Turn on the tcp_sack&lt;br /&gt;&lt;br /&gt;net.ipv4.tcp_sack = 1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# tcp_fack should be on because of sack&lt;br /&gt;&lt;br /&gt;net.ipv4.tcp_fack = 1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# Turn on the tcp_timestamps&lt;br /&gt;&lt;br /&gt;net.ipv4.tcp_timestamps = 1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# Enable TCP SYN Cookie Protection&lt;br /&gt;&lt;br /&gt;net.ipv4.tcp_syncookies = 1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# Enable ignoring broadcasts request&lt;br /&gt;&lt;br /&gt;net.ipv4.icmp_echo_ignore_broadcasts = 1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# Enable bad error message Protection&lt;br /&gt;&lt;br /&gt;net.ipv4.icmp_ignore_bogus_error_responses = 1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# Make more local ports available&lt;br /&gt;&lt;br /&gt;# net.ipv4.ip_local_port_range = 1024 65000&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# Set TCP Re-Ordering value in kernel to &#039;5&#039;&lt;br /&gt;&lt;br /&gt;net.ipv4.tcp_reordering = 5&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# Lower syn retry rates&lt;br /&gt;&lt;br /&gt;net.ipv4.tcp_synack_retries = 2&lt;br /&gt;&lt;br /&gt;net.ipv4.tcp_syn_retries = 3&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# Set Max SYN Backlog to &#039;2048&#039;&lt;br /&gt;&lt;br /&gt;net.ipv4.tcp_max_syn_backlog = 2048&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# Various Settings&lt;br /&gt;&lt;br /&gt;net.core.netdev_max_backlog = 1024&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# Increase the maximum number of skb-heads to be cached&lt;br /&gt;&lt;br /&gt;net.core.hot_list_length = 256&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# Increase the tcp-time-wait buckets pool size&lt;br /&gt;&lt;br /&gt;net.ipv4.tcp_max_tw_buckets = 360000&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# This will increase the amount of memory available for socket input/output queues&lt;br /&gt;&lt;br /&gt;net.core.rmem_default = 65535&lt;br /&gt;&lt;br /&gt;net.core.rmem_max = 8388608&lt;br /&gt;&lt;br /&gt;net.ipv4.tcp_rmem = 4096 87380 8388608&lt;br /&gt;&lt;br /&gt;net.core.wmem_default = 65535&lt;br /&gt;&lt;br /&gt;net.core.wmem_max = 8388608&lt;br /&gt;&lt;br /&gt;net.ipv4.tcp_wmem = 4096 65535 8388608&lt;br /&gt;&lt;br /&gt;net.ipv4.tcp_mem = 8388608 8388608 8388608&lt;br /&gt;&lt;br /&gt;net.core.optmem_max = 40960&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;After you make the changes to the file, you can make them effective immediately by typing in &lt;b&gt;/sbin/sysctl -p&lt;/b&gt; &lt;br /&gt;&lt;br /&gt;Also, you will need to issue &lt;b&gt;/sbin/sysctl -w net.ipv4.route.flush=1&lt;/b&gt; to flush the routing table to make some of these changes happen instantly. &lt;br /&gt;&lt;br /&gt;Here&#039;s some URLs with useful info, benchmarks, etc... (I believe one was posted from someone below) &lt;br /&gt;&lt;a href=&quot;http://www.aarnet.edu.au/engineering/networkdesign/mtu/local.html&quot; target=&quot;_blank&quot;&gt;http://www.aarnet.edu.au/engineering/netwo.../mtu/local.html&lt;/a&gt; &lt;br /&gt;&lt;a href=&quot;http://sverre.home.cern.ch/sverre/TenGBE_whitepaper_04232003.pdf&quot; target=&quot;_blank&quot;&gt;http://sverre.home.cern.ch/sverre/TenGBE_w...er_04232003.pdf&lt;/a&gt; &lt;br /&gt;&lt;a href=&quot;http://www.hep.ucl.ac.uk/~ytl/tcpip/linux/txqueuelen/datatag-tcp/&quot; target=&quot;_blank&quot;&gt;http://www.hep.ucl.ac.uk/~ytl/tcpip/linux/...en/datatag-tcp/&lt;/a&gt; &lt;br /&gt;&lt;a href=&quot;http://www-didc.lbl.gov/TCP-tuning/TCP-tuning.html&quot; target=&quot;_blank&quot;&gt;http://www-didc.lbl.gov/TCP-tuning/TCP-tuning.html&lt;/a&gt; &lt;br /&gt;&lt;a href=&quot;http://ipsysctl-tutorial.frozentux.net/chunkyhtml/index.html&quot; target=&quot;_blank&quot;&gt;http://ipsysctl-tutorial.frozentux.net/chu...html/index.html&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;------------------------------------------- &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Second&lt;/b&gt; is the MySQL /etc/my.cnf settings file. A lot of people just leave this file with its default settings until they notice problems with their server performance. Please note that I&#039;m not including the &lt;i&gt;datadir&lt;/i&gt; or &lt;i&gt;socket&lt;/i&gt; settings since those can vary based on your server setup. Also I&#039;m only including the base &lt;i&gt;[mysqld]&lt;/i&gt; section and not any of the &lt;i&gt;[safe_mysqld], [mysqldump], or [myisamchk]&lt;/i&gt; sections. &lt;br /&gt;&lt;br /&gt;Also, update your MySQL to the latest version, if you are still running 3.x you should be dragged out into the street and beaten with a stick, seriously. Just download the MySQL RPMs from the MySQL website, it takes 30 seconds to upgrade. They usually release a new version every month. Be aware of the difference between 4.0.x and 4.1.x (or higher). &lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;[mysqld]&lt;br /&gt;&lt;br /&gt;connect_timeout=15&lt;br /&gt;&lt;br /&gt;interactive_timeout=100&lt;br /&gt;&lt;br /&gt;join_buffer_size=1M&lt;br /&gt;&lt;br /&gt;key_buffer=256M&lt;br /&gt;&lt;br /&gt;max_allowed_packet=16M&lt;br /&gt;&lt;br /&gt;max_connections=500&lt;br /&gt;&lt;br /&gt;max_connect_errors=10&lt;br /&gt;&lt;br /&gt;myisam_sort_buffer_size=64M&lt;br /&gt;&lt;br /&gt;read_buffer_size=2M&lt;br /&gt;&lt;br /&gt;read_rnd_buffer_size=2M&lt;br /&gt;&lt;br /&gt;sort_buffer_size=2M&lt;br /&gt;&lt;br /&gt;table_cache=1024&lt;br /&gt;&lt;br /&gt;thread_cache_size=100&lt;br /&gt;&lt;br /&gt;thread_concurrency=4&lt;br /&gt;&lt;br /&gt;wait_timeout=300&lt;br /&gt;&lt;br /&gt;query_cache_size=128M&lt;br /&gt;&lt;br /&gt;query_cache_limit=1M&lt;br /&gt;&lt;br /&gt;query_cache_type=1&lt;br /&gt;&lt;br /&gt;skip-innodb&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;For people with a single CPU be sure to set &lt;i&gt;thread_concurrency&lt;/i&gt; to 2 (4 is for Dual CPUs). People with 1GB of RAM, you might want to consider lowering the &lt;i&gt;key_buffer&lt;/i&gt; to 64M and the &lt;i&gt;myisam_sort_buffer_size&lt;/i&gt; to 32M. This really just depends on how much free memory your system has during peak traffic hours. If you increase these too much and your system runs out of physical RAM and starts swapping to disk, your system is going to eat it hard. &lt;br /&gt;&lt;br /&gt;For more information about Mysqld variables, please read the following articles as they explain all the settings in-depth and how to fine-tune them: &lt;a href=&quot;http://www.databasejournal.com/features/mysql/article.php/1402311&quot; target=&quot;_blank&quot;&gt;Article 1&lt;/a&gt; and &lt;a href=&quot;http://www.databasejournal.com/features/mysql/article.php/3367871&quot; target=&quot;_blank&quot;&gt;Article 2&lt;/a&gt; and &lt;a href=&quot;http://www.databasejournal.com/features/mysql/article.php/3110171&quot; target=&quot;_blank&quot;&gt;Article 3&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;------------------------------------------- &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Third&lt;/b&gt; is Apache. Some people run 1.x, and some run 2.x, me personally I run 2.x because of the better performance. But some people are tied to the older version because of other software packages. &lt;br /&gt;&lt;br /&gt;The first thing to do if you are running 1.x is to get mod_gzip and use it. If you are running 2.x then use mod_deflate (it is included). This compresses all your HTML/TXT/XML data before it is sent, saving you bandwidth, and faster load times for your users. &lt;br /&gt;&lt;br /&gt;If you are serving up pages + images then you *probably* want to set your keepalive to on, and have your settings something like this: &lt;br /&gt;&lt;br /&gt;Timeout 60 &lt;br /&gt;KeepAlive On &lt;br /&gt;MaxKeepAliveRequests 1000 &lt;br /&gt;KeepAliveTimeout 10 &lt;br /&gt;&lt;br /&gt;By setting the KeepAliveTimeout low you won&#039;t have all those lingering connections. You can probably set it even lower if you like. &lt;br /&gt;&lt;br /&gt;If you are only serving up html (or php or whatever) pages, and using another web server for your images (like tux). Then you probably want to set your KeepAlive to Off since the user will only be requesting 1 file at a time. &lt;br /&gt;&lt;br /&gt;Most people have the bad habit of instantly increasing their &lt;i&gt;MaxClients&lt;/i&gt; to 256. This can be &lt;b&gt;BAD&lt;/b&gt; if you don&#039;t take into account memory availability. You need to determine how much memory you have free, how much each apache process consumes, then do the math to figure out what you can safely set the &lt;i&gt;MaxClients&lt;/i&gt; to. If you exceed your physical memory then once again the server will swap to the HD and the server will take a dive in performance. &lt;br /&gt;&lt;br /&gt;Comment out / remove and Dynamic Shared Object (DSO) modules that you do not use! There are a ton loaded by default, most which you will never use. I commented out 20+ personally! Read the apache documentation on what each one does, the apache docs are very detailed. &lt;br /&gt;&lt;br /&gt;If possible, set the &lt;i&gt;AllowOverride&lt;/i&gt; option to &lt;i&gt;None&lt;/i&gt;. This prevents apache from checking for the .htaccess file in every directory whenever a request is made. However if you use .htaccess files then you have to leave the setting there, but if you can limit it down to certain directories, then do it. &lt;br /&gt;&lt;br /&gt;Mask your Apache version by using the following settings: &lt;br /&gt;&lt;i&gt;ServerSignature Off &lt;br /&gt;ServerTokens ProductOnly&lt;/i&gt; &lt;br /&gt;&lt;br /&gt;That&#039;s just good practice, you can also hide your PHP info by setting &lt;i&gt;expose_php = Off&lt;/i&gt; in your /etc/php.ini file.&lt;/p&gt;&lt;div class=&quot;postcolor&quot;&gt;&lt;b&gt;Fourth&lt;/b&gt; is PHP. One thing to do is use a program like eAccelerator which caches pre-compiled versions of your php files to help reduce overhead and increase performance. It is a free download from sourceforge, but it will require a little know-ho on your part to install. There are plenty of other guides on how to install this. It is very simple and quick. &lt;br /&gt;&lt;br /&gt;A lot of people use the redhat PHP RPMs, which can be quite bloated. My libphp4.so module is only 2.07MB in size. (I don&#039;t remember what the default redhat one is, but I&#039;m willing to bet it is larger). Also Redhat never seems to keep up to date with the latest PHP (or MySQL) version, I always recommend updating as soon as a new release is published. &lt;br /&gt;&lt;br /&gt;Here&#039;s my configure line. There&#039;s a lot of settings you may not use, and they could be ones that you use that I don&#039;t. You can view your current configure line via the phpinfo() function. These include all the big things such as GD, XML, SHM, etc.. Some people maybe want to enable a certain memory-limit to prevent PHP from eating too much memory per process. &lt;br /&gt;&lt;br /&gt;Also, I don&#039;t use mm simply because I found it would crash apache on an almost daily basis. I had problems with session storage, and also it would not restart after rotating logs... &lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;./configure &lt;br /&gt;&lt;br /&gt;--prefix=/usr &lt;br /&gt;&lt;br /&gt;--exec-prefix=/usr &lt;br /&gt;&lt;br /&gt;--bindir=/usr/bin &lt;br /&gt;&lt;br /&gt;--sbindir=/usr/sbin &lt;br /&gt;&lt;br /&gt;--sysconfdir=/etc &lt;br /&gt;&lt;br /&gt;--datadir=/usr/share &lt;br /&gt;&lt;br /&gt;--includedir=/usr/include &lt;br /&gt;&lt;br /&gt;--libdir=/usr/lib &lt;br /&gt;&lt;br /&gt;--libexecdir=/usr/libexec &lt;br /&gt;&lt;br /&gt;--localstatedir=/var &lt;br /&gt;&lt;br /&gt;--sharedstatedir=/usr/com &lt;br /&gt;&lt;br /&gt;--mandir=/usr/share/man &lt;br /&gt;&lt;br /&gt;--infodir=/usr/share/info &lt;br /&gt;&lt;br /&gt;--disable-cgi &lt;br /&gt;&lt;br /&gt;--disable-debug &lt;br /&gt;&lt;br /&gt;--disable-rpath &lt;br /&gt;&lt;br /&gt;--disable-memory-limit &lt;br /&gt;&lt;br /&gt;--disable-ipv6 &lt;br /&gt;&lt;br /&gt;--disable-safe-mode &lt;br /&gt;&lt;br /&gt;--enable-pic &lt;br /&gt;&lt;br /&gt;--enable-discard-path &lt;br /&gt;&lt;br /&gt;--enable-inline-optimization &lt;br /&gt;&lt;br /&gt;--enable-gd-native-ttf &lt;br /&gt;&lt;br /&gt;--enable-gd-imgstrttf &lt;br /&gt;&lt;br /&gt;--enable-magic-quotes &lt;br /&gt;&lt;br /&gt;--enable-sysvsem &lt;br /&gt;&lt;br /&gt;--enable-sysvshm &lt;br /&gt;&lt;br /&gt;--enable-sysvmsg &lt;br /&gt;&lt;br /&gt;--enable-shmop &lt;br /&gt;&lt;br /&gt;--enable-track-vars &lt;br /&gt;&lt;br /&gt;--enable-exif &lt;br /&gt;&lt;br /&gt;--enable-wddx &lt;br /&gt;&lt;br /&gt;--enable-bcmath &lt;br /&gt;&lt;br /&gt;--enable-calendar &lt;br /&gt;&lt;br /&gt;--enable-ftp &lt;br /&gt;&lt;br /&gt;--enable-inline-optimization &lt;br /&gt;&lt;br /&gt;--with-apxs2=/usr/sbin/apxs &lt;br /&gt;&lt;br /&gt;--with-mysql=/usr &lt;br /&gt;&lt;br /&gt;--with-pear &lt;br /&gt;&lt;br /&gt;--with-config-file-path=/etc &lt;br /&gt;&lt;br /&gt;--with-exec-dir=/usr/bin &lt;br /&gt;&lt;br /&gt;--with-gd &lt;br /&gt;&lt;br /&gt;--with-png-dir=/usr &lt;br /&gt;&lt;br /&gt;--with-jpeg-dir=/usr &lt;br /&gt;&lt;br /&gt;--with-freetype-dir=/usr &lt;br /&gt;&lt;br /&gt;--with-gettext &lt;br /&gt;&lt;br /&gt;--with-openssl &lt;br /&gt;&lt;br /&gt;--with-regex &lt;br /&gt;&lt;br /&gt;--with-ttf=/usr &lt;br /&gt;&lt;br /&gt;--with-expat-dir=/usr &lt;br /&gt;&lt;br /&gt;--with-dom=/usr &lt;br /&gt;&lt;br /&gt;--with-dom-xslt=/usr &lt;br /&gt;&lt;br /&gt;--with-dom-exslt=/usr &lt;br /&gt;&lt;br /&gt;--with-iconv &lt;br /&gt;&lt;br /&gt;--with-db4=/usr &lt;br /&gt;&lt;br /&gt;--with-gdbm=/usr &lt;br /&gt;&lt;br /&gt;--with-zlib=/usr &lt;br /&gt;&lt;br /&gt;--with-zlib-dir=/usr &lt;br /&gt;&lt;br /&gt;--with-xmlrpc &lt;br /&gt;&lt;br /&gt;--with-xml &lt;br /&gt;&lt;br /&gt;--with-bz2=/usr &lt;br /&gt;&lt;br /&gt;--with-cdb &lt;br /&gt;&lt;br /&gt;--enable-mbstring&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;postcolor&quot;&gt;&lt;br /&gt;&lt;br /&gt;------------------------------------------- &lt;br /&gt;&lt;br /&gt;When compiling programs (like PHP, eaccelerator, etc..), you can fine-tune some of your compile-options to enhance performance for your CPU&#039;s capabilities (and remove excess stuff like debug info) &lt;br /&gt;&lt;br /&gt;As mentioned before, I run dual xeon&#039;s (P4&#039;s for all practical purposes). If you are using a different CPU then you might have to go look up the proper flags at the GCC website. &lt;br /&gt;&lt;br /&gt;Before compiling a program, you can set the following flags: &lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;&lt;br /&gt;&lt;br /&gt;export CFLAGS=&amp;quot;-O3 -pipe -mcpu=pentium4 -march=pentium4 -fomit-frame-pointer&amp;quot;&lt;br /&gt;&lt;br /&gt;export CXXFLAGS=&amp;quot;${CFLAGS}&amp;quot;&lt;br /&gt;&lt;br /&gt;export CHOST=&amp;quot;i686-pc-linux-gnu&amp;quot;&lt;br /&gt;&lt;br /&gt;export MAKEOPTS=&amp;quot;-j2&amp;quot;&lt;br /&gt;&lt;br /&gt;export LDFLAGS=&amp;quot;-Wl,-O1&amp;quot;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;postcolor&quot;&gt;&lt;br /&gt;&lt;br /&gt;These flags are considered &amp;quot;stable&amp;quot; and should enhance performance a little for software that you compile with these options. There are tons of other flags, however some reduce precision for certain math (which can cause problems in certain software) and others may reduce stabililty. &lt;br /&gt;&lt;br /&gt;------------------------------------------- &lt;br /&gt;&lt;br /&gt;I guess that&#039;s about it... Use the information at your own risk. Hopefully it will help some people out, or at least point them in the right direction. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Please don&#039;t post questions that are like: &amp;quot;here&#039;s my config, can you optimize it for X server?&amp;quot;. I don&#039;t check these forums that often, so I probably won&#039;t reply to your question.&lt;/b&gt; &lt;br /&gt;&lt;br /&gt;Server tuning is more of an art than just entering X setting to Y number. Before making changes, keep your old configs. Also get a monitoring program so you can graph out your server load and other vitals. That way you can see before &amp;amp; after results. Also, if you run a forum, let your users know that you are going to make changes, and get their feedback on response time and such from them. &lt;br /&gt;&lt;br /&gt;Enjoy. &lt;/div&gt;&lt;div class=&quot;postcolor&quot;&gt;&lt;/div&gt;&lt;div class=&quot;postcolor&quot;&gt;Source: &lt;a href=&quot;http://forums.theplanet.com/index.php?showtopic=48880&quot;&gt;http://forums.theplanet.com/index.php?showtopic=48880&lt;/a&gt;&lt;/div&gt;
   </description>
   <link>http://www.booservers.com/archivo/52_4_primary_areas_for_tuning_your_server.html</link>
   <comments>http://www.booservers.com/archivo/52_4_primary_areas_for_tuning_your_server.html</comments>
   <guid>http://www.booservers.com/archivo/52_4_primary_areas_for_tuning_your_server.html</guid>
      <dc:creator>Luigi Ramone</dc:creator>
      
    <category>Cpanel</category>
      
    <category>Apache</category>
      
    <category>Security</category>
      
    <category>DNS</category>
      
    <category>RedHat</category>
      
    <category>System</category>
      
    <category>Mail</category>
         <pubDate>Thu, 04 Sep 2008 14:57:07</pubDate>
   <source url="http://www.booservers.com/feeds/rss20">Booservers - All about dedicated servers</source>
     </item>
    <item>
   <title>Redhat ROD/Remote Console How To</title>
   <description>
    Redhat with Grub: &lt;br /&gt;&lt;br /&gt;1. Edit grub.conf with your favorite editor so you can manipulate grub and the boot process via remote console: &lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;serial --unit=0 --speed=9600&lt;br /&gt;&lt;br /&gt;terminal --timeout=10 serial console &lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br/&gt;&lt;center&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-7209259988091090&quot;;
google_ad_width = 300;
google_ad_height = 250;
google_ad_format = &quot;300x250_as&quot;;
google_ad_type = &quot;text_image&quot;;
google_ad_channel =&quot;3498328464&quot;;
google_color_border = &quot;FFFFFF&quot;;
google_color_bg = &quot;FFFFFF&quot;;
google_color_link = &quot;006633&quot;;
google_color_url = &quot;000000&quot;;
google_color_text = &quot;0033CC&quot;;
//--&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
  src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/center&gt;&lt;br&gt;Example: &lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;# grub.conf generated by anaconda&lt;br /&gt;&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;# Note that you do not have to rerun grub after making changes to this file&lt;br /&gt;&lt;br /&gt;# NOTICE:  You have a /boot partition.  This means that&lt;br /&gt;&lt;br /&gt;#          all kernel and initrd paths are relative to /boot/, eg.&lt;br /&gt;&lt;br /&gt;#          root (hd0,0)&lt;br /&gt;&lt;br /&gt;#          kernel /vmlinuz-version ro root=/dev/hda3&lt;br /&gt;&lt;br /&gt;#          initrd /initrd-version.img&lt;br /&gt;&lt;br /&gt;#boot=/dev/hda&lt;br /&gt;&lt;br /&gt;serial --unit=0 --speed=9600&lt;br /&gt;&lt;br /&gt;terminal --timeout=10 serial console &lt;br /&gt;&lt;br /&gt;default=0&lt;br /&gt;&lt;br /&gt;timeout=3&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;You will also need to add options to the kernel line if you want to see the kernel booting and if you need to do file system maintenance via the remote console (IE it is stuck at fsck errors): &lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;console=tty0 console=ttyS0,9600 &lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Example: &lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;title Red Hat Enterprise Linux ES (2.4.21-27.EL)&lt;br /&gt;&lt;br /&gt;       root (hd0,0)&lt;br /&gt;&lt;br /&gt;       kernel (hd0,0)/vmlinuz-2.4.21-27.EL root=/dev/hda3 console=tty0 console=ttyS0,9600 &lt;br /&gt;&lt;br /&gt;       initrd (hd0,0)/initrd-2.4.21-27.EL.img&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;i&gt;&lt;u&gt;NOTE&lt;/u&gt;&lt;/i&gt; Your kernel line may differ such as Kernel version and root= device. DO NOT CHANGE THESE, simply append the line with console options.&lt;/b&gt; &lt;br /&gt;&lt;br /&gt;2. If you want shell console access after the boot process you will need to do the following: &lt;br /&gt;&lt;br /&gt;Add the following to the bottom of /etc/inittab: &lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;co:12345:respawn:/sbin/agetty -L 9600 ttyS0 vt100&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Add the following to the bottom of /etc/securetty: &lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;ttyS0&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Restart getty to get immediate access to Remote Console: &lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;telinit q&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;Source: &lt;a href=&quot;http://forums.theplanet.com/index.php?showtopic=77085&quot;&gt;http://forums.theplanet.com/index.php?showtopic=77085&lt;/a&gt;&lt;/div&gt;
   </description>
   <link>http://www.booservers.com/archivo/51_redhat_rodremote_console_how_to.html</link>
   <comments>http://www.booservers.com/archivo/51_redhat_rodremote_console_how_to.html</comments>
   <guid>http://www.booservers.com/archivo/51_redhat_rodremote_console_how_to.html</guid>
      <dc:creator>Luigi Ramone</dc:creator>
      
    <category>RedHat</category>
      
    <category>System</category>
         <pubDate>Thu, 04 Sep 2008 14:56:25</pubDate>
   <source url="http://www.booservers.com/feeds/rss20">Booservers - All about dedicated servers</source>
     </item>
    <item>
   <title>Debian ROD/Remote Console How To</title>
   <description>
    Add the following to /etc/lilo.conf: &lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;append = &amp;quot;console=ttyS0,9600n8&amp;quot;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Run Lilo for the changes to take affect. &lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;lilo&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Then add the following to /etc/securetty: &lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;ttyS0&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;edit /etc/inittab - Uncomment the line: &lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100&lt;/div&gt;&lt;br/&gt;&lt;center&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-7209259988091090&quot;;
google_ad_width = 300;
google_ad_height = 250;
google_ad_format = &quot;300x250_as&quot;;
google_ad_type = &quot;text_image&quot;;
google_ad_channel =&quot;3498328464&quot;;
google_color_border = &quot;FFFFFF&quot;;
google_color_bg = &quot;FFFFFF&quot;;
google_color_link = &quot;006633&quot;;
google_color_url = &quot;000000&quot;;
google_color_text = &quot;0033CC&quot;;
//--&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
  src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/center&gt;&lt;br&gt;Reboot &lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;shutdown -r now&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For those who just like to copy and paste: &lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;echo &#039;append = &amp;quot;console=ttyS0,9600n8&amp;quot;&#039; &amp;gt;&amp;gt; /etc/lilo.conf&lt;br /&gt;&lt;br /&gt;lilo&lt;br /&gt;&lt;br /&gt;echo &amp;quot;ttyS0&amp;quot; &amp;gt;&amp;gt; /etc/securetty&lt;br /&gt;&lt;br /&gt;echo &amp;quot;T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100&amp;quot; &amp;gt;&amp;gt; /etc/inittab&lt;br /&gt;&lt;br /&gt;reboot&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;Source: &lt;a href=&quot;http://forums.theplanet.com/index.php?showtopic=78235&quot;&gt;http://forums.theplanet.com/index.php?showtopic=78235&lt;/a&gt;&lt;/div&gt;
   </description>
   <link>http://www.booservers.com/archivo/50_debian_rodremote_console_how_to.html</link>
   <comments>http://www.booservers.com/archivo/50_debian_rodremote_console_how_to.html</comments>
   <guid>http://www.booservers.com/archivo/50_debian_rodremote_console_how_to.html</guid>
      <dc:creator>Luigi Ramone</dc:creator>
      
    <category>System</category>
         <pubDate>Thu, 04 Sep 2008 14:55:27</pubDate>
   <source url="http://www.booservers.com/feeds/rss20">Booservers - All about dedicated servers</source>
     </item>
    <item>
   <title>Windows ROD/Remote Console How To</title>
   <description>
    &lt;div class=&quot;postcolor&quot; id=&quot;post-492175&quot;&gt;Open a command prompt or the run menu and run the following: &lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;bootcfg.exe /ems ON /port COM1 /baud 9600 /ID 1&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;To see if this was performed correctly open the boot.ini file and confirm that the following was added: &lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;redirect=COM1&lt;br /&gt;&lt;br /&gt;redirectbaudrate=9600&lt;br /&gt;&lt;br /&gt;/redirect&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;After the server has been rebooted look for the Special Administration Console Helper process to be started. This has to be running for the EMS to be enabled. &lt;/div&gt;&lt;br/&gt;&lt;center&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-7209259988091090&quot;;
google_ad_width = 300;
google_ad_height = 250;
google_ad_format = &quot;300x250_as&quot;;
google_ad_type = &quot;text_image&quot;;
google_ad_channel =&quot;3498328464&quot;;
google_color_border = &quot;FFFFFF&quot;;
google_color_bg = &quot;FFFFFF&quot;;
google_color_link = &quot;006633&quot;;
google_color_url = &quot;000000&quot;;
google_color_text = &quot;0033CC&quot;;
//--&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
  src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/center&gt;&lt;br&gt;Source: &lt;a href=&quot;http://forums.theplanet.com/index.php?showtopic=77089&quot;&gt;http://forums.theplanet.com/index.php?showtopic=77089&lt;/a&gt;
   </description>
   <link>http://www.booservers.com/archivo/49_windows_rodremote_console_how_to.html</link>
   <comments>http://www.booservers.com/archivo/49_windows_rodremote_console_how_to.html</comments>
   <guid>http://www.booservers.com/archivo/49_windows_rodremote_console_how_to.html</guid>
      <dc:creator>Luigi Ramone</dc:creator>
      
    <category>System</category>
         <pubDate>Thu, 04 Sep 2008 14:54:35</pubDate>
   <source url="http://www.booservers.com/feeds/rss20">Booservers - All about dedicated servers</source>
     </item>
    <item>
   <title>FBSD ROD/Remote Console How To</title>
   <description>
    Dual console for boot and kernel: &lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;echo -Dh &amp;gt;&amp;gt; /boot.config&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Add the following to /etc/ttys for shell access: &lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;ttyd0   &amp;quot;/usr/libexec/getty std.9600&amp;quot;   cons25  on secure&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Note that this will require a reboot to function properly. &lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;shutdown –r now&lt;/div&gt;&lt;br/&gt;&lt;center&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-7209259988091090&quot;;
google_ad_width = 300;
google_ad_height = 250;
google_ad_format = &quot;300x250_as&quot;;
google_ad_type = &quot;text_image&quot;;
google_ad_channel =&quot;3498328464&quot;;
google_color_border = &quot;FFFFFF&quot;;
google_color_bg = &quot;FFFFFF&quot;;
google_color_link = &quot;006633&quot;;
google_color_url = &quot;000000&quot;;
google_color_text = &quot;0033CC&quot;;
//--&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
  src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/center&gt;&lt;br&gt;Source: &lt;a href=&quot;http://forums.theplanet.com/index.php?showtopic=77087&quot;&gt;http://forums.theplanet.com/index.php?showtopic=77087&lt;/a&gt;
   </description>
   <link>http://www.booservers.com/archivo/48_fbsd_rodremote_console_how_to.html</link>
   <comments>http://www.booservers.com/archivo/48_fbsd_rodremote_console_how_to.html</comments>
   <guid>http://www.booservers.com/archivo/48_fbsd_rodremote_console_how_to.html</guid>
      <dc:creator>Luigi Ramone</dc:creator>
      
    <category>System</category>
         <pubDate>Thu, 04 Sep 2008 14:53:45</pubDate>
   <source url="http://www.booservers.com/feeds/rss20">Booservers - All about dedicated servers</source>
     </item>
    <item>
   <title>HOWTO: FFmpeg + FFmpeg-PHP + Mplayer + Mencoder + flv2tool + LAME MP3 Encoder + Libog</title>
   <description>
    &lt;font color=&quot;#ff0000&quot;&gt;A few people have asked for this to be done so heres a howto for installing:&lt;br /&gt;&lt;br /&gt;FFmpeg&lt;br /&gt;FFmpeg-PHP&lt;br /&gt;Mplayer + Mencoder (mencoder is now built into the mplayer svn release )&lt;br /&gt;flv2tool ****REQUIRES RUBY ON RAILS****&lt;br /&gt;LAME MP3 Encoder&lt;br /&gt;Libogg&lt;br /&gt;Libvorbis&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align=&quot;center&quot;&gt;&lt;b&gt;&lt;span style=&quot;#ff0000&quot;&gt;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++&lt;br /&gt;++&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align=&quot;center&quot;&gt;&lt;span style=&quot;#0000ff&quot;&gt;**** UPDATED 10 FEBRUARY 2008 **** &lt;/span&gt;&lt;/div&gt;&lt;br/&gt;&lt;center&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-7209259988091090&quot;;
google_ad_width = 300;
google_ad_height = 250;
google_ad_format = &quot;300x250_as&quot;;
google_ad_type = &quot;text_image&quot;;
google_ad_channel =&quot;3498328464&quot;;
google_color_border = &quot;FFFFFF&quot;;
google_color_bg = &quot;FFFFFF&quot;;
google_color_link = &quot;006633&quot;;
google_color_url = &quot;000000&quot;;
google_color_text = &quot;0033CC&quot;;
//--&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
  src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/center&gt;&lt;br&gt;&lt;div class=&quot;codetop&quot;&gt;CODE&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;cd /usr/local/src&lt;br /&gt;#GET CRAP:&lt;br /&gt;wget http://www3.mplayerhq.hu/MPlayer/releases/codecs/essential-20061022.tar.bz2  # ( UPDATED 20070308 )&lt;br /&gt;wget http://rubyforge.org/frs/download.php/9225/flvtool2_1.0.5_rc6.tgz&lt;br /&gt;wget http://easynews.dl.sourceforge.net/sourceforge/lame/lame-3.97.tar.gz&lt;br /&gt;wget http://superb-west.dl.sourceforge.net/sourceforge/ffmpeg-php/ffmpeg-php-0.5.0.tbz2&lt;br /&gt;wget http://downloads.xiph.org/releases/ogg/libogg-1.1.3.tar.gz&lt;br /&gt;wget http://downloads.xiph.org/releases/vorbis/libvorbis-1.1.2.tar.gz&lt;br /&gt;#EXTRACT THE CRAP:&lt;br /&gt;tar zxvf flvtool2_1.0.5_rc6.tgz&lt;br /&gt;tar zxvf lame-3.97.tar.gz&lt;br /&gt;tar zxvf libogg-1.1.3.tar.gz&lt;br /&gt;tar zxvf libvorbis-1.1.2.tar.gz&lt;br /&gt;tar zxvf flvtool2_1.0.5_rc6.tgz&lt;br /&gt;tar jxvf essential-20061022.tar.bz2   # ( UPDATED 20070308 )&lt;br /&gt;tar jxvf ffmpeg-php-0.5.0.tbz2&lt;br /&gt;#WE NEED A DIR MADE:&lt;br /&gt;mkdir /usr/local/lib/codecs/&lt;br /&gt;#JUST IN CASE:&lt;br /&gt;up2date -i gcc gmake make libcpp libgcc libstdc++ gcc4 gcc4-c++ gcc4-gfortran&lt;br /&gt;yum install gcc gmake make libcpp libgcc libstdc++ gcc4 gcc4-c++ gcc4-gfortran&lt;br /&gt;#WE NEED TO INSTALL SVN + ROR:&lt;br /&gt;up2date -i subversion&lt;br /&gt;up2date -i ruby&lt;br /&gt;up2date -i ncurses-devel&lt;br /&gt;svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg&lt;br /&gt;svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer&lt;br /&gt;cd /usr/local/src/mplayer&lt;br /&gt;svn update&lt;br /&gt;cd /usr/local/src&lt;br /&gt;#COPY CODECS FOR MPLAYER:&lt;br /&gt;mv /usr/local/src/essential-20061022/* /usr/local/lib/codecs/&lt;br /&gt;chmod -R 755 /usr/local/lib/codecs/&lt;br /&gt;#SECURE TMP IS A PAIN AT TIMES Wink&lt;br /&gt;mkdir /usr/local/src/tmp&lt;br /&gt;chmod 777 /usr/local/src/tmp&lt;br /&gt;export TMPDIR=/usr/local/src/tmp&lt;br /&gt;#LAME:&lt;br /&gt;cd /usr/local/src/lame-3.97&lt;br /&gt;./configure&lt;br /&gt;make &amp;amp;&amp;amp; make install&lt;br /&gt;cd /usr/local/src/&lt;br /&gt;#LIBOGG:&lt;br /&gt;cd /usr/local/src/libogg-1.1.3&lt;br /&gt;./configure &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make install&lt;br /&gt;cd /usr/local/src/&lt;br /&gt;#LIBVORBIS:&lt;br /&gt;cd /usr/local/src/libvorbis-1.1.2&lt;br /&gt;./configure &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make install&lt;br /&gt;cd /usr/local/src/&lt;br /&gt;#FLVTOOL2:&lt;br /&gt;cd /usr/local/src/flvtool2_1.0.5_rc6/&lt;br /&gt;ruby setup.rb config&lt;br /&gt;ruby setup.rb setup&lt;br /&gt;ruby setup.rb install&lt;br /&gt;cd /usr/local/src/&lt;br /&gt;cd /usr/local/src/mplayer&lt;br /&gt;./configure &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make install&lt;br /&gt;cd /usr/local/src/&lt;br /&gt;#FFMPEG:&lt;br /&gt;cd /usr/local/src/ffmpeg/&lt;br /&gt;#./configure --enable-libmp3lame --enable-libogg --enable-libvorbis --disable-mmx --enable-shared&lt;br /&gt;### configure options changed ###&lt;br /&gt;./configure --enable-libmp3lame  --disable-mmx --enable-shared&lt;br /&gt;######### IGNORE THIS ECHO LINE  The dev&#039;s fixed the issue in svn. Im only leaveing it here in case it comes up again ###############&lt;br /&gt;#####echo &#039;#define HAVE_LRINTF 1 &#039;&amp;gt;&amp;gt;config.h&lt;br /&gt;################################################################################&lt;br /&gt;#############################&lt;br /&gt;make&lt;br /&gt;make install&lt;br /&gt;ln -s /usr/local/lib/libavformat.so.50 /usr/lib/libavformat.so.50&lt;br /&gt;ln -s /usr/local/lib/libavcodec.so.51 /usr/lib/libavcodec.so.51&lt;br /&gt;ln -s /usr/local/lib/libavutil.so.49 /usr/lib/libavutil.so.49&lt;br /&gt;ln -s /usr/local/lib/libmp3lame.so.0 /usr/lib/libmp3lame.so.0&lt;br /&gt;ln -s /usr/local/lib/libavformat.so.51 /usr/lib/libavformat.so.51&lt;br /&gt;ln -s /usr/local/lib/libavformat.so.52 /usr/lib/libavformat.so.52  &lt;br /&gt;ln -s /usr/local/lib/libavdevice.so.52 /usr/lib/libavdevice.so.52   &lt;br /&gt;cd /usr/local/src/&lt;br /&gt;#FFMPEG-PHP:&lt;br /&gt;cd /usr/local/src/ffmpeg-php-0.5.0/&lt;br /&gt;yum -y install autoconf&lt;br /&gt;up2date -i autoconf&lt;br /&gt;phpize&lt;br /&gt;./configure&lt;br /&gt;make&lt;br /&gt;make install&lt;br /&gt;&lt;br /&gt;#NOTICE: Make sure this is the correct php.ini for the box!!&lt;br /&gt;&lt;br /&gt;echo &#039;extension=/usr/local/lib/php/extensions/no-debug-non-zts-20020429/ffmpeg.so&#039; &amp;gt;&amp;gt; /usr/local/Zend/etc/php.ini&lt;br /&gt;&lt;br /&gt;#NOTICE: Make sure this is the correct php.ini for the box!!&lt;br /&gt;&lt;br /&gt;service httpd restart&lt;br /&gt;cd /usr/local/src&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;&lt;/div&gt;&lt;div class=&quot;codemain&quot;&gt;Source: &lt;a href=&quot;http://forums.theplanet.com/index.php?showtopic=64541&quot;&gt;http://forums.theplanet.com/index.php?showtopic=64541&lt;/a&gt;&lt;/div&gt;
   </description>
   <link>http://www.booservers.com/archivo/47_howto_ffmpeg__ffmpeg-php__mplayer__mencoder__flv2tool__lame_mp3_encoder__libog.html</link>
   <comments>http://www.booservers.com/archivo/47_howto_ffmpeg__ffmpeg-php__mplayer__mencoder__flv2tool__lame_mp3_encoder__libog.html</comments>
   <guid>http://www.booservers.com/archivo/47_howto_ffmpeg__ffmpeg-php__mplayer__mencoder__flv2tool__lame_mp3_encoder__libog.html</guid>
      <dc:creator>Luigi Ramone</dc:creator>
      
    <category>Apache</category>
      
    <category>Streaming audio</category>
         <pubDate>Thu, 04 Sep 2008 14:50:24</pubDate>
   <source url="http://www.booservers.com/feeds/rss20">Booservers - All about dedicated servers</source>
     </item>
    <item>
   <title>How to setup email Smart Host to send emails via Gmail or DynDNS&#039;s smtp.</title>
   <description>
    Lately my TP server was having problems sending emails to Yahoo addresses. Most emails were put under mail queue for hours. I decided to setup a Smart Host under Exim. If the recipients&#039; emails are Yahoo addresses, the Smart Host will be engaged.&lt;br /&gt;&lt;br /&gt;There are two SMTPs that can be used - Gmail or DynDNS. While Gmail&#039;s smtp is free, a copy of the email will be placed under the SENT EMAIL folder once it is processed. This will take up the 2Gb space soon if you have a lot of emails to process. Also, there is no one-click solution to purge emails under SENT EMAIL folder.&lt;br /&gt;&lt;br /&gt;So I decided to use DynDNS.com&#039;s MailHop Outbound service. It is sold at the block of 150 relays per day @ $15/year. Meaning, you can process 150 mails each day. If you have more, then you have to purchase more blocks. To find out how many emails you have processed under DynDNS, log into your account and view the statistics.&lt;br/&gt;&lt;center&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-7209259988091090&quot;;
google_ad_width = 300;
google_ad_height = 250;
google_ad_format = &quot;300x250_as&quot;;
google_ad_type = &quot;text_image&quot;;
google_ad_channel =&quot;3498328464&quot;;
google_color_border = &quot;FFFFFF&quot;;
google_color_bg = &quot;FFFFFF&quot;;
google_color_link = &quot;006633&quot;;
google_color_url = &quot;000000&quot;;
google_color_text = &quot;0033CC&quot;;
//--&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
  src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;/center&gt;&lt;br&gt;# Select the SMTP to use:&lt;br /&gt;For Gmail:&lt;br /&gt;First, enable POP for your gmail account. You do that in the “Forwarding and POP” section of the settings.&lt;br /&gt;&lt;br /&gt;For DynDNS:&lt;br /&gt;Subscribe to the MailHop Outbound service.&lt;br /&gt;&lt;br /&gt;# Next, create a domain list. This domain list will hold the list of domains to send via gmail or DynDNS, one domain per line. Save your domain list as /etc/exim/gmail.domains or /etc/exim/dyndns.domains .&lt;br /&gt;&lt;br /&gt;# Then, add a domain list to your exim configuration. For WHM/cPanel, go to Exim Configuration Editor &amp;gt;&amp;gt; Advanced Editor and enter this line below the very top box of Exim Configuration Editor:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;quotetop&quot;&gt;QUOTE&lt;/div&gt;&lt;div class=&quot;quotemain&quot;&gt;&lt;span style=&quot;#0000ff&quot;&gt;domainlist use_gmail_domains = /etc/exim/gmail.domains&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;quotetop&quot;&gt;QUOTE&lt;/div&gt;&lt;div class=&quot;quotemain&quot;&gt;&lt;span style=&quot;#008000&quot;&gt;domainlist use_dyndns_domains = /etc/exim/dyndns.domains&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;# Seach for the string &amp;quot;begin authenticators&amp;quot;. In the box after this string, create an authenticator.&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;quotetop&quot;&gt;QUOTE&lt;/div&gt;&lt;div class=&quot;quotemain&quot;&gt;&lt;span style=&quot;#0000ff&quot;&gt;gmail_login:&lt;br /&gt;driver = plaintext&lt;br /&gt;public_name = LOGIN&lt;br /&gt;client_send = : YourGmailUsername@gmail.com : YourGmailPassword&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;quotetop&quot;&gt;QUOTE&lt;/div&gt;&lt;div class=&quot;quotemain&quot;&gt;&lt;span style=&quot;#008000&quot;&gt;dyndns_login:&lt;br /&gt;driver = plaintext&lt;br /&gt;public_name = LOGIN&lt;br /&gt;client_send = : YourDyndnsUsername : YourDyndnsPassword&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Note that in a default exim configuration there are usually no authenticators, so don’t forget the &lt;b&gt;&lt;i&gt;begin authenticators&lt;/i&gt;&lt;/b&gt; statement if this is your first one.&lt;br /&gt;&lt;br /&gt;# Under the ROUTER CONFIGURATION box, add a router:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;quotetop&quot;&gt;QUOTE&lt;/div&gt;&lt;div class=&quot;quotemain&quot;&gt;&lt;span style=&quot;#0000ff&quot;&gt;send_via_gmail:&lt;br /&gt;driver = manualroute&lt;br /&gt;domains = +use_gmail_domains&lt;br /&gt;transport = gmail_smtp&lt;br /&gt;route_list = &amp;quot;* smtp.gmail.com byname&amp;quot;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;quotetop&quot;&gt;QUOTE&lt;/div&gt;&lt;div class=&quot;quotemain&quot;&gt;&lt;span style=&quot;#008000&quot;&gt;send_via_dyndns:&lt;br /&gt;driver = manualroute&lt;br /&gt;domains = +use_dyndns_domains&lt;br /&gt;transport = dyndns_smtp&lt;br /&gt;route_list = &amp;quot;* outbound.mailhop.org byname&amp;quot;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;# Under the TRANSPORTATION CONFIGURATION box, forcing it to use AUTH and TLS (TLS is not required for DynDNS):&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;quotetop&quot;&gt;QUOTE&lt;/div&gt;&lt;div class=&quot;quotemain&quot;&gt;&lt;span style=&quot;#0000ff&quot;&gt;gmail_smtp:&lt;br /&gt;driver = smtp&lt;br /&gt;hosts = smtp.gmail.com&lt;br /&gt;hosts_require_auth = smtp.gmail.com&lt;br /&gt;hosts_require_tls = smtp.gmail.com&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;quotetop&quot;&gt;QUOTE&lt;/div&gt;&lt;div class=&quot;quotemain&quot;&gt;&lt;span style=&quot;#008000&quot;&gt;dyndns_smtp:&lt;br /&gt;driver = smtp&lt;br /&gt;hosts = outbound.mailhop.org&lt;br /&gt;hosts_require_auth = outbound.mailhop.org&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;# Save Exim config and restart Exim. &lt;/p&gt;&lt;p&gt;Source: &lt;a href=&quot;http://forums.theplanet.com/index.php?showtopic=90364&quot;&gt;http://forums.theplanet.com/index.php?showtopic=90364&lt;/a&gt;&lt;/p&gt;
   </description>
   <link>http://www.booservers.com/archivo/46_how_to_setup_email_smart_host_to_send_emails_via_gmail_or_dyndnss_smtp.html</link>
   <comments>http://www.booservers.com/archivo/46_how_to_setup_email_smart_host_to_send_emails_via_gmail_or_dyndnss_smtp.html</comments>
   <guid>http://www.booservers.com/archivo/46_how_to_setup_email_smart_host_to_send_emails_via_gmail_or_dyndnss_smtp.html</guid>
      <dc:creator>Luigi Ramone</dc:creator>
      
    <category>Mail</category>
         <pubDate>Thu, 04 Sep 2008 14:47:08</pubDate>
   <source url="http://www.booservers.com/feeds/rss20">Booservers - All about dedicated servers</source>
     </item>
   </channel>
</rss>
