Articles
- Debian remove unused dependences

After installing and playing around with your Linux distribution you might end up with a load of installed dependences doing nothing but taking up space on your drive. With a cool little program you can find all packages that can be removed, deborphan. deborphan –guess-all This will give you a list of packages that are [...]

No comments

- Modified theme

Hey, I changed the site theme to have next and previous posts at the bottom of each full post. It doesn’t really work when there are no more before it, because it leaves a floaty line :/ . I’m sure there’s something that will fix that. Now I’m off to find food.

No comments

- iptables reroute to another IP

This is how I re-routed all traffic through port 25565 to another IP address. echo “1″ > /proc/sys/net/ipv4/ip_forward iptables -t nat -A PREROUTING -p tcp –dport 25565 -j DNAT –to-destination <IP> iptables -t nat -A POSTROUTING -j MASQUERADE To clear what you just did: iptables -F iptables -X iptables -t nat -F iptables -t nat [...]

No comments

- Inject things into a screen session

Say you have a screen session running and you want to have a bash script access and run a command, you can do it with this. #!/bin/sh screen -S minecraft -p 0 -X stuff “`printf “say This is a test.\r”`”; This injects the command “say This is a test” to the screen called minecraft. Found [...]

No comments

- How to install Icinga Debian [UNFINISHED]

Upload the tar to user server. scp ./icinga-1.2.1.tar.gz osaka[at]nationpigeon.com:./icinga/ Extract it tar -xvf icinga-1.2.1.tar.gz ./configure make make all Then I got an error on make install, said there was no user ‘icinga’ so I created one. useradd -m icinga passwd icinga And it worked fine. Created a group for the user so it can send [...]

No comments

- ssh login with out password

If you frequently use ssh to login or run commands on a remote machine, it might be helpful for you if you did not have to not enter a password each time you want to connect to the server, this can be done by uploading your public ssh key to the servers ssh files. With [...]

No comments

- rm exclude

With help from Google and Linux forum, found a cool command that will delete everything else but not the folder or file name in the specified field behold the command of destiny! rm -r `ls | grep -v ‘snapshots’` Make sure that around the piped ls command you have tilda and a single quote around [...]

No comments

- Some info on apt

apt-get install food apt is a very cool and easy to use package manager for UNIX based systems. Here are some simple and effective commands that might help you do things XD apt-get update – makes sure that all the information is newest. apt-get upgrade – checks for all packages that needs to be updated. [...]

No comments

- Minecraft Server

Yay for minecraft.  We have set up a nationpigeon minecraft server located at 213.229.116.101 ornationpigeon.com. Its all in testing mode at the moment, so it might explode.  Hopfully it will work well if not tell me and I’ll see what I can do. Enjoy Pete ^____^

No comments

- New Host

Good news, I found a cheap Linux Virtual Server to use.  Which means lots of fun.  So I have moved NationPigeon from streamline, which are not very good, to allsimple.net.  The advantages of this is that I have complete control over the server.  *explosion* Also the fact that its a Virtual machine means that I [...]

No comments