ubuntu

How to install memcached on Ubuntu for use with Drupal

This guide is based on various community forum posts. Special thanks to Jonathan Wagener for the Ubuntu specific instructions

How to properly install drush on Ubuntu 10.04

Despite it is clearly noted on http://drupal.org/node/1248790 the recommended way is to download Drush from the project page and to install it manually by reading the instructions of the README.txt file, many people start executing the aptitude command given on the same page:

$ sudo apt-get install drush

and the subsequent commands like

$ drush --version
$ drush dl drush

give you no joy since the official Ubuntu repositories contain very much outdated version of drush, which can not neither update itself nor display its version.

Install Munin On Ubuntu 10.04

Munin is a networked resource monitoring tool that can help analyze resource trends and “what just happened to kill our performance?” problems. It is designed to be very plug and play. A default installation provides a lot of graphs with almost no work.

Install

To start this tutorial you will need a web server, both Lighttpd and Apache will do the job. For this tutorial I will use Lighttpd which is available from the Ubuntu Repositories.

sudo aptitude install lighttpd

You will also need PHP installed on the system.

How to properly install APF (Advanced Policy Firewall) on CentOS or Ubuntu

This guide will show you how to properly install APF firewall, one of the better known Linux firewalls available, on different Linux distros like Redhut/CentOS and Debian/Ubuntu. Configuration part doesn't differ from distro to another distro, so reading the official README file or googling will suffice.

sysv-rc-conf is RedHut/CentOS chkconfig alternative for Debian/Ubuntu

The sysv-rc-conf program gives an easy to use interface for managing "/etc/rc{runlevel}.d/" symlinks. The interface comes in two different flavors, one that simply allows turning services on or off and another that allows for more fine tuned management of the symlinks.

Unlike most programs configuration of the levels, you can edit startup scripts for any runlevel, not just the current.
To install just need to run the command:


sudo apt-get install sysv-rc-conf

Once installed run the command:


sudo sysv-rc-conf

Tags:

How to list all installed packages in Ubuntu, CentOS and other Linux systems?

There are several ways to list installed packages in Ubuntu, like: sudo dpkg-query -Wf '${Installed-Size} - ${Package}n \n' | sort -n sudo aptitude search '?installed' In CentOS run one of these commands: yum list installed On any Linux machine with rpm installed: You need to use rpm command to display all installed packages in Linux.

Red Hat/Fedora Core/CentOS Linux

Type the following command to get list of all installed software
# rpm -qa | less

An easy way of extending Linux logical volumes

Some vendors like 1and1 deliver Linux servers with pre-configured partitioning scheme with reduced logical volumes. A Logical Volume Manager (LVM) manager is here to help us.

First we need to see if we have an extra space at all by running pvs command on Ubuntu and pvs -av on CentOS (http://www.centos.org/docs/5/html/Cluster_Logical_Volume_Manager/move_ne... recommends runing pvs -o+pv_used, however it did not work on CentOS 5.8)

root@host:~# pvs

Pages

Subscribe to RSS - ubuntu