ubuntu

Install OpenCRX with PostgreSQL and Ubuntu 10.04

If you want to install OpenCRX 2.8.5 with a Postgres database, you have to do some additional steps during the installation. The general installation steps are described at OpenCRX 2.8.5 Install. Here comes the short description with the additional changes for the Postgres database.

Shell script: Delete files within a folder that are older than x days

The following shell script searches for files within a given folder and deletes the files that are older than x days.

#
#!/bin/sh
#
FOLDER="/path/to/the/folder"
DAYS=14
cd $FOLDER
for i in `find . -maxdepth 1 -type f -mtime +$DAYS`; do
  rm `basename $i`;
done

Clear bind9 DNS cache and add additional forwarders for DNS lookup at Ubuntu

I moved 2 websites from one server to another server at the same hoster. The problem was my Ubuntu system that did not know the correct nameserver of this provider. To update the forwarders list of bind9, you have to add the nameservers to the following file:

Set up an Ubuntu system for the daily work

From time to time it may happen that you have to reinstall your system. In the following article, I collected some points that are important for me during an installation.

If the basic system (in this case Ubuntu) is installed, you can set up some little helpers that facilitate the daily work.

Switch the monitor via shortcut keys

Syndicate content