repeated errors in /var/log/messages
If your seeing repeated messages like this in /var/log/messages on your Debian/Ubuntu server, you need to install sysklogd.
rsyslogd: [origin software=”rsyslogd” swVersion=”4.6.4″ x-pid=”1015″ x-info=”http://www.rsyslog.com”%5D rsyslogd was HUPed, type ‘lightweight’.
repeated errors in /var/log/messages
If your seeing repeated messages like this in /var/log/messages on your Debian/Ubuntu server, you need to install sysklogd.
rsyslogd: [origin software=”rsyslogd” swVersion=”4.6.4″ x-pid=”1015″ x-info=”http://www.rsyslog.com”%5D rsyslogd was HUPed, type ‘lightweight’.
repeated errors in /var/log/messages
If your seeing repeated messages like this in /var/log/messages on your Debian/Ubuntu server, you need to install sysklogd.
rsyslogd: [origin software=”rsyslogd” swVersion=”4.6.4″ x-pid=”1015″ x-info=”http://www.rsyslog.com”%5D rsyslogd was HUPed, type ‘lightweight’.
repeated errors in /var/log/messages
If your seeing repeated messages like this in /var/log/messages on your Debian/Ubuntu server, you need to install sysklogd.
rsyslogd: [origin software=”rsyslogd” swVersion=”4.6.4″ x-pid=”1015″ x-info=”http://www.rsyslog.com”%5D rsyslogd was HUPed, type ‘lightweight’.
many dovecot processes – try high performance mode
If you are seeing alot of dovecot processes, add this to your dovecot.conf to enable high performance mode:
login_process_per_connection=no
updating to php 5.4.1 with dotdeb
If you are presently using the dotdeb repo for php5, you can upgrade to 5.4.1 by adding the following to your /etc/apt/sources.list
deb http://packages.dotdeb.org squeeze-php54 all
deb-src http://packages.dotdeb.org squeeze-php54 all
deb http://packages.dotdeb.org squeeze all
deb-src http://packages.dotdeb.org squeeze all
You should then do apt-get update, apt-get upgrade. If you get a message that some packages have been held back you should then type apt-get dist-upgrade.
Check your php installation by typing php -v. If you see errors, you probably need to comment out .ini files that are no longer used in the new version such as suhosin.ini.
xterm look in Debian or Ubuntu
If you want your Ubuntu or Debian xterm to look like the RH/Centos version, add this to your /etc/X11/Xresources/x11-common file or just replace the /etc/X11/Xresources with this file:
This is the global resources file that is loaded when
! all users log in, as well as for the login screen
! Fix the Xft dpi to 96; this prevents tiny fonts
! or HUGE fonts depending on the screen size.
Xft.dpi: 96
! hintstyle: medium means that (for Postscript fonts) we
! position the stems for maximum constrast and consistency
! but don’t force the stems to integral widths. hintnone,
! hintslight, and hintfull are the other possibilities.
Xft.hintstyle: hintmedium
Xft.hinting: true
Dovecot.conf for newer versions
Here is an updated dovecot.conf (works with squirrelmail) for Centos 6.2 and other distros.
# 2.0.9: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-5-openvz-amd64 i686 CentOS release 6.2 (Final)
auth_mechanisms = plain login
disable_plaintext_auth = no
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
mail_location = mbox:~/mail:INBOX=/var/mail/%u
passdb {
driver = pam
}
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0660
user = postfix
}
}
service imap-login {
vsz_limit = 64 mb
}
service pop3-login {
vsz_limit = 64 mb
}
install vncviewer on Centos
You can install vncviewer on Centos with the usual yum install vnc. If you want to create a automatic login for a remote server, you can do it easily. First, set the password by running vncpasswd. It will prompt you twice and store the passwd in a file called .vcn/passwd (it is encrypted). Then you can create a gnome application button by dragging the vncviewer icon to the gnome panel and editing. Just click properties and add your server as follows:
/usr/bin/vncviewer servername.com:port -passwd /user/.vnc/passwd
If you have completed the steps correctly, you should be able to click the vnc icon and connect to your server.
OSX lion mouse selection
The Apple mouse is good however, you may want to use a conventional mouse if instead. If you use either Logitech or Microsoft you will be able to greatly improve the scroll speed by downloading their drivers. The current Microsoft driver is Microsoft-Mouse_d305.dmg. The Logitech is also available and it is lcc351.zip. Both can be found at the respective manufacturers sites. After installing these drivers, you will be asked to reboot and you will find the icon in System Preferences/Other. Select your appropriate mouse from the menu and select wheel to control the scroll speed and acceleration.