Archive for the 'Ubuntu' Category

Thursday, November 6th, 2008

If you want to work with zip files in Ubuntu command line interface, you will need these commands: zip and unzip.
Zip
To install zip if you don’t already have it, do this
sudo apt-get install zip
The simplest way to create a zip file (archive) is
zip myzipfile.zip file1 file2 file3 …
Where myzipfile.zip is the file (zip archive) you […]

Tuesday, October 21st, 2008

This tutorial will explain how to upgrade Ubuntu Server from Feisty to Hardy
Step 1: Feisty to Gusty Upgrade
first be sure your feisty up-to-date
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

if everything ok, ready for upgrade to gusty.
nano /etc/apt/source.list

all change “feisty” to “gutsy”
save and exit (ctrl-x, yes)
sudo apt-get update
sudo apt-get dist-upgrade
(one package doesn’t upgrade : mailscanner
but this […]

Wednesday, August 27th, 2008

You need to use biosdecode command line utility. Dmidecode is a tool or dumping a computer’s DMI (some say SMBIOS) table contents in a human-readable format. The output contains a description of the system’s hardware components, as well as other useful pieces of information such as serial numbers and BIOS revision. This command works under […]

Thursday, August 7th, 2008

This tutorial details installation of eAccelerator on Ubuntu 8.04 (Hardy Heron) and most Debian systems.
“eAccelerator is a free open-source PHP accelerator, optimizer, and dynamic content cache. It 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 […]

Wednesday, August 6th, 2008

Complex PHP applications, such as Drupal, can gain a lot of performance benefits from running a PHP op-code cache/accelerators.
APC, Alternate PHP Cache, is now the most maintained free/open source op-code cache, and is being used more and more as it emerges to be the most stable.
The instructions here detail how to get APC running on […]

Tuesday, July 22nd, 2008

Introduction
As an operating system that has gained a strong market share in the server environment, firewall applications have always been important to Linux, and Linux kernels have had packet filtering since the 1.1 series.
In 1994, Alan Cox created ipfwadm, the first firewall for Linux, which was based on ipfw from BSD and was enhanced for […]

Tuesday, July 22nd, 2008

#vipw
Edit or no Edit path of Home directory & save
#vi /usr/local/etc/proftpd.conf
find line :
[…]
#DefaultRoot ~
[…]
uncomment # to
[…]
DefaultRoot ~
[…]
save file
Restart FTP deamon
/usr/local/etc/rc.d/proftpd retstart

Tuesday, July 22nd, 2008

If you forgot you password for your ubuntu system you can recover using the following stepsTurn your computer on.
Press ESC at the grub prompt.
Press e for edit.
Highlight the line that begins kernel ………, press e
Go to the very end of the line, add rw init=/bin/bash
press enter, then press b to boot your system.
Your system will […]

Tuesday, July 22nd, 2008

Some time you might find some applications are having only .rpm files but you want a .deb package for your debian,Ubuntu and other debian derived ditributions.If you can’t find .deb debian package in any of the debian,ubuntu repositories or elsewhere, you can use the alien package converter to install the .rpm file.Alien is a program […]

Tuesday, July 22nd, 2008

MySQL is a relational database management system (RDBMS) based on SQL (Structured Query Language). First released in January, 1998, MySQL is now one component of parent company MySQL AB’s product line of database servers and development tools. Yes, it really is this easy.run the following command to change the mysql root password
sudo /etc/init.d/mysql reset-password
New MySQL […]