I just want to take a minutes to wish everyone who uses this tech blog, a Happy and Safe Holiday! Enjoy those tech gadgets and I’ll see you all next year…. GOGO 2010!

none

Nothing more than a “make sure you do this”, not really a knowledge base. It’s come to my attention that when people make changes to the httpd.conf on a server that is running Cpanel, that they don’t update the distiller file. So when they recompile apache, they lose any changes they made. Please be sure when you manually update httpd.conf that you save the changes to the distiller file by running the following;

/usr/local/cpanel/bin/apache_conf_distiller --update --main
*make sure if you copy and paste the command that it doesn’t replace the “-” with a “.”

Make sure that you modify the proper files when making the changes. For example to modify the number of servers that the Apache process can run, you will need to modify  /usr/local/apache/conf/extra/httpd-mpm.conf .

 StartServers          5
    MinSpareServers       5
    MaxSpareServers      10
    MaxClients          150
    MaxRequestsPerChild   0

 

If you need to modify the Time out settings, yo will need to modify the /usr/local/apache/conf/extra/httpd-default.conf .

# Timeout: The number of seconds before receives and sends time out.
#
Timeout 150

# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
#
KeepAlive Off 

 

 

 

It will confirm that the changes were saved and this will save the changes to the main distiller config, saving them for all apache compiles.

You can test this by running the following to reload the httpd.conf and confirm the change;

/scripts/rebuildhttpdconf

none

1. SSH to the server that has VsFTP, and SU to it.
2. Edit file /etc/vsftpd/vsftpd.conf, find line
anonymous_enable=YES
change to
anonymous_enable=NO
3. Do /sbin/service vsftpd restart
4. Try to ftp to domain or IP without providing a user/password. Access will be rejected.

Anonymous FTP has been rejected!

none

To resize a partition with Windows Vista / Windows 7 / Windows 2008, follow these steps:

Be sure to back up any valuable information, because there is a slight chance that data can be lost when dealing with partitions.

1) Click on the Start menu

2) Right click on Computer and click on Manage.


1

3) Open up the Storage category and click on Disk Management on the left hand panel.


2



Read the rest of this entry…

none

Windows 2008, by default has all ICMP requests turned off. This of course can cause issues with ping requests or using any type of monitors that ping the server for heartbeats. However turning this option on isn’t exactly how it was in Windows 2003 and it’s not located in the Windows firewall settings.  To enable it, you have to goto the Windows firewall with advanced security settings, which is in the administrative tools section.
To get to the Windows firewall with advanced security, you’ll need to goto the control panel and the administrative tools. You can also goto to the administrative tools directly if there is a link in your programs bar.

icmp1

Once there , look inside of the inbound ruleset and scroll down to the file and printer sharing. You’ll need to right click and enable the “FIle and Printer Sharing (echo request - ICMPv4-in) rule.

icmp2

This will enable the rule and it will no longer bt grayed out (it will be green now).

icmp3

You can also enable thiss by running the following command from the Windows command prompt.

netsh firewall set icmpsetting 8

To disable incoming ICMP requests, type the following.

netsh firewall set icmpsetting 8 disable
none