Family, Work, Life

Installed Akismet on my blog

December 21st, 2008 Ansi

Just installed Akismet on my blog. Hope I can handle now all these bloody spams. 82 in one day was tooo much!

And here is the counter:

Share/Save/Bookmark

First new Post with WordPress 2.7

December 12th, 2008 Ansi

just installed the latest greatest Wordpress 2.7 and hey the Dashboard looks great. Love the new interface.

Share/Save/Bookmark

Server, Network and Phone reconfiguration

November 14th, 2008 Ansi

Moin
I am going to shutdown the server and network and the phone system now for complete reinstall and hardware upgrade / exchange. Hopefully the phone will work in one hour again and the network right after. The server can take a little bit longer… May be the tux with me….

Share/Save/Bookmark

How to export display via SSH after sudo su

October 8th, 2008 Ansi

Moin
Just figured out together with DrScofield how to export the Display via an SSH tunnel after changing user to root via sudo. And hey it sound trivial but was not easy to find out. Here is the step by step way.

  1. ssh -X server #as normal user
  2. xterm #for testing if export display as normal user works
  3. echo $DISPLAY #write it down
  4. xauth #enters the shell of xauth
    1. list # find the line with the display number from step 3 for me it was “wpsvm054/unix:12 MIT-MAGIC-COOKIE-1 071df2e12cfff0ed75fd0af5869665f7″ remember the first part of it
    2. quit #to leave the shell
  5. xauth extract filename system/unix:12 # the line from step 4.1
  6. sudo su - # to become root
  7. xauth merge filename # filename from step 5
  8. export DISPLAY=:nummer.0 #Displaynumber from step 3 resp. 4.1
  9. xterm #for testing

Hope it works on other systems too.

Share/Save/Bookmark

Howto Setup Ubuntu postfix to send email with 1und1 as smarthost

July 24th, 2008 Ansi

Installing Postfix with

apt-get install postfix

or choose dpkg-reconfigure postfix when you allready installed postfix before.

The configuration working for me is “satelite”.

  1. System Mail Name: your maildomain name (interblc.com) not the dns name of your server.
  2. SMTP relay host:smtp.1und1.de
  3. Root and Postmaster mail recipient: your user account or external email address
  4. Other destinations to accept mail for: your servername, localhost.localdomain,localhost
  5. Force synchronous updates on mail queue: If you have ext3 oder reiser NO otherwise better YES
  6. Local Networks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
  7. Procmail for local delivery: Yes
  8. Mailbox size limit: 0
  9. Local address extension character: +
  10. Internet Protocol:All

Edit /etc/postfix/main.cf and add these lines at the end:

smtp_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous
smtp_sasl_password_maps = hash:/etc/postfix/sasl_password

Create /etc/postfox/sasl_password with one line:

smtp.1und1.de MAILACCOUNT_at_1und1:PASSWD

Create and db file from this passwd file with

postmap /etc/postfix/sasl_password

Restart postfix with:

/etc/init.d/postfix restart
Now it should work. Give it a try with

date | mail -s “testing” regen@wetter.de

and watch the logfile with

tail -f /var/log/mail.log

Share/Save/Bookmark

Howto set up your own twitter

July 23rd, 2008 Ansi

So first serious blog entry. I try to install my own instance of identi.ca what is microblogging system. Its based on Laconica. Lets see how to install this system on Ubuntu Server Edition. l.m.orchard has compiled an outstanding description see DECAFBAD.

Additionally a changed something so here are the description for the latest greatest version. I do not repeat his description only point out the changes.

There is a new version of the xmpPHP library available at least a new release candidate.

http://xmpphp.googlecode.com/files/xmpphp-0.1beta-r50.tar.gz

Beside

 cp xmpphp/*.php ../extlib/

also

cp -R xmpphp/XMPPHP ../extlib/

to copy the necessary libraries.
In order to convince apache2 to accept the rewrite it is neccessary to activate the rewrite module with

a2enmod rewrite

/etc/init.d/apache2 force-reload

The XMPP Part is still not running but I try this tomorrow.

Share/Save/Bookmark

Ansis World is now open

July 23rd, 2008 Ansi

Moin

Sodale, after a long time my colleagues convinced me to start a blog. Wordpress is now up and running. Lets see what I will write here. :-)

Share/Save/Bookmark