Category Archives: Linux

By Vivian Morales [CC-BY-2.0 (http://creativecommons.org/licenses/by/2.0)], via flickr

openSUSE Upgrade 13.1

… because my recent topic “moving”, now something completely different! Well, not really … it’s similar … an operating-system upgrade …

… just a simple openSUSE Upgrade …

In the aftermath of Heartbleed bug, which showed that it is sometimes not a bad thing to be not up to date and only apply security patches, we had to upgrade a openSUSE system from version 12.3 to 13.1. While version 12.3 is still supported, version 13.1 is available since November last year, so it was not that unreasonable to update now. Five months should be enough time to fix all quirks and bugs of a new version … you might think …

The upgrade was smooth, the server rebooted without problems … then our monitoring system started delivering error reports 😉

Apache

… was not running at all because it had not been started at boot time, no problem there:
Continue reading openSUSE Upgrade 13.1

Facebooktwittergoogle_plusredditpinterestlinkedintumblrmailFacebooktwittergoogle_plusredditpinterestlinkedintumblrmail

Flattr this!

Bundesarchiv, Bild 183-V08147 / Marquardt / CC-BY-SA [CC-BY-SA-3.0-de (http://creativecommons.org/licenses/by-sa/3.0/de/deed.en)], via Wikimedia Commons

How-To update Tiny Tiny RSS

In Summer this year Google discontinued the Google Reader – a free service to collect various RSS streams and to view them online. Tiny Tiny RSS is an open-source software which provides the same functionality on your own (local) server. It requires PHP and MySQL, is quite easy to install and allows even to import data from Google Reader …

… however running the reader on your own server – even if it provides “more” privacy – requires keeping the software up to date.

How to update Tiny Tiny RSS?

First backup your current installation as well as the database.

Let’s say your current installation version 1.9 is at ttrss, just create a copy of that directory naming it with the “old” version number. Why? If something goes wrong, you want to go back to the current – working – installation.

cp -rp ttrss ttrss-1.9

database backup using phpMyAdminTo create a backup of your current database use your favorite tool, e.g. phpMyAdmin

or by command line

mysqldump -u [db-username] -p ttrss > ttrss-1.9.sql

For the actual update, you could download the new version and do a manual update, but there is a more convenient way. Let it do Tiny Tiny RSS itself:

cd ttrss; php -q update.php --update_self

This will download the new version, (create a copy of the current version – which we actually do not need because we created a backup above).

The current version also fixes the permissions on the cache folder, but seems missing the upload folder which it will tell you when opening the online interface the next time. Just change it yourself e.g.

chmod -R 707 cache/upload/

Now open the online interface in your browser, the software will run an update on your database … done

Facebooktwittergoogle_plusredditpinterestlinkedintumblrmailFacebooktwittergoogle_plusredditpinterestlinkedintumblrmail

Flattr this!

By Attribution to "diskdepot.co.uk", please. (Image was uploaded by Didepo on their behalf) (Own work) [GFDL (http://www.gnu.org/copyleft/fdl.html) or CC-BY-SA-3.0-2.5-2.0-1.0 (http://creativecommons.org/licenses/by-sa/3.0)], via Wikimedia Commons

Controlling Access to Services

Controlling Access using ntsysv

ntsysv is a text-based application that allows you to configure which services are started at boot time for each runlevel. Non-xinetd services can not be started, stopped, or restarted using this program.

Controlling Access using chkconfig

chkconfig is a command line utility that allows you to turn services on and off for the different runlevels. Non-xinetd services can not be started, stopped, or restarted using this utility.

[excerpt from Red Hat Enterprise Linux Deployment Guide]

Facebooktwittergoogle_plusredditpinterestlinkedintumblrmailFacebooktwittergoogle_plusredditpinterestlinkedintumblrmail

Flattr this!

By Ellery W. Stone [Public domain], via Wikimedia Commons

chm to pdf

CHM – Microsoft Compressed HTML Help – is a proprietary format for online help files, developed by Microsoft. Viewing CHM files using other operating systems is sometimes a little bit difficult.
Recently a CHM plug-in appeared for firefox which should be some help.
Sometimes it is still necessary to convert CHM files into other formats. While there are quite a lot of applications which could do that easily on Windows, it is still tricky for non-Windows systems.

e.g. for Mac OS X or other UNIX based OS
Continue reading chm to pdf

Facebooktwittergoogle_plusredditpinterestlinkedintumblrmailFacebooktwittergoogle_plusredditpinterestlinkedintumblrmail

Flattr this!

The Power of Touch

The Power of Touch

If you are using Linux or some kind of Unix you may have noticed the command touch.

touch [-acm] [-r file] [-t [[CC]YY]MMDDhhmm[.SS]] file [...]

Mostly, it is used to create empty files, e.g. to create an empty file called new.txt:

touch new.txt

But it can do much more! Originally it was build to manipulate the modification and access time of files. E.g. if you want to trick make to recompile a project just touch a file:

touch project.c

Continue reading The Power of Touch

Facebooktwittergoogle_plusredditpinterestlinkedintumblrmailFacebooktwittergoogle_plusredditpinterestlinkedintumblrmail

Flattr this!