-
Categories
-
Tags/Keywords
Apache bash blog blog.bigsmoke.us CLI CSS Debian DNS Firefox Gentoo Google HTML HTTP iptables Linux MediaWiki mod_rewrite MySQL network PHP plugin postfix RAID Ruby samba Screen shell Sicirec smb SSH ssl Subversion svn T61 thunderbird Ubuntu van der Molen VIM Windows WordPress WWW X xen XTerm zimbra -
Recent Posts
-
Recent Comments
Author: halfgaar
Ubuntu 10.10 with kernel 2.6.35-25 shutdown problem as Xen DomU
The current kernel in Ubuntu Maverick has a problem with shutting down when running as a Xen DomU (guest). When the VM has more than 1 VCPU, it won't reboot or shutdown.
Read More »
Adding a disk to a RAID5 array on a 3Ware array with tw_cli
I wanted to know if I could extend the size of a RAID5 array on the 3Ware 9650SE, so I tried something.
Read More »
Create a remote repository and branch with bzr
Create a shared remote bzr repository:
bzr init-repo --no-trees sftp://development@server.example.com/srv/bzr/project/
bzr init sftp://development@server.example.com/srv/bzr/project/trunk
bzr co sftp://development@server.example.com/srv/bzr/project/trunk project
Read More »
Executing system commands from PHP with SUID executable.
If you want to execute system commands from something like PHP, you need a SUID executable which you can call from your PHP scripts. This is such a script. It could be extended to support parameters for the commands you want to execute, but that would be an enormous security risk, because then anybody can execute any command. If you need something as flexible as that, you need to think about adding some kind of security restrictions, like a list of allowed commands.
Read More »
Configuring a Power DNS superslave server
Power DNS, as opposed to Bind, has the option to be a superslave. This means that it will initiate any zone transfer from trusted hosts, avoiding the need to configure each zone on both master and slave.
Read More »
Roos Roos Loon installation and configuration weirdness
Because Roos Roos Loon has always been an application that stored its data files in the program files directory, special measures had to be taken to make sure the data files are backed up. I wanted them on a network drive. To that end, I always installed the entire program on a network drive.
Read More »
Finding junction files in Windows 7 and exclude them with DeltaCopy
Windows 7 has a sort of hard link, a junction file, which it uses to link the old location "Documents and Settings" to /Users/. Because of all this junctioning, you can't just copy files with a Cygwin program like Deltacopy, because it will hang in infinite loop and copy a whole lot of things twice.
Read More »
Bash script template
A template bash script, for when you need something overengineerd that works. Read More »
Allowing apache to set Nagios cmd file
On debian, to prevent:
Error: Could not stat() command file ‘/var/lib/nagios3/rw/nagios.cmd’! Read More »
