Archive

Archive for the ‘Uncategorized’ Category

OSX Mojave. Brew install wget

January 9, 2019 Comments off

There are some issues when using brew to install wget with OSX Mojave.
I found installing pcre (brew install pcre) fixed my issues.

Categories: sysadmin, Uncategorized

fix php 5.5.12 (dotdeb) permissions

June 14, 2014 Comments off

When upgrading to php 5.5.12 (dotdeb)..the /etc/php5/fpm/pool.d/www.conf file is updated. If your running php-fpm as a socket, these lines need to be uncommitted.

; Set permissions for unix socket, if one is used. In Linux, read/write
; permissions must be set in order to allow connections from a web server. Many
; BSD-derived systems allow connections regardless of permissions.
; Default Values: user and group are set as the running user
; mode is set to 0660
listen.owner = www-data
listen.group = www-data
listen.mode = 0660

listen = /var/run/php5-fpm.sock

Categories: Uncategorized

Centos 5.6

April 9, 2011 Leave a comment

Centos 5.6 is out. Check out the announcement and upgrade info at:

 

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

 

 

Categories: Uncategorized

2.6.38 kernel for squeeze

March 21, 2011 Leave a comment

Installing the new 2.6.38 kernel is pretty straightforward in Debian 6.

First make sure you have the following packages installed:

wget tar bzip2 build-essential libncurses-dev kernel-package fakeroot

Then do this:

wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.38.tar.bz2
tar jxvf linux-2.6.38.tar.bz2
cp /boot/config-$(uname -r) /usr/src/linux-2.6.38/.config
cd linux-2.6.38; make menuconfig
make-kpkg clean
fakeroot make-kpkg –initrd –revision=custom.1.0 kernel_image

to install

dpkg -i ../linux-image-2.6.38_custom.1.0_*.deb

Categories: Uncategorized

Debian 6 Released!

February 7, 2011 Leave a comment

Debian 6 is out.

I notice no problems at all. If you are getting remaining files not updated after apt-get update, try aptitude update and aptitude upgrade. That usually resolves any problems.

Categories: Uncategorized

Add dotdeb gpg key

January 28, 2011 Leave a comment

wget http://www.dotdeb.org/dotdeb.gpg
cat dotdeb.gpg |  apt-key add –

Categories: Uncategorized

Debian Squeeze sources.list with dotdeb

January 28, 2011 Leave a comment

deb http://ftp.us.debian.org/debian/ squeeze main
deb-src http://ftp.us.debian.org/debian/ squeeze main
deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main
deb http://packages.dotdeb.org squeeze all
deb-src http://packages.dotdeb.org squeeze all
deb-src http://debian.hands.com/debian/ squeeze main non-free contrib
deb http://mirror.home-dn.net/debian-multimedia squeeze main
deb http://liquorix.net/debian sid main

Categories: Uncategorized

minimal dovecot.conf for Ubuntu, Centos, and Debian

November 15, 2010 Leave a comment

Here is a minimal doveconf for Ubutnu Maverick. It includes sasl. This also works for Debian including squeeze, and Centos. Debian and Centos use dovecot.pem for both ssl_cert_file and ssl_key_file.

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.key
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: Uncategorized

Ubuntu tasksel

November 5, 2010 Leave a comment

Renewing my experience with Ubuntu led me to try out the tasksel command. This is a very powerful utility (just apt-get install tasksel) to activate.

With tasksel you can configure your system for almost any function such as basic server, lamp server, cloud server, virtual host, etc. Try it you will like it!

Categories: Uncategorized

minimal dovecot.conf for OpenBSD -updated

October 15, 2010 Leave a comment

Here is a minimal dovecot.conf for OpenBSD.

protocols = imaps pop3 imap
protocol pop3 {
listen = *:110
}
ssl_cert_file = /etc/ssl/dovecotcert.pem
ssl_key_file = /etc/ssl/private/dovecot.pem
login_process_per_connection = no
disable_plaintext_auth = no
auth default {
mechanisms = plain login
passdb bsdauth {
}
userdb passwd {
}
user = root
}
dict {
}
plugin {
}

Categories: Uncategorized