• Increase font size
  • Default font size
  • Decrease font size
ubuntu

 

  1. Download vpnclient-linux-4.8.00.0490-k9.tar.gz (mirror) to your home directory.
  2. Open a terminal window and untar the vpnclient with the following command:
    $ tar xzf vpnclient-linux-4.8.00.0490-k9.tar.gz
    This will create a new folder called vpnclient in your home directory. Leave the terminal window open, you’ll need it later.
  3. Download the patch (mirror) and save it to the vpnclient folder that was created in step 2.
  4. Go back to your terminal window and move into the vpnclient folder:
    $ cd vpnclient/
  5. Now patch the Cisco VPN source with this command:
    $ patch < vpnclient-linux-2.6.22.diff
  6. Next we actually build the Cisco VPN client, issue this command:
    $ sudo ./vpn_install
    Just hit enter for everything it asks you, the defaults are all OK. You may see lots of warnings, but those are OK.
  7. The VPN client is installed, now we need to start it:
    $ sudo /etc/init.d/vpnclient_init start
  8. Place your .pcf configuration files in /etc/opt/cisco-vpnclient/Profiles/
  9. If your .pcf file is called myVPN.pcf, you’ll connect to the VPN with the following command:
    $ sudo vpnclient connect myVPN

 

 Lighttpd is a secure web server, which is faster when compared to Apache. We will show here how you can install Lighttpd on an Ubuntu 9.10 server with PHP5 support(through FastCGI) and MySQL support.

In this tutorial we have used hostname asserver1.example.com with the IP address192.168.0.100. They maybe different for you.

The first thing you need to do is to login as root. You can login as root in Ubuntu Linux by typing in the terminal:

sudo su

Installing MySQL 5:

In the terminal type:

aptitude install mysql-server mysql-client

You will be asked to provide a password for MySQL user “root“. The same password will be valid for the user root@localhost as well as root@server1.example.com .

Installing Lighttpd on Ubuntu 9.10:

Lighttpd is already available as a pre-configured package in Ubuntu 9.10, so we can install it through terminal very easily. Type in the terminal:

aptitude install lighttpd

Now open your web browser and type http://192.168.0.100, and you should see the Lighttpd placeholder page:

image1

The default document folder of Lighttpd for user root is /var/www/ on Ubuntu, and the configuration file is /etc/lighttpd/lighttpd.conf. Additional configurations are stored in files which are situated in the /etc/lighttpd/conf-available/ directory.

Installing PHP5

To enable PHP5 in Lighttpd, you will have to  modify the configuration file/etc/php5/cgi/php.ini. To edit it, type in the terminal:

vi /etc/php5/cgi/php.ini

Scroll down to the end of this file and add this line at the end of file:

cgi.fix_pathinfo = 1

To enable the FastCGI configuration (which is stored in /etc/lighttpd/conf-available/10-fastcgi.conf), run the following command:

lighttpd-enable-mod fastcgi

To reload the server for changes to take place, type in the terminal:

/etc/init.d/lighttpd force-reload

Installing MySQL 5 support:

To get MySQL support in PHP, we can install the php5-mysql package. But it is a good idea to install some other PHP5 modules together with MySQL as well, as you might need them for your applications. You can search for available PHP5 modules by typing in the terminal:

aptitude search php5

Based on some of the packages that you select, you can install them with MySQL by typing in the terminal:

aptitude install php5-mysql php5-curl php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-mhash php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl php5-json

Now, again restart Lighttpd by typing:

/etc/init.d/lighttpd restart

Testing your web server and PHP:

The document root for the default web server is /var/www. We will now create a small PHP file (info.php) in that directory and call it in a browser. The file will display lots of useful details about our PHP installation, such as the installed PHP version.

To create this file, type in the terminal:

vi /var/www/info.php

Now type this code into this file:

 how to install lighttpd on windows

Save the file and close the terminal.

Now we call this file in a browser by typing  http://192.168.0.100/info.php

image2

As you see in the screenshot, PHP5 is working fine, and it is working through FastCGI, as shown in the Server API line. If you scroll further down, you will see all modules that are already enabled in PHP5.Now, your web server is ready for working.

Hope this tutorial helps you in setting up a light and fast as well as a faster web server in Ubuntu 9.10. For more such tutorials, keep hooked onto TechPP.

from:http://techpp.com/2010/01/09/how-to-install-lighttpd-with-php5-and-mysql-on-ubuntu-9-10/

Lighttpd 1.4 on Unix systems

 

 

 This is still in beta version and not recommended to install in production systems

 

http://www.ubuntugeek.com/howto-install-skype-2-1-beta-in-ubuntu.html

What’s new in this release:

* Skype’s SILK codec for outstanding quality with negligible bandwidth usage,

* HQ video support,

* PulseAudio support,

* SMS send support (*Sending SMS requires available Skype Credit),

* Contact groups,

* Contact labels, or tags, for easier contact organization,

* Chat window improvements (typing notification, message editing, s/geeky text/replacement/, new emoticons),

* Nicer contact list with mood messages and video capability icons,

* Nicer tray icon.

More detailed release notes can be found from here

Install Skype 2.1 beta in Ubuntu

First you need to remove the existing version of skype using the following command

sudo apt-get autoremove skype skype-common

Now you need to download .deb package from here and install the downloaded package using the following command

sudo dpkg -i skype-ubuntu-intrepid_2.1.0.47-1_i386.deb

 

 

 1. Installation. Type ‘yes’ when a message pop up for security purposes

sudo apt-get install apache2 snmpd mrtg

Notes:

apache2: can be replaced by opening your browser and typing your path (file:///var/www/…)
snmpd: is not necessary if you’re using scripts without the snmp service(for this configuration it’s required though)
In RedHat: yum install mrtg

2. Now you need to edit the mrtg configuration file to edit the some of the settings
File is located at /etc/mrtg.cfg you need to change the global settings as follows

# Global Settings

RunAsDaemon: yes
EnableIPv6: no
WorkDir: /var/www/mrtg
Options[_]: bits,growright
WriteExpires: Yes

Title[^]: Traffic Analysis for

3. Now we need to assign the snmp community name in snmp configration file /etc/snmp/snmpd.conf

# sec.name source community
# com2sec paranoid default public
com2sec readonly default public
#com2sec readwrite default private

4. Restart snmp

/etc/init.d/snmpd restart

5. Obtain right permissions for the following two instructions

sudo sh

6. Create the mrtg.cfg file

cfgmaker public@localhost > /etc/mrtg.cfg

7. Creating index file for the webserver using

indexmaker /etc/mrtg.cfg > /var/www/mrtg/index.html

8. Restart the computer

9. To run MRTG, open your browser and type:

http://localhost/mrtg/

Logs viewer can be helpful, run in the terminal

tail -f /var/log/syslog
or
tail -f /var/log/mrtg/mrtg.log

References:

http://www.debianhelp.co.uk/mrtg.htm
http://oss.oetiker.ch/mrtg/doc/mrtg-reference.en.html

Examples:
http://mrtg-pme.sourceforge.net/
http://web.csma.biz/apps/deliverytimes.shtml
http://www.webinject.org/mrtgplugin.html
http://www.cloudnet.com/~tom/mrtg/thresh.html

 

 I just performed an installation of Zend Optimizer which is a free runtime application that enables php to run files encoded by the Zend Guard running on a server.

You can download it from
http://www.zend.com/en/products/guard/downloads
Selecting the proper Package.

Download it through shell

wget http://downloads.zend.com/optimizer/3.3.3/ZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz 
in my case i m using x86 32 bit version

untar the package

tar -xvzf ZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz

Go to the directory

cd ZendOptimizer-3.3.3-linux-glibc23

start the installation by running

./install

A welcome screen appears with terms and conditions.

Installation directory: /usr/local/Zend

Location of php.ini
by default it comes as /etc/php5/cli

But it has to be /etc/php5/apache2
(*depending upon your apache installation and linux server*)

The installation process will relocate php.ini file from /etc/php/apache2 to /usr/local/Zend/etc

A symbolic is created for php.ini in /etc/php5/apach2 pointint to /usr/local/Zend/etc/php.ini
php.ini -> /usr/local/Zend/etc/php.ini

If anything goes wrong with the installation , the old php.in is backed up during installation by zend automatically in /etc/php5/apache2 [ which is named as php.ini-zend_optimizer.bak ]

if YOU are not too sure ,YOU can always make a back up of this file.

to complete the installation , you need to restart the web server.

/etc/init.d/apache2 restart

or you can do it at the end of installation when it prompts to restart the web server

to check if zend optimizer is working or not , you put a small php file with the phpinfo() in it .

when you run that file you will get similiar kind of output as following

This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies

http://www.linuxweblog.com/blogs/manoj/20080624/zend-optimizer-installation-ubuntu

 

 KDE Community Ships Second Translation and Service Release of the 4.3 Free Desktop, Containing Numerous Bugfixes, Performance Improvements and Translation Updates .October 6th, 2009. Another month has passed since the release of KDE 4.3.0, so today the KDE Community announces the immediate availability of KDE 4.3.2, a bugfix, translation and maintenance update for the latest generation of the most advanced and powerful free desktop. KDE 4.3.2 is a monthly update to KDE 4.3. It ships with a desktop workspace and many cross-platform applications such as administration programs, network tools, educational applications, utilities, multimedia software, games, artwork, development tools and more. KDE’s award-winning tools and applications are available in more than 50 languages.

Read more here

 

 Display available memory

[root@]# cat /proc/meminfo

MemTotal:      3500784 kB
MemFree:        146348 kB
Buffers:         65944 kB
Cached:        3056832 kB
SwapCached:          0 kB
Active:         663580 kB
Inactive:      2627876 kB
HighTotal:     2621232 kB
HighFree:        18396 kB
LowTotal:       879552 kB
LowFree:        127952 kB
SwapTotal:      779112 kB
SwapFree:       779032 kB
Dirty:           29196 kB
Writeback:         476 kB
AnonPages:      168616 kB
Mapped:          14904 kB
Slab:            53192 kB
PageTables:       2008 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
CommitLimit:   2529504 kB
Committed_AS:   388612 kB
VmallocTotal:   114680 kB
VmallocUsed:      2552 kB
VmallocChunk:   111944 kB
HugePages_Total:     0
HugePages_Free:      0
HugePages_Rsvd:      0
Hugepagesize:     4096 kB
 

 As of yet the dropbox team haven't released a .deb file for Ubuntu 9.10 (32/64 bit), I'm sure they'll release one by the time 9.10 is released, but I can't wait that long. So what we're basically going to do here is compile it from source, it's not all that scary...

Step 1

Download the source files from here www.getdropbox.com/downloading and unzip it (right click and "Extract Here").

Step 2

We now need to install the dependencies in order to build our install files from source.
Open up your Terminal and type:

sudo apt-get install libnautilus-extension-dev libnotify-dev python-docutils

Follow the prompts and it should a a few minutes to download and install everything.

Step 3

Navigate to where you created your /nautilus-dropbox folder (it'll probably have a version number after it) in the Terminal, in my case:

cd /Downloads/nautilus-dropbox-0.6.1/

Step 4

Once inside type the following commands into your Terminal:

./configure
make
sudo make install

Run each command one after another, they'll run for just a couple of seconds each.

Step 5

After installing it simply log out and log back into your system, navigate to Applications → Internet → Dropbox, click “OK” and it'll download and install the daemon and then prompt you for your dropbox details.

As you can see it's a pretty easy install and it's been working great for me!

If you have any questions, comments or tips, please leave a comment below.

 

 

 

  1. Backup your data!!

  2. Map out your goals for LVM. Do you just want some expandable space for media files? Do you want to move your /home into LVM? Do you want to move everything under LVM? If you want to put everything under LVM, you should create a separate /boot partition (100MB should be fine) - otherwise you may not be able to boot your system.
  3. You're going to need some free space to setup your volume groups. You can use:
    1. Free space on your primary hard drive.
    2. A partition that you are not using any more. (such as the Windows partion you haven't booted in 6 months, that is what Qemu/VMWare are for isn't it??)
    3. A new blank hard drive you've added to your system.
  4. Format your free space/partition/new drive using your favorite disk management tool to "Linux LVM". Also use some of this space to create your separate /boot partition (100MB, ext3, bootable flag) if you are planning on putting everything under LVM.
  5. Now that you have an LVM partition you can create your volume groups on. Note that you don't need a single large partition formated to Linux LVM, you can format as many smaller LVM partitions as you like, and combine them into a single filesystem using the power of LVM later - this is the preferred method as it allows more flexibility.
  6. Install "lvm2" from the Ubuntu repositories. ("sudo aptitude install lvm2")
  7. Optionally install "system-config-lvm". Here: http://ubuntuforums.org/showthread.php?t=216117 is a forum thread on how to install it from Fedora RPM, (its not available in Ubuntu repositories.)

  8. Load the LVM module - modprobe dm-mod. You can skip this step in Jaunty (9.04) because the dm-mod module is compiled into the kernel.

  9. If that works without any errors, you can go ahead and add dm-mod to the end of your /etc/modules file (sudo nano /etc/modules). This will autoload LVM when Ubuntu starts - very important if you plan on moving your system directories under LVM. 
  10. Configuration Read  Here
 

 By default, the root account password is locked in Ubuntu. This means that you cannot login as root directly or use the su command to become the root user. However, since the root account physically exists it is still possible to run programs with root-level privileges. This is where sudocomes in - it allows authorized users (normally "Administrative" users; for further information please refer to AddUsersHowto) to run certain programs as root without having to know the root password.

 

This means that in the terminal you should use sudo for commands that require root privileges; simply prepend sudo to all the commands you would normally run as root. For more extensive usage examples, please see below. Similarly, when you run GUI programs that require root privileges (e.g. the network configuration applet), use graphical sudo and you will also be prompted for a password (more below). Just remember, when sudo asks for a password, it needs YOUR USER password, and not the root account password.

 

Ubuntu is also setup initially with the first user having the right to become root through SUDO by being a member of the Admin group. Subsequent users that need root privileges simply need to be added to this group.

It is advisable to NEVER change the root password from it's default hash for many reasons. If you need persistent root access simply use sudo -i.

 

 

Login Form