Using smartctl to get information about your Hard Disk
smartctl controls the Self-Monitoring, Analysis and Reporting Technology (SMART) system built into any ATA-3 and later ATA, IDE and SCSI-3 hard drives. The purpose of SMART is to monitor the reliability of the hard drive and predict drive failures, and to carry out different types of drive self-tests. This version of smartctl is compatible with ATA/ATAPI-7 and earlier standards
# smartctl -i /dev/sda
smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF INFORMATION SECTION ===
Model Family: HITACHI Travelstar DK23XX/DK23XXB series
Device Model: HITACHI_DK23EB-40
Serial Number: 446278
Firmware Version: 00K0A0C0
User Capacity: 40,007,761,920 bytes
Device is: In smartctl database [for details use: -P show]
ATA Version is: 5
ATA Standard is: ATA/ATAPI-5 T13 1321D revision 3
Local Time is: Tue Mar 30 21:06:49 2010 IST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
Print all SMART information for drive /dev/hda (Primary Master).
Disable SMART on drive /dev/hdd (Secondary Slave).
How to Install KISS My Firewall on Ensim Control Panel
KISS My Firewall is a FREE iptables script designed for a typical web server. It takes advantage of the latest firewall technologies including stateful packet inspection and connection tracking. It also contains some preventative measures for port scanning, DoS attacks, and IP spoofing, among other things.
KISS My Firewall 2 is very easy to install and does not require any initial configuration. It will work with any stock installation of Ensim WEBppliance Basic & Pro, Plesk, and Webmin. Cpanel installations require some modifications.
When logged in as root ( “su -” ), type:
tar zxvf kiss-2.2.tar.gz
That’s it! To get it running anywhere on the command line, you simply type:
To stop the firewall, type:
To get status information, type:
If you want to block an offenders IP address/subnet, simply edit the BLOCK_LIST variable in the /usr/bin/kiss file. You can separate IP addresses and subnet’s with a space. Once you are finished, simply restart KISS by typing:
Reset the license for Ensim Pro Control Panel Linux
Ensim Pro Control Panel license is tied to a MAC-address. Therefore, when you change your network card, Ensim does not recognize the license as valid anymore.
Rename /etc/appliance/.license/.LIC_file and /etc/appliance/.license/.MLK_file so that the license would be treated as a new one by Ensim
# mv /etc/appliance/.license/.MLK_file /etc/appliance/.license/.MLK_file.bak
# mv /etc/appliance/.license/.LIC_file /etc/appliance/.license/.LIC_file.bak
Once this is done, we need to contact support to reset the license.
Using the excellent access control features of Squid, you may configure use of Internet services proxied by Squid to be available only during normal business hours. For example, we’ll illustrate access by employees of a business which is operating between 9:00AM and 5:00PM, Monday through Friday, and which uses the 10.1.42.0/42 subnetwork:
Add the following to the bottom of the ACL section of your /etc/squid/squid.conf file:
acl biz_network src 10.1.42.0/24
acl biz_hours time M T W T F 9:00-17:00
Then, add the following to the top of the http_access section of your /etc/squid/squid.conf file:
http_access allow biz_network biz_hours
IP aliases disappears after network services is restarted in Ensim
If networks service has been restarted server looses the IP aliases set by ensim.
To get all IP aliases back restart virtualhosting service.
# service virtualhosting restart