![]() |
||
The Crucial Blog - Archive February 25, 2008
How to block access from certain IPs in IIS – WindowsYou can block access from certain IPs to IIS by going to: IIS -> Website Properties -> Directory Security tab -> Edit IP Address restrictions Tags: security, system administration, windowsNo Comments Filed under: Uncategorized by — aaron @ 6:42 pm February 25, 2008
Disabling mod_security for a single account through .htaccessSometimes mod_security rules may cause problems for some sites, and give you 403 access denied messages. To disable mod_security on a single account, and prevent the 403 access denied error messages you can add the following to your .htaccess file: SecFilterEngine Off SecFilterScanPOST Off Tags: security, system administrationNo Comments Filed under: Uncategorized by — aaron @ 6:38 pm February 25, 2008
How to remove a user in LinuxTo check if a user exists in Linux, you can go: 1. You want to remove any files owned by that user, so use the following command: find / -user username 2. Remove all files belonging to the Linux user. 3. Remove the relevant lines from /etc/passwd and /etc/groups For example: cat /etc/passwd | grep username This is the line you would want to remove if you are deleting the user ‘username’: username:x:503:503::/home/username:/bin/bash Note: In some Linux distributions you can use the command userdel, or deluser Tags: linux, ssh, system administrationNo Comments Filed under: Uncategorized by — aaron @ 5:31 pm February 25, 2008
cPanel/WHM: quotacheck: Can’t find filesystem to check or filesystem not mounted with quota option.When you receive this error message in cPanel/WHM: /scripts/fixquotas quotacheck: Can’t find filesystem to check or filesystem not mounted with quota option. ….Done First make sure you have the usrquota option for your / partition on /etc/fstab and then reboot the server. If you are still having issues, make sure your kernel supports quotas. Tags: cpanel, quotas, system administrationNo Comments Filed under: Uncategorized by — aaron @ 2:30 am February 25, 2008
Configuring Network Interfaces on CentOS, Redhat, Fedora Core, and DebianCentOS/Red Hat/Fedora Core: The network configuration files are in the folder: The files for the interfaces will be ifcfg-eth0, ifcfg-eth1, ifcfg-eth0:0 (if there are sub-interfaces) Static IP address configuration: Please specify ‘ONBOOT=yes’ which will activate the interface upon system boot Dynamic IP address configuration: Change BOOTPROTO value to dhcp To bind a range of IP address, create a file called ifcfg-eth0-range0 (for example eth0:0, eth0:1, etc) The entries should be: ——————————- IPADDR_START: This is the first IP from the address range you want to bind to your ethernet device. The gateway for the network can be specified in the file ‘/etc/sysconfig/network’ You may also use ‘/usr/sbin/system-config-network-tui’ to configure the network interfaces Debian: The entires are: auto eth0 After you configure the network interfaces restart the network service using ‘/etc/init.d/networking restart’ Tags: centos, debian, fedora core, networking, system administrationNo Comments Filed under: Uncategorized by — aaron @ 12:01 am |
Tag Cloud
firewall
gentoo
yum
windows 2008 server
webmin
subversion
mail
vds
xen
apache
esxi
lxlabs
cpanel
networking
debian
windows server
lxadmin
cisco
joomla
ruby-on-rails
virtual dedicated servers
virtualization
hypervm
vps
control panels
centos
raid
linux
wordpress
fedora
windows
servers
security
server-administration
fantastico
ssh
system administration
centos5
vmware
exchange
microsoft
ubuntu
XenServer
storage
php
|
|
Quick Links: Debian Dedicated Servers, Direct Deposit Hosting, Unmetered Dedicated Servers, Virtual Dedicated Servers, Windows Server Management, High Traffic Web Hosting - Load Balanced Clusters, Windows 2008 Server Virtual Dedicated Servers
© Copyright 2003-2008
Crucial Paradigm
ABN 97 125 618 662