increase the loop device count
1
2
3
4
5
6
7
|
Increasing the loop devices from the default 7 to 150:
– umount /dev/loop *
– modprobe –r loop
– modprobe loop max_loop=150
– vi /etc/modprobe.conf
options loop max_loop=150
|
Put a time stamp in history
1
2
3
4
5
6
|
– vi /etc/bash.bashrc
– insert any one of the following line (of course remove the commenting out part!)
#HISTTIMEFORMAT=${HISTTIMEFORMAT:-“%F %H:%M:%S”}
#HISTTIMEFORMAT=’%F %T ‘
HISTTIMEFORMAT=‘%F %H:%M:%S ‘
|
Auto start services
1
2
3
4
5
6
|
– Works with Centos or Redhat
– sudo /sbin/chkconfig —add mysqld
– sudo /sbin/chkconfig —list mysqld
– sudo /sbin/chkconfig mysqld on
– To find out the name of service‘s script from /etc/init.d/ directory e.g. mysqld or httpd
|