Category: Linux

  • uptimed php file

    If you’re running uptimed (or uprecords) and what to display it in a simple php page, you’ll notice the bold text makes the page somewhat ugly. Use this file to remove the bold chars and make it readable. Examples: zero, one, four, vm1, Sauron

  • Prowl: check server status (using ping)

    Yesterday I’ve start using Prowl, as I heard good comments about it. And one of the things I want it to check, are my server statuses. I made a quick script using bash and crontab to check every 10 min if it replies on ping. Per server, I created “host.domain.tld.sh” (e.g. zero.rootspirit.com.sh), and added this…

  • OpenVPN Linux + Mac howto

    A short howto, as I was unable to find any clear ones on the net. I’m using Mac OS X (Leopard) as client, and a Gentoo server as server/host. I both tried Viscosity and Tunnelblick on my Mac as OpenVPN software, and Viscosity is probably somewhat easier to configure (using the GUI), it was shareware.…

  • Imap/Gmail mark as read

    I’ve “updated” my previous php-app. Since today I ended up getting this error: Warning: imap_open(): Couldn’t open stream {imap.gmail.com:993/imap/ssl}[Google Mail]/Spam in /home/yeri/.gmail.php on line 30 Certificate failure for imap.gmail.com: unable to get local issuer certificate: /C=US/ST=California/L=Mountain View/O=Google Inc/CN=imap.gmail.com – Connection failed. Simply searching this line: $open = imap_open (“{imap.gmail.com:993/imap/ssl/}$path” And editing it to: $open =…

  • Gmail automatic “mark (spam) as read”

    I hate having unread mail. I hate having spam. And most of all, I hate spam that asks for attention. When receiving spam in Gmail, you get the annoying bold Spam (12353434) with ‘12353434’ being the number of unread spam messages. With the introduction of Gmail Labs I’d hope to see an “automaticly mark spam…

  • Rsync backups

    My own simple rsync backup ‘script’. You’ll need a rsync server, something to backup, and ssh-agent running to ease the process (or, fill in your password each time). Add the following lines (using a terminal text editor) to a text file (“.rsync” for example, hidden files under Unix-like systems), and chmod +x $file. rsync –archive…

  • Multiple Memory Access Vulnerabilities Linux Kernel

    Well, it had to happen… Yesterday evening two of our linux boxes were exploited. I had to try it out for myself; and yes, it really does work. 😐 Booted up my Ubuntu in Parallels, installed build-essential & ran that program! sudo apt-get install build-essential gcc what-ever-the-file-name-is.c ./a.out This is what it looks like: My-oh-my……

  • Parallels + Ubuntu

    I finally got a reply from the Parallels support team. After using the alternate Parallels installer it finally works again! Even after rebooting Mac! joy Before trying to run Vista/Bootcamp through Parallels again, I’m waiting till the end of my exams (Thursday). Don’t want to blow up my Windows install again when I’m in desperate…