blog.up-link.ro android bsd linux unix & open-source world

8Mar/120

Ubuntu: How to install the Classic Desktop in Ubuntu 11.10 (Oneiric Ocelot)

Ubuntu 11.10 will not include the classic GNOME desktop which is available alongside Unity in Ubuntu 11.04. Ubuntu 11.10 will automatically use Unity as its default session and fall back to Unity 2D for those whose computers do not support 3D graphics. But if you truly want to go back to Ubuntu Classic Desktop without Unity, then this tutorial will show you how to do it easily. All that’s requires is installing a few extra packages and performing a tweak here and there.

Print This Post Print This Post
29Jan/123

Ubuntu: How to build and install Linksys AE1000 Wireless-N linux driver on Ubuntu 11.10

Cisco Linksys AE1000 provides high performance wireless network connectivity for any desktop or laptop computer. The range and data transfer rate achieved by its Wi-Fi Certified N technology rival that of a wired network without the inconvenience and complexity of being tethered. At home or in an office environment, the device makes network connectivity simple and flexible. At public hot spots like cafés or hotels, making an internet connection is secure and fast.

Print This Post Print This Post
12Sep/104

How To Install and Configure Squid as Transparent Proxy Server under Linux and FreeBSD

Squid is a proxy server and web cache daemon. It has a wide variety of uses: caching web, filtering traffic, caching DNS and other computer network lookups for a group of people sharing network resources.

Squid is primarily designed to run on Unix-like systems but it also runs on Windows-based systems. In this tutorial I'll show you how to install and configure squid proxy server to run under Linux and FreeBSD.

A proxy server software is based on the TCP/IP protocol. It monitors a special port such as 3128 or 8080. A computer who runs a proxy server software is called a proxy server. If other computer want to connect to Internet through the proxy server, it should know the proxy server's IP address and proxy port.

Print This Post Print This Post
7Aug/102

How To Install and Integrate eAccelerator into PHP5

eAccelerator is an open source PHP accelerator, optimizer, and dynamic content cache which provides a bytecode cache. eAccelerator increases the performance of PHP scripts by caching them in their compiled state, so that the overhead of compiling is almost completely eliminated. It also optimizes scripts to speed up their execution. eAccelerator typically reduces server load and increases the speed of your PHP code by 1-10 times.

1. Install prerequisites

There is no eAccelerator package in the official repositories, therefore we must compile and install it from the sources. Before we can do this, we need to install some prerequisites.

Print This Post Print This Post
2Aug/101

How To Install mp3 playback and multimedia support in Ubuntu 10.04 (Lucid Lynx )

Ubuntu is a computer operating system based on the Debian GNU/Linux and is distributed as free and open source software with additional proprietary software available.

Ubuntu is composed of many software packages, of which the vast majority are distributed under a free software license. The main license used is the GNU General Public License which, along with the GNU Lesser General Public License, explicitly declares that users are free to run, copy, distribute, study, change, develop and improve the software.

Multimedia support like MP3, avi, 3gp , DVD Video Playback are not available in Ubuntu 10.04 LTS (Lucid Lynx) due to patent, copyright, or license restrictions.

To get mp3 and other multimedia support on your Ubuntu 10.04 LTS (Lucid Lynx) , use the following commands:

sudo wget -O /etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list
sudo gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 2EBC26B60C5A2783
sudo gpg --armor --export 2EBC26B60C5A2783 | sudo apt-key add -
sudo apt-get update
sudo apt-get --allow-unauthenticated install medibuntu-keyring
sudo apt-get update

To install non-free codecs, enter:

Print This Post Print This Post
31May/100

How to speed up the boot time in Ubuntu by profiling the boot process

There is way to improve the speed of boot process in Ubuntu Linux by profiling your boot. Profiling lets Ubuntu make a list of all the files that are accessed during bootup, it then sorts the files according to how they are stored on your hard-disk. So the next time the system is booted, the files would be read faster.

To profile boot you need to follow these steps:

  • At the grub menu highlight the kernel
  • Press e for edit
  • Choose the line starting with kernel and press e again. Now add the word profile to the end of this line. Hit Enter and then press b to boot

NOTE: The system will boot slower this one time, the next time however you should see an improvement. Also keep in mind that all this is machine-dependent and also depends on the arrangement of files on your hard-disk, so the difference you see might not be huge, or even nil in some cases.

Print This Post Print This Post
1May/103

How To Limit CPU Usage of A Process with cpulimit under Linux

In this tutorial I'll show you how you can limit the CPU usage of a process with cpulimit tool on Debian/Ubuntu Linux.
cpulimit is a program that limit the CPU Usage of a process (expressed in percentage, not in CPU Time). This is very useful to control batch jobs, when you don't want them to use to much CPU. cpulimit is able to adapt itself to the overall system load, dynamically and quickly.

Print This Post Print This Post
20Apr/101

How To add Extra Repositories in Ubuntu Linux

A software repository is a storage location from which software packages may be retrieved and installed on a computer.

It's very easy to add extra repositories in Ubuntu Linux. In this article I'll show you how to add some useful repositories to your Ubuntu distribution.

First, we have to backup our sources.list by typing in terminal:

# sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak

To add extra repositories proceed with the next steps.

Print This Post Print This Post
10Apr/103

How To monitor Apache traffic in real-time with apachetop

Apachetop is a very useful program that displays the stats for Apache in real time. Apachetop can show you how many requests per second are coming in, what files have been accessed and how many times. It can also show you who is hitting the sites and where they are coming from.

1. Installing apachetop

To install apachetop in CentOS, Fedora:

# yum install apachetop

Make sure you have DAG repository enabled.

Print This Post Print This Post
6Apr/100

How To Install Tomcat 6 on Ubuntu

Apache Tomcat is a servlet container developed by the Apache Software Foundation. Tomcat implements the Java Servlet and the JavaServer Pages (JSP) specifications from Sun Microsystems, and provides a "pure Java" HTTP web server environment for Java code to run.

1. Install required packages

# sudo apt-get install tomcat6 tomcat6-admin tomcat6-examples

Tomcat depends on a lot of other packages and the package manager will take care of that.

2. Check the services

Make sure the service is responding by entering the following url in a browser:

http://ipaddress:8080/

Replace ipaddress with the ip address of your server

Print This Post Print This Post