nav HOME » Posts tagged 'debian'

How-to: AWstats installation and configuration on Debian

This is a simple tutorial on how to install AWstats on Debian and configure it for displaying web statistics. I’ve tried this on lenny, but it should also work on other versions with small or no modifications. First, make sure your web server is configured to write access logs to combined format. This is default [...]

Posted in System administration
Tags: , , , , , ,

apt-get fopen permission denied

Today I got some interesting errors when running “apt-get install” command on one debian lenny server. srv1:~# apt-get install host Reading package lists… Done Building dependency tree Reading state information… Done The following NEW packages will be installed: host 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 70.0kB [...]

Posted in Linux
Tags: , ,

How-To: Nagios 3 installation on Debian

Nagios is a great monitoring software. This is how I get it working on debian lenny…

Posted in Linux
Tags: , , , ,

How-To: phpmyadmin 3 on debian lenny

phpMyAdmin 3 is not available in lenny repositories, but it can be easily installed manually.

Posted in Linux
Tags: , ,

How-To: MySQL 5.1 and PHP 5.3 on debian lenny

Edit file /etc/apt/sources.list and add lines….

Posted in Linux
Tags: , , ,

How-To: NGINX with PHP-FPM (FastCGI implementation) on debian lenny

PHP-FPM is PHP FastCGI implementation. It works great in combination with NGINX. This is a simple way to install it on lenny.

Posted in Linux
Tags: , , , , ,

How-To: Backup linux host over rsync and ssh with BackupPC

We have two hosts – one with BackupPC installed (I will call it “backuppc_host”), and other to backup (“backup_host”)… On backup_host Install rsync apt-get install rsync Create a user for backup: adduser rbackup On backuppc_host Become backuppc user: su – backuppc Create a ssh  key pair: ssh-keygen Copy public key to backup_host (replace 2222 with [...]

Posted in Linux, System administration
Tags: , , , ,

How-To: BackupPC with lighttpd on debian lenny

This is the way I set up BackupPC with lighttpd on lenny… Install package: apt-get install backuppc In this process, apt-get will automatically install apache2 package (if not already installed), but if you don’t need it, remove it with: apt-get remove apache2* apt-get autoremove Edit file /etc/lighttpd/lighttpd.conf and add “mod_cgi” to server.modules section. Add “default.cgi” [...]

Posted in Linux, System administration
Tags: , , , ,

How-To: Samba installation on Debian

Samba is a free implementation of the SMB/CIFS protocol, which allows you file and printer sharing between windows and linux.

Posted in Linux
Tags: , , ,

How-To: sudo on Debian

Sudo is a tool which allows users to execute specific commands as root (or another) user. Here’s how you can install it on Debian

Posted in Linux
Tags: , , ,