Debian Tutorials Copy/Paste tutorials for Debian based Linux distros

17Jun/130

How to install VMware tools on wheezy

The VMware Tools package adds drivers and utilities to improve the graphical performance for different guest operating systems, including mouse tracking. The package also enables some integration between the guest and host systems, including shared folders, plug-and-play devices, clock synchronisation, and cutting-and-pasting across environments.

Note. When installing VMware tools on wheezy running older versions of VMware ESX/ESXi you may have some issues because of missing modules. This may be fixed with patches but another option would be to use open-vm-tools as an alternative. Here's a tutorial on how to install open-vm-tools: How to install Open Virtual Machine Tools (open-vm-tools) on squeeze/wheezy

1. Install kernel headers and tools required to compile and install VMware tools:

apt-get install binutils cpp gcc make psmisc linux-headers-$(uname -r)

17Jun/131

How to install Open Virtual Machine Tools (open-vm-tools) on squeeze/wheezy

The Open Virtual Machine Tools (open-vm-tools) are the open source implementation of VMware Tools. They are a set of guest operating system virtualization components that enhance performance and user experience of virtual machines.

wheezy

Installing open-vm-tools is very easy on wheezy, just install the package using apt-get and reboot the machine when completed.

apt-get install open-vm-tools

16Jun/130

Installing vsftpd using text file for virtual users on squeeze/wheezy

vsftpd (Very Secure FTP Daemon) is a secure, fast and stable FTP server. In this tutorial we'll install the server and make it check in a flat text file for virtual users allowed to login.

1. Install required packages

apt-get install vsftpd libpam-pwdfile

15Jun/130

Installing Zend Guard Loader (Zend Optimizer) on wheezy

Zend Guard Loader is a free runtime application that enables PHP to run the scripts encoded by Zend Guard.

1. Download a copy of Zend Guard Loader from the location below and upload to your server. By default PHP 5.4 is installed on wheezy so select the package Zend Guard Loader (Runtime for PHP 5.4).

http://www.zend.com/products/guard/downloads

3Jun/130

How to install Webmin on squeeze/wheezy

Webmin is a web-based system configuration tool. With Webmin it's easy to configure operating system internals, such as users, disk quotas, services or configuration files, as well as modify and control open source apps, such as the Apache HTTP Server, PHP or MySQL.

1. Install required dependencies

apt-get install apt-show-versions libapt-pkg-perl libauthen-pam-perl libio-pty-perl libnet-ssleay-perl

2Jun/130

How to install node.js on squeeze or wheezy

Node.js is a server-side software system designed for writing scalable Internet applications, notably web servers. Programs are written on the server side in JavaScript, using event-driven, asynchronous I/O to minimize overhead and maximize scalability.

Node.js contains a built-in HTTP server library, making it possible to run a web server without the use of external software, such as Apache or Lighttpd, and allowing more control of how the web server works. Node.js enables web developers to create an entire web application in JavaScript, both server-side and client-side.

These instructions and tested and fully working on both squeeze and wheezy.

1. Install packages required to compile the source code

apt-get install build-essential

5May/130

Upgrade from squeeze to wheezy

Debian just released a stable version of Debian 7.0 (wheezy). If you're running previous version of Debian, you can easily upgrade.

1. Update all packages currently installed to the latest squeeze versions

apt-get update
apt-get upgrade

20Apr/130

Secure SSH with Two-Factor Authentication (using Google Authenticator) on squeeze

Two-Factor authentication adds an extra layer of security to the authentication process to prevent unauthorized users to access your services or data. Normally you only type username and password (something you know) but with Two-Factor authentications, additionally you need to provide something you have (mobile phone running Android, iOS or Blackberry with one time codes when using Google Authenticator).

Google Authenticator on iPhone1. Download and install the Google Authenticator app for you phone. Here you can find instructions: http://support.google.com/accounts/bin/answer.py?hl=en&answer=1066447

7Apr/130

How to install Percona Server (MySql Server replacement) on squeeze

Percona Server is an enhanced drop-in replacement for MySQL. Persona server is free open source solution, offering better performance, scalability, features, and instrumentation. Self-tuning algorithms and support for extremely high-performance hardware make it the clear choice for organizations that demand excellent performance and reliability from their MySQL database server.

You can upgrade from MySql server and still use the same tools and application without any change, including phpMyAdmin. If you currently have a running MySql server please make backups of the configuration and databases before upgrading.

1. Remove MySql Server

apt-get remove mysql-server-core-5.1 mysql-server-5.1 mysql-server

16Oct/120

How to generate Courier mail graphs with Couriergraph and rrdtool

Couriergraph is a very simple mail statistics RRDtool frontend for Postfix that produces daily, weekly, monthly and yearly graphs of Courier's POP3, IMAP, POP3s and IMAPs logins.

Assuming you already have Courier and Apache installed, just install these packages:

apt-get install rrdtool couriergraph