Linux

opensuse: nokogiri gem installation fails

Extracting libxml2-2.9.2.tar.gz into tmp/x86_64-suse-linux-gnu/ports/libxml2/2.9.2… OK Running patch with /usr/lib64/ruby/gems/2.1.0/gems/nokogiri-1.6.6.2/ports/patches/libxml2/0001-Revert-Missing-initialization-for-the-catalog-module.patch… Running ‘patch’ for libxml2 2.9.2… ERROR, review ‘/usr/lib64/ruby/gems/2.1.0/gems/nokogiri-1.6.6.2/ext/nokogiri/tmp/x86_64-suse-linux-gnu/ports/libxml2/2.9.2/patch.log’ to see what happened. *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. The mentioned log […]

opensuse: nokogiri gem installation fails Read More »

Change CentOS 7 keymap

After installing CentOS 7 with German locale the keymap still was set to us. To change it to de I had to edit the file /etc/default/grub and replace us with de after vconsole.keymap=: GRUB_CMDLINE_LINUX=”… vconsole.keymap=de …” After that execute the following command to update grub and reboot: grub2-mkconfig -o /boot/grub2/grub.cfg Of course you have to take these steps

Change CentOS 7 keymap Read More »

gpg behind proxy results in gpgkeys: HTTP fetch error 7: couldn’t connect to host

To get something like sudo add-apt-repository ppa:webupd8team/java work behind a proxy I had to add http_proxy and https_proxy into my /etc/environment file. Don’t forget to source the file or to relogin after changes in it. With theses entries I had to use sudo -E add-apt-repository ppa:webupd8team/java telling sudo to preserve existing env variables. Now it’s working for

gpg behind proxy results in gpgkeys: HTTP fetch error 7: couldn’t connect to host Read More »

Install Trac

First I installed some packages (not all are required): apt-get install python-setuptools python-setuptools-git python-genshi python-pygresql subversion subversion-tools git python-babel postfix bsd-mailx Then I downloaded trac from svn and installed it: svn co http://svn.edgewall.org/repos/trac/tags/trac-1.1.3 trac_svn cd trac_svn python setup.py install Just choose a name for your project and for small projects a local sqlite-db is fine. After this you

Install Trac Read More »

Create new trac project

To get a new project at /var/www/trac the steps would be: trac-admin /var/www/trac initenv htpasswd -c /var/www/trac/.htpasswd admin trac-admin /var/www/trac permission add admin TRAC_ADMIN chown -R www-data:www-data /var/www/trac chmod -R 640 /var/www/trac chmod +X /var/www/trac This would init a project with an admin user. And here my Apache config for it: <Location /trac> SetHandler mod_python PythonInterpreter

Create new trac project Read More »