I had the need to move my blog running wordpress 2.0.x to a different server, but keeping the domain name on the “old” server. I tried to do this with mod_rewrite and succeeded only partially
after some hours of hacking around with mod_rewrite and wordpress itself i got i working and want to share my solution: note: let’s call the origin server SERVER A and the “new” server running wordpress and mysl SERVER B.
Tag Archive: Sysadmin
Aug 22 2008
How to hide a worpress instance behind a different apache server with mod_rewrite
Jul 25 2008
Icecast2 listener statistics script for Cacti
I found a script for cacti to monitor the number of current listeners of an icecast2 server. The script was ok, but had a problem that sources where counted as listeners and it only showed the total number of listeners. I did some work on the script and it now has: – show all listeners …
Apr 14 2008
Installing Flash Media Server 3 on Ubuntu Server
In the past i had to install Flash Media Server 2 on Ubuntu and Markus Bertheau’s Blog came to help with publishing a patch to make this work. Time went by and now i had to install Flash Media Server 3 on my Ubuntu box. Again Markus has a patch for the fms3 installer script …
Mar 11 2008
Mac OS X Leopard: sylogd eating cpu power
today i noticed after a reboot (i do that very rarely), that my iStats Menu CPU monitor shows me heavy CPU load. I fired up Activity Monitor and found that syslogd is using 90% – 100% cpu power – bad syslogd! I did some research on the net and found quiete some hints relating Time …
Mar 10 2008
XSan Volume refuses to mount on only one of more clients
I had again some troubles with my XSan. I have 1 MDC (client/controller) and 2 clients and 2 Volumes on the XRaid. All clients and all volumes automounted as expected, except one volume on one of the clients I saw the client in the list for that particular volume in the XSan Admin application, but …
Oct 29 2007
Compile Python 2.4.4 on Mac OS X 10.5 (Leopard)
Recently i upgraded my OS to Leopard and had to recompile python 2.4.4 for my Zope 3 buildout setup (i need a clean python for that). The problem was, that python 2.4.4 won’t build on leopard, Jodok Batlogg from Lovely Systems had the same problem and instantly found the solution. As he hasn’t posted it …
Mar 27 2007
os x survival kit (darwin ports packages)
as i had to reinstall my mac book pro after my harddisk has died recently, i post my list of essential packages i need for my developments in Mac OS X.
Feb 26 2007
Ubuntu: networking tip
But when i tried to ping some other machine, this didn’t work
I checked /var/log/messages and the onboard Broadcom Interface showed up as eth1, but i was not able to start it. When i ran $ sudo /etc/init.d/networking restart i got some error messages like: SIOCSIFADDR: No such device eth1 eth1: ERROR while getting interface flags: No such device No clue what went wrong, i googled a lot and finally i stumbled upon this forum entry: http://ubuntuforums.org/showthread.php?t=221768 Then i ran: $ ifconfig -a and got a list with my network interfaces and more importantly with it’s MAC address.
Feb 19 2007
Ubuntu Server insecurity?
i just found out that my Ubuntu Server 6.10 has login shells for almost all users set in the /etc/passwd file! That’s a very bad idea because this maybe enabled someone to install “Data Cha0s Back Backdoor” on my machine
I checked this with 2 other fresh Ubuntu Server 6.10 installations and both also had the login shells for users like daemon, mail, www-data and so on. Especially www-data should not have a chance to create a shell in my opinion!
Jan 14 2007
Installing Flash Media Server 2 on Ubuntu 6.10
The installation script for Flash Media Server works only on RedHat Enterprise by default. With some modifications it works fine on Ubuntu Edgy: apt-get install libnspr4 libstdc++5 libstdc++5-3.3-dev wget http://download.macromedia.com/pub/flashmediaserver/ updates/2_0_3/linux/flashmediaserver2.tar.gz tar xfz flashmediaserver2.tar.gz cd FMS* wget http://www.bluetwanger.de/~mbertheau/fms.patch patch -p1 < fms.patch sudo ./installFMS Live aus der Marschrutka √?¬ª Installing Flash Media Server 2 on Ubuntu 6.10 Edgy this howto is written bei Markus Bertheau, please check the original article and his blog here.