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.
- ssh -X server #as normal user
- xterm #for testing if export display as normal user works
- echo $DISPLAY #write it down
- xauth #enters the shell of xauth
- 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
- quit #to leave the shell
- xauth extract filename system/unix:12 # the line from step 4.1
- sudo su – # to become root
- xauth merge filename # filename from step 5
- export DISPLAY=:nummer.0 #Displaynumber from step 3 resp. 4.1
- xterm #for testing
Hope it works on other systems too.
Posted in System, Tools | No Comments »
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”.
- System Mail Name: your maildomain name (interblc.com) not the dns name of your server.
- SMTP relay host:smtp.1und1.de
- Root and Postmaster mail recipient: your user account or external email address
- Other destinations to accept mail for: your servername, localhost.localdomain,localhost
- Force synchronous updates on mail queue: If you have ext3 oder reiser NO otherwise better YES
- Local Networks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
- Procmail for local delivery: Yes
- Mailbox size limit: 0
- Local address extension character: +
- 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
Posted in System | 13 Comments »
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.
Posted in System | No Comments »
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.
Posted in System | 4 Comments »