Category Archives: Linux tips

Update: ISPConfig3 Backup script – local server

This is updated backup script which can be run on ISPConfig3 server (locally) and copy files to already mounted drive. Original post_ http://blog.it-podrska.info/2009/08/backup-remote-linux-mysql-and-data/ Variables which are removed: sshuser=”remote_username_root” # remote ssh username sshhostname=”remote_hostname” # remote hostname sshport=”remote ssh port” # … Continue reading

Posted in Linux tips | Tagged , , , | 5 Comments

pure-FTP on openVZ on debian

Here is description how to compile pure ftp to run in openVZ server. First install needed packages and pure-ftpd-mysql: apt-get install pure-ftpd-mysql build-essential libpam0g-dev libmysqlclient15-dev Then download and compile new pure-fptd: cd /tmp wget http://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-1.0.22.tar.gz tar -xvzf pure-ftpd-1.0.22.tar.gz cd pure-ftpd-1.0.22 … Continue reading

Posted in Linux tips | Tagged , , | Leave a comment

ssh key authentication

How to generate SSH keys and implement for key authentication. login to local machine with user you will be using for connect to remote. 1. generate keys: ssh-keygen -t dsa 2. copy id_dsa.pub to remote machine to /tmp directory scp … Continue reading

Posted in Linux tips | Tagged , , | 2 Comments

Backup remote linux mysql and data

Whit little bash script you can backup remote linux server. I wrote this script for backup my web server powered by ISPconfig 3. Backup is started from local linux machine. For this script ssh key authentication must be set. This … Continue reading

Posted in ISPConfig 3, Linux tips | 21 Comments

Find which process ID is using some IP port

How to find, in linux, which Process ID is using some TCP port # lsof -w -n -i tcp:8080 or # fuser -n tcp 8080 or # netstat -anp|grep :8080[[:blank:]]

Posted in Linux tips | Leave a comment