Fix acroread problems on osx

November 29th, 2011 Comments off
  1. Open a terminal as a user.
  2. Create /Users/Shared/10.0
  3. Go to ~/Library/Application Support/Adobe/Acrobat/ and delete the 10.0 folder.
  4. In Terminal enter: ln -s /Users/Shared/10.0 ~/Library/Application Support/Adobe/Acrobat/10.0
  5. This should eliminate acroread problems.
Categories: tech ramblings Tags:

Handy script to parse Postfix maillogs for failed login IP addresses

June 2nd, 2011 Comments off

You can use the script below to parse your maillog (mail.log on Debian based distros) for failed login attempts and place the results in your hosts.deny file or your IP tables config. The script deletes leading 0 IP addresses and filters out [brackets]. You can change the grep filter phrase to your liking.

grep “failed” /var/log/maillog | grep -Eo “([0-9]{1,3}.){3}[0-9]{1,3}” | sed ‘s/^[0]*//’ | uniq

Categories: tech ramblings Tags:

Centos 5.6

April 9th, 2011 Comments off

Centos 5.6 is out.  Check out the upgrade/release info at:

http://lists.centos.org/pipermail/centos-announce/2011-April/017282.html

 

 

Categories: tech ramblings Tags:

Dovecot conf for debian or Centos

January 28th, 2011 Comments off

Here is a miminal dovecot configuration for Centos, Debian or Ubuntu. You will need to modify the location and name of the ssl certs to match your config. This will work for the default debian configuration.

protocols = imaps pop3 pop3s imap
mail_privileged_group = mail
disable_plaintext_auth = no
ssl_cert_file = /etc/ssl/certs/dovecot.pem
ssl_key_file = /etc/ssl/private/dovecot.pem
auth default {
mechanisms = plain login
passdb pam {
}
userdb passwd {
}
socket listen {
client {
path = /var/spool/postfix/private/auth
mode = 0660
user = postfix
group = postfix
}
}
}

Categories: tech ramblings Tags:

Centos 5.5

May 23rd, 2010 No comments

Simple. Just run yum upgrade.

Categories: tech ramblings Tags:

Ubuntu Lucid

May 3rd, 2010 No comments

I have Ubuntu Lucid (10.04) amd 64 running as a desktop. It is superb. It plays Sirius, Apple Trailers, and any other media I have tried. I am using nvidia drivers for compiz however the nouveau driver works fine if you are satisfied with 2D acceleration.

Categories: tech ramblings Tags:

Upgrading to CentOS 5.4

October 22nd, 2009 No comments
Directly from the source:

yum clean all
yum update glibc*
yum update yum* rpm* python*
yum clean all
yum update
shutdown -r now
Categories: tech ramblings Tags:

debian “lenny” vs ubuntu “jaunty”

April 3rd, 2009 No comments

I have used both of these new updates for several weeks. “jaunty” is a moving target but it is rapidly getting finished. It is already quite usable.

First I love the debian “lenny” release. It is very quick, refined and up to date. I have compiled and installed the latest kernel 2.6.29 for both desktops (lenny and jaunty). They both work great with the newest kernel. The latest nvidia releasee (180.44) also works very well. Some of the applications like “streamtuner” seem more stable on “lenny”. However, I did compile xmms for “lenny”. I have to admit with each update “jaunty” is closing the gap.

The big difference which I cannot overcome is the difference in font rendering. It is probably due to Xorg 1.6 but “jaunty” is comparable with Windows XP and despite much tweeking “lenny” just won’t compare. The fonts are acceptable on “lenny” however after you use “jaunty” you just don’t want to go back.

Categories: tech ramblings Tags:

new xorg.conf cont.

April 3rd, 2009 No comments

I have since found that in order for nvidia-settings to work correctly you need this in the xorg.conf file:

Section “ServerLayout”
Identifier     “Default Layout”
Identifier     “Default Layout”
Screen         “Default Screen” 0 0
InputDevice    “Keyboard0″ “CoreKeyboard”
InputDevice    “Mouse0″ “CorePointer”
EndSection
Section “Module”
Load           “glx”
EndSection
Section “InputDevice”
# generated from default
Identifier     “Keyboard0″
Driver         “keyboard”
EndSection
Section “InputDevice”
# generated from default
Identifier     “Mouse0″
Driver         “mouse”
Option         “Protocol” “auto”
Option         “Device” “/dev/psaux”
Option         “Emulate3Buttons” “no”
Option         “ZAxisMapping” “4 5″
EndSection
Section “Monitor”
Identifier     “Configured Monitor”
EndSection
Section “Device”
Identifier     “Configured Video Device”
Driver         “nvidia”
EndSection
Section “Screen”
Option          “DPI” “96×96″
Identifier     “Default Screen”
Device         “Configured Video Device”
Monitor        “Configured Monitor”
DefaultDepth    24
Option         “NoLogo” “True”
Option         “DPI” “96×96″
Option         “RenderAccel” “True”
Option         “TripleBuffer” “True”
Option         “AllowGLXWithComposite” “True”
Option         “AddARGBGLXVisuals” “True”
SubSection     “Display”
Depth       24
Modes      “nvidia-auto-select”
EndSubSection
EndSection

Section “Extensions”
Option         “Composite” “Enable”
Option         “RENDER” “true”
Option         “DAMAGE” “true”
EndSection

Categories: tech ramblings Tags:

Using xorg w/o an xorg.conf file

March 18th, 2009 No comments

With the 2.6.28 kernel series, you can use xorg without xorg.conf. This works fine if you don’t plan to use 3d graphics (nvidia in my case). If you do you will need a minimal xorg.conf. This is what I ended up with:

Section “Module”
Load “glx”
Load “fb”
Load “wfb”
EndSection

Section “Device”
Identifier      “nVidia Corporation G98 [GeForce 8400 GS]”
Driver          “nvidia”
Busid           “PCI:1:0:0″
Option          “AddARGBGLXVisuals”     “True”
Option         “DPI” “1366 x 768″
Option         “RenderAccel” “True”
Option         “TripleBuffer” “True”
Option         “AllowGLXWithComposite” “True”
Option “DisableGLXRootClipping” “True”
Option “BackingStore” “True”

EndSection
Section “Extensions”
Option         “Composite” “Enable”
Option         “RENDER” “true”
Option         “DAMAGE” “true
EndSection

Categories: tech ramblings Tags: