This is a recipe I use when installing Solaris 10 (Core only). It’s easier to install the needed software than to trim down a full install and I like the fact that I have a clean server to start off with the minimal software installed.
For disk layout, you can do whatever your comfortable with or [...]
Solaris Core Install Recipe
February 8th, 2010 | Posted in Blog, Solaris | No Comments
Linux & Solaris enable/disable X on boot
February 7th, 2010 | Posted in Blog, Solaris | No Comments
Linux Disable automatic startup of X on boot Change the default run level in /etc/inittab to 3 id:3:initdefault:
Enable automatic startup of X on boot Change the default run level in /etc/inittab to 5 id:5:initdefault:
Solaris 10
Disable automatic startup of X on boot # /usr/dt/bin/dtconfig -d
Enable automatic startup of X on boot # /usr/dt/bin/dtconfig -e
Solaris 10 text mode installation
February 7th, 2010 | Posted in Blog, Solaris | No Comments
To install Solaris in text mode, do the following from OBP;
boot cdrom – w
Your solaris installation will start in text mode.
PowerDNS Multiple MySQL Backends
January 10th, 2010 | Posted in Blog, Linux, PowerDNS | No Comments
http://doc.powerdns.com/modules.html
To launch two backends of the same type, you can assign a name to each launch like this;
launch=gmysql:connection1,gmysql:connection2
gmysql-connection1-host=10.10.10.1gmysql-connection1-user=pdnsgmysql-connection1-dbname=pdns
gmysql-connection2-host=10.10.10.2gmysql-connection2-user=pdnsgmysql-connection2-dbname=pdns
Debian reset root password
October 21st, 2009 | Posted in Debian, Linux | No Comments
In order to reset the password, you need to boot your debian installation into single user mode. You can do this by following the steps below;
1. Once grub menu comes up, select the single user entry and press ‘e’2. Select the kernel … line and press ‘e’ once again3. Append ‘init=/bin/bash’ at the end of line and press [...]
Postfix port 587 (submission)
August 17th, 2009 | Posted in Blog, Linux | No Comments
Edit /etc/postfix/master.cf and uncomment the submission line;
smtp inet n - - - - smtpd
submission inet n - - - - smtpd
Your postfix installation will now accept connections on both port 25 & 587 which is useful to hand out to users who’s ISP’s block outgoing connections to port 25.
Adding startup script to run levels
August 17th, 2009 | Posted in Blog, Debian | No Comments
Place the startup script in /etc/init.d/ then use update-rc.d to make it start on bootup with the following;
update-rc.d myscript defaults
The option “defaults” puts a symlink to start myscript on run levels 2, 3, 4 and 5 and a symlink in 0, 1 and 6 to stop myscript on shutdown/reboot.
warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied
August 17th, 2009 | Posted in Blog, Debian, Linux, Postfix | No Comments
Check the OPTIONS directive in /etc/default/saslauthd and set it to within your postfix chroot.
OPTIONS=”-c -r -m /var/spool/postfix/var/run/saslauthd”
Then run;
dpkg-statoverride –add root sasl 710 /var/spool/postfix/var/run/saslauthd
adduser postfix sasl
Restart both postfix and saslauthd for the changes to take effect.
Debian xenserver updates apt repository missing GPG key
August 13th, 2009 | Posted in Blog, Debian, Linux, Xen | No Comments
After you’ve installed XenTools on your VM and you try to do a apt-get update you are greeted with a GPG error message saying that the repository isn’t trusted. This is because the GPG key Citrix use to sign their packages has not been added to the apt keyring.
To fix it, run;
wget -q http://updates.vmd.citrix.com/XenServer/5.5.0/GPG-KEY -O- [...]
CentOS yum update Missing Dependency
August 13th, 2009 | Posted in Blog, Linux | No Comments
yum clean all
yum update