linux

How to Run Office 2007 in Ubuntu Linux

WINE (Wine Is Not an Emulator) is an application layer for Linux that interprets the Windows API and DLLs into native Linux commands. This allows for programs made for Windows to be run in Linux! In order to run Office 2007, Wine 1.1.9 (or newer) is required. It is currently in a development release. If [...]

How to Run JAVA on Linux

Note in this series of instructions, you are told to recompile the kernel. This step may not be necessary on your system. If desired, you may skip recompiling the kernel, then if it does not work, recompile your kernel. Copy the file “jdk1.2pre-v2.tar.bz2″ from blackdown.org to “/usr/local”. Bunzip2 –kv jdk1.2pre-v2.tar.bz2 Type “tar –xvf jdk1.2pre-v2.tar”. This [...]

How To List Down Linux Partition Tables

At times, listing down all partition tables and mounted linux devices gives us a better view of what storage devices and partition types does your linux box have. Here’s a simple approach on how to list down all linux partition tables and devices from your linux box. List Down Linux Partition Tables Simply issue # [...]

How to resolve PHP Pecl Memcached module installation problems

I am using on several projects memcached and on the application side the php memcached module. This can be installed as any pear/pecl module, or from source by downloading the source .tgz and running the classic phpize; ./configure; make; make install; While trying to upgrade the memcached module to the latest version available 2.1.2 I [...]

How to Install Java Runtime Environment – Linux

You can download SUN’s latest Java JDKs at: http://java.sun.com/javase/downloads/index.jsp. For my 64-bit Debian system I selected the 64-bit JDK multiplatform binary for Linux: jdk-6u10-linux-x64.bin. I downloaded the binary file to /tmp and installed it as follows as root: # mkdir -p /usr/java # cd /usr/java # # chmod 700 /tmp/jdk-6u10-linux-x64.bin # /tmp/jdk-6u10-linux-x64.bin … creating: jdk1.6.0_10/ [...]

How To Grant/Deny Access to Particular Web Files Using Apache

When browsing web files and directory, most bots, without consideration to .htaccess restrictions, have the capability to crawl and sniff files and folders located under your web root folder, even if these files and folders were not visually displayed from your web pages. Take for an example, you displayed a file under http://domain.com/folder1/folder2/folder3/page.html Most bots [...]

How to Remove Unwanted Startup Files or Services in Debian

Under Debian Linux startup files are stored in /etc/init.d/ directory and symbolic linked between /etc/rcX.d/ directory exists. Debian Linux uses System V initialization scripts to start services at boot time from /etc/rcX.d/ directory. Debian Linux comes with different utilities to remove unwanted startup file  Using rcconf This tool configures system services in connection with system [...]

How to set up time server in linux

The Network Time Protocol (NTP) is a protocol for synchronizing the clocks of computer systems over packet-switched, variable-latency data networks. NTP uses UDP port 123 as its transport layer. It is designed particularly to resist the effects of variable latency (Jitter).  Please also refer  How to Install and Configure The Network Time Protocol How to Sync [...]

How to unmount in Linux

Unmounting is done with the umount command. No, I didn’t make a typo: the command really is umount, not unmount. When unmounting, you’ll need to tell umount what mounted device to unmount, either by telling what’s the device or the mount point. For example, if /dev/fd0 is mounted to /mnt/floppy, you’ll unmount it with $ [...]

How and where to mount in Linux

Mounting is done with the mount command. When mounting, you must tell the mount command what is the device or partition you want to mount and what is the mount point. The mount point must be a directory that already exists on your system. For example, to mount your floppy: $ mount /dev/fd0 /mnt/floppy In [...]

What is mounting in Linux

As you know, you can store your data in different physical storage devices, like floppies, CD-ROMs, and hard disk drives. Your hard disk or disks are also very likely split up into different partitions with different filesystems. If you’re migrating to Linux from Microsoft Windows, you’re probably used to accessing all your filesystems very easily: [...]

How to Use vpnc on CentOS 5.x

The vpnc program is used to connect to Cisco VPNs. Although Cisco provides a Linux client, it can often be problematic to build, especially on 64 bit or SMP systems. Additionally, vpnc is quick to install and easy to configure. Start by installing and enabling the rpmforge repo. Once that is done, vpnc can be installed [...]

How to Start and stop Usermin

 Usermin has its own permanently running server web server process, which can be started or stopped using this module. At the bottom of the main page is either a button labeled Stop Usermin or *Start Usermin*, depending on whether it is currently running or not. The server can also be stopped and started at the [...]

How to Configure Virtual IP Address in Linux

Invoke the linuxconf tool. ( type linuxconf in the shell prompt and press Enter ). For starting this tool you have to be logged in as Super user. In the displayed menu, select the menu item : IP Aliases for virtual hosts and press Enter. This will display the two interfaces eth0 and lo. (Ethernet [...]