FreeBSD Jail PostgreSQL

If you want to run PostgreSQL under FreeBSD in a jailed environment you have to change some variables to be able to run PostgreSQL if you see the following error during PostgreSQL startup:

not create shared memory segment: Function not implemented
DETAIL:  Failed system call was shmget(key=1, size=1327104, 03600).

Step 1. On your host, you have add the following line to your /etc/sysctl.conf

Dual Monitor with FreeBSD

Have you ever had the problem of having a too crowded desktop? Another monitor shoud help. If you're a programmer you'll be satisfied with this tutorial. Programmers like to use at least one fullscreen terminal to write their code. But in this case they can't see reference books or their E-mail client.

Jail and FreeBSD

Seems to be interesting. I'm working on it.

postfix queue resend and delete

Did you know how to delete or resend the messages in the postfix queue? If not it's time to learn how to do it.

PostgreSQL isolation

Today, genie was asking me: "How can I get the last ID of an inserted row and be sure it is the last one I inserted?".

The answer was obvious :)

1   | 2    Régebbi