Two Small Desk Organizers for Screen Sides (October 12, 2026)
English Français
Antre du Tryphon
Search

Unix

34 posts · Show all posts

Accessing a serial port from a web server

Accessing a serial port from a web server

May 18, 2013 · claude Ubuntu 11.10 Unix Ubuntu 11.04 +4
On most Linux distribution, it is impossible to access a serial port (ex. /dev/ttyS0) from a web server such as Apache or lighttpd using a cgi. Simply add the user under which the web server runs (www-data for example) to the group dialout. To do so,...

Script listing all the keys on a memcache server

Script listing all the keys on a memcache server

March 21, 2013 · claude Ubuntu 11.10 Unix Ubuntu 11.04 +3
This script lists all the keys on a memcache server.

Recording a terminal session under Linux

Recording a terminal session under Linux

August 12, 2012 · claude Ubuntu 11.10 Unix Ubuntu 11.04 +4
It is possible to record a terminal session under Linux with ttyrec. It also records vi, emacs, etc. sessions. Fisrt, install ttyrec

How To Setup A Protected Wireless Connection Via the Command-Line

How To Setup A Protected Wireless Connection Via the Command-Line

August 5, 2012 · claude Unix Ubuntu Linux +3
Setting up a wireless connection via the command line may vary depending on the USB Wireless Interface you are using. These instructions also work for the Raspberry PI running Wheezy. You must be root in order to carry out these instructions. Make...

Masquerading or replacing outgoing SMTP email address with Postfix

Masquerading or replacing outgoing SMTP email address with Postfix

August 1, 2012 · claude Ubuntu 11.10 Unix Ubuntu 11.04 +2
Postfix can replace an outgoing email address by another one. To do so, you must perform these steps: Add in /etc/postfix/main.cf the following line

Create an ext3 or an ext4 partition without a journal

Create an ext3 or an ext4 partition without a journal

July 15, 2012 · claude Ubuntu 11.10 Unix Ubuntu 11.04 +1
Most of the time, having a journal for ext3 and ext4 partitions is pretty useful. Nevertheless, you can prevent creating a journal by adding the option ^has\_journal. For example:

Initializing a brand new disk with "parted"

Initializing a brand new disk with "parted"

June 16, 2012 · claude Ubuntu 11.10 Unix Ubuntu 11.04 +1
"parted" is a replacement for "fdisk" of Linux.  It can handle disks larger than 2 TB.  Issue this command to launch "parted" where /dev/sdL is the disk you want to initialize.

How to unmount an encrypted partition?

How to unmount an encrypted partition?

January 29, 2012 · claude Unix Ubuntu
Unmount the partition

How to mount an encrypted partition?

How to mount an encrypted partition?

January 29, 2012 · claude Unix Ubuntu
Map the partition

How to setup partition encryption?

How to setup partition encryption?

January 29, 2012 · claude Unix Ubuntu
To setup partition encryption on Ubuntu, perform the following steps: Install the required software