Posts Tagged ‘linux’

How to hide mouse pointer on secondary / TV screen

So you have set up your Ubuntu / Kubuntu system with two separate X screens, one of them being a TV screen you only use to play fullscreen video. Now how do you prevent the mouse cursor to show on the TV screen ? That’s an easy one :
1. Create an empty bitmap file, eg. [...]

Read the rest of this entry »

How to connect with ssh without using a password

Let’s say you have an account on a remote server running some flavour of linux (or even *BSD - I think OpenSSH works the same way on those), and connect to it via ssh from your local linux machine.
There is a simple yet secure way to connect without the need for entering your password on [...]

Read the rest of this entry »

How to change computer host name of a Debian or Ubuntu system

In a very quick note, this is how to change the local host name on a Debian or Ubuntu system. This can be especially useful if you did not install your server by yourself and euther rely on your provider’s automated installation or are using one of those pre-built virtual appliances (by the way, take [...]

Read the rest of this entry »

How to execute a command, program or script at startup (init mini-howto)

This is a (very) simple guide to adding a command or script to the debian / ubuntu startup sequence. There is obviously much more to it, but if you need to do very simple stuff, this can be useful.
1. Put the script in /etc/init.d - do not forget to give it execute permissions (’chmod a+x [...]

Read the rest of this entry »

How to install and configure pure-ftpd

This is how to install and configure the pure-ftpd ftp server on your Ubuntu or Debian server or workstation.
First use apt to download and install the pure-ftpd package - it is available from default repositories :
root@box:~# apt-get install pure-ftpd
.
.
.
Setting up pure-ftpd (1.0.21-11ubuntu1) …
Starting ftp server: Running: /usr/sbin/pure-ftpd -l pam -u 1000 -E -O clf:/var/log/pure-ftpd/transfer.log -B
As [...]

Read the rest of this entry »

How to move mysql database to another drive or partition

So you need to physically move around your mysql databases, typically because you want to put them on a another partition or hard drive, or on some network device ? This is how you can do it.
My box runs Ubuntu Server 7.10 (Gutsy Gibbon), but the following should apply to any recent Debian or Ubuntu [...]

Read the rest of this entry »