Linux Articles

Global Linux Knowledge Base…

Follow me on TwitterRSS Feeds

  • Home
  • About
  • Post Article
  • Contact Us
  • Download YouTube Videos in Linux

    Do you want to Download your favorite you tube video in Linux? No problem! Here I have mentioned all steps to download you tube video using Linux Terminal.   Step 1: Install youtube-dl package by executing, On Ubuntu, $ sudo apt-get install youtube-dl On Fedora, RedHat, CentOS, # yum install youtube-dl -y Step 2: After having successfully installed youtube-dl, open a...
    More
  • YUM – Exclude Package Update

    YUM is an interactive, rpm based, package manager. It can automatically perform system updates, including dependency analysis and obsolete processing based on "repository" metadata. It can also perform installation of new packages, removal of old packages and perform queries on the installed and/or available packages among many other commands/services (see below). yum is similar to other high level package ...
    More
  • MySQL – Basic Commands To Know

    MySQL is a simple SQL shell (with GNU read line capabilities). It supports interactive and non interactive use. When used interactively, query results are presented in an ASCII-table format. When used non interactively (for example, as a filter), the result is presented in tab-separated format. The output format can be changed using command options. After Installation of MySQL on Linux System, start it by, #...
    More
  • Convert DEB to RPM or RPM to DEB Package

    You can convert DEB file to RPM package and RPM to DEB package using alien command, if you have a *.rpm file that you want to install on a Debian or Ubuntu. Convert RPM to DEB Install alien command on Ubuntu as mentioned here: # sudo apt-get install alien Now, use alien command to convert rpm to deb file, # alien...
    More
  • Screen Recorder For Linux - Istanbul

    Istanbul is a desktop session recorder for the Free Desktop. It records your session into an Ogg Theora video file. To start the recording, you click on its icon in the notification area. To stop you click its icon again. It works on GNOME, KDE, XFCE and others. It named Istanbul because, Istanbul as a tribute to Liverpool's 5th European Cup triumph in Istanbul on May 25th 2005. To install Istanbul, # yum...
    More
  • Backup MySQL Table Structure To a File

    The mysqldump client is a backup program originally written by Igor Romanenko. It can be used to dump a database or a collection of databases for backup or transfer to another SQL server (not necessarily a MySQL server). The dump typically contains SQL statements to create the table, populate it, or both. However, mysqldump can also be used to generate files in CSV, other delimited text, or XML...
    More
  • Access Windows NTFS Partitions From Linux

    Reading or accessing NTFS partitions in Linux is important for many reasons. NTFS-3G is an open source cross-platform implementation of the Microsoft Windows NTFS file system with read-write support. NTFS-3G often uses the FUSE file system interface, so it can run unmodified on many different operating systems.  Before we start, make sure that you have rpmforge repository configured. If you do not have,...
    More
  • Multi Router Traffic Grapher – MRTG on Linux

    The Multi Router Traffic Grapher (MRTG) is a network or resource monitoring tool used by System Administrators across the Globe. MRTG generates HTML pages containing PNG images, which provides a real time visual representation of network traffic and system resources. STEP 1: Install MRTG with required packages # yum install mrtg net-snmp net-snmp-utils -y STEP 2:...
    More
  • Mozilla Firefox Installation on Fedora Linux

    Mozilla Firefox is a free and open source web browser descended from the Mozilla Application Suite and managed by Mozilla Corporation. As of October 2010, Firefox is the second most widely used browser, with 30% of worldwide usage share of web browsers. In Germany, Firefox is the most popular browser with 60% usage says Wikipedia. To install Firefox 4 on Fedora Linux, # vim ...
    More
  • SARG

    SARG – Squid Analysis Report Generator Configuration is a tool that allow you to view “where” your users are going to on the Internet. SARG provides many information about Squid users activities like, times, bytes, sites, etc… Download latest version of SARG from here. # wget http://...
    More
  • Bz2 tar file contents listing

    bzip2 compresses  files  using  the Burrows-Wheeler block sorting text compression algorithm, and Huffman coding.   Compression  is  generally considerably   better   than   that   achieved   by  more  conventional LZ77/LZ78-based compressors, and approaches the performance of the  PPM family of statistical compressors. To list the contents of a tar.bz2 file, use tar command as follows: ...
    More
  • Linux - Turn off Beep Sound of Terminal

    Linux kernel has PC speaker bell driver called pcspkr.ko. It is responsible for generating beeps while users are working on Shell Prompts ( Both Virtual and GUI Terminals ). If you don't like it, simply remove driver from kernel. Login as a root and type the following command to unload the driver: # rmmod -v pcspkr Sample output: rmmod pcspkr, wait=no We...
    More
  • Set MySQL Root Password

    For mysql, the system administrator user is called root. We will use the mysqladmin utility from a command line to set the new password. Default password is not secured at all. By default in RedHat, Fedora and Centos default password is null. So it is always better to set root password. To set root password, # mysqladmin -u root password XyZ@aBc@123 # mysqladmin -u root -h ...
    More
  • Hard Drive Tuning with hdparm

    hdparm provides  a command line interface to various kernel interfaces supported by the Linux SATA/PATA/SAS "libata" subsystem and  the  older IDE driver subsystem.  Many newer (2008 and later) USB drive enclosures now also support "SAT" (SCSI-ATA Command Translation) and therefore may also  work  with  hdparm. To see how your hard disk does compare: # hdparm -t...
    More
  • RRDTOOL Installation on Linux

    RRDtool is the Open Source industry standard, high performance data logging and graphing system for time series data. Use it to write your custom monitoring shell scripts or create whole applications using its Perl, Python, Ruby, TCL or PHP bindings. RRDTOOL is required by many network monitoring utilities like cacti, nagios & many others. To install RRDTool CentOS/Red Hat, # wget...
    More
  • Release memory in Linux (Unused or Cached)

    In computer science, Memory Leakage occurs when a computer software or program consumes required memory but unable to memory after completing its task or when no longer needed to Operating System. There are two types of Memory Leakage. One is Virtual Memory Leakage and another is Real Memory Leakage. Now first Identify cached memory or unused memory by executing, ...
    More
  • Linux – Push configuration to user by “skel” directory

    By default, when we are creating new user to Linux OS, all files from /etc/skel are copied to the new user's home directory. There are few files included in /etc/skel/ by default. * /etc/skel/.bash_logout * /etc/skel/.bashrc * /etc/skel/.profile * /etc/skel/.cshrc If you want to share some files, including rules and regulations to new users, simply add it...
    More
  • eAccelerator Configuration With PHP5

    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 speed up their execution. eAccelerator typically reduces server load and increases the speed of your PHP code by 1-10 times. I have tested this...
    More
  • Ctrl Alt Delete Deactivation in CentOS / RedHat / Fedora

    Anyone who has physical access to the keyboard can simply use the Ctrl Alt Delete key combination to reboot the server without passing any authentication credentials to server. To disable Ctrl Alt Delete, update /etc/inittab and make sure following line is commented out: # vim /etc/inittab # ca::ctrlaltdel:/sbin/shutdown -t3 -r now Save and exit...
    More
  • RSYNC

    Rsync is a fast and extraordinarily versatile file copying tool. It can copy locally, to/from another host over any remote shell, or to/from a remote rsync daemon. It offers a large number of options that control every aspect of its behaviour and permit very flexible specification of the set of files to be copied. It is famous for its delta-transfer algorithm, which reduces the amount of data...
    More
  • Enable Root Authentication in Linux Single User Mode

    Single-User mode is used for a system recovery. However, by default, no authentication is used if single-user mode is selected. This can be used to bypassing security on the server and gaining root access. To enable authentication for single-user mode, open the /etc/inittab, file: # vi /etc/inittab Add the following line to the...
    More
  • Disable PING response in Linux

    Ping is used to check how many systems are up. Most of the hackers are using ping for finding the hackable machine. The hacking chances can be reduced by turning off ping response. For RHEL/Cent OS/Fedora Linux, open terminal as a root and execute, # sysctl -a | grep icmp net.netfilter.nf_conntrack_icmp_timeout = 30 net.ipv4.icmp_echo_ignore_all =...
    More
  • Back Up files by sending it to Gmail

    Nowadays, GMail servers are very much reliable and give you a couple of GiBs for free of cost! So, it is the best place to store your linux system's important data. In order to accomplish this, first create a directory named “backup” in the root directory of your system: # cd / && mkdir backup Now, you need to create a script, which will perform backup and mail it for you...
    More
  • GRUB Password Setting in Linux

    When your system is rebooted, grub presents the boot option menu called splace screen. From here, you or anybody can easily login into a single user mode (sometimes it is called Rescue Mode) without the password which might result into breaching computer security. You can set a password for the GRUB boot loader. This prevents users from rescue or Singe-User  mode or changing settings at boot ...
    More
  • Reset root password in Linux

    There are a number of different ways to do root password recovery on a Linux system. Different distributions make it easier than others. You must be physically in front of the system. For Red Hat and Mandrake: Boot from your first install CD and as the very first screen comes up hit F2 and type: rescue ( For RedHat "linux rescue" ) and the computer will boot in rescue mode....
    More

GRUB Password Setting in Linux

Dec 29th

Posted by Dhaval Soni in All

No comments

You can set a password for the GRUB boot loader. This prevents users from rescue or Singe-User mode or changing settings at boot time.

Linux Utilities, Server Monitoring

Add User Under Ubuntu

Dec 29th

Posted by Dhaval Soni in All

No comments

Create user using GUI application or via command-line.

Fedora, Server Admin, Server Monitoring

Test Memory Using memtester in Linux

Dec 29th

Posted by Dhaval Soni in All

1 comment

memtester is a user-space utility for testing the memory subsystem in a computer to determine if it is faulty. It does a good job of finding intermittent faults and non-deterministic faults. It has many tests to help catch borderline memory. memtester should compile and run on any 32- or 64-bit Unix or Unix-like system.

Linux Utilities, Server Admin, Server Monitoring

OpenOffice Tuning – Make Startup Faster

Dec 29th

Posted by Dhaval Soni in All

No comments

OpenOffice is the leading open-source office software suite for word processing, spreadsheets, presentations, graphics, databases and more. It is available in many languages and works on all common computers. It stores all your data in an international open standard format and can also read and write files from other common office software packages. It can be downloaded and used completely free of charge for any purpose.

Fedora, Linux Utilities, Server Admin

Burn CD or DVD as a non-root user in Debian

Dec 29th

Posted by Dhaval Soni in All

No comments

If you wish to allow non-root users to write CDs or DVDs, you must first give them permissions to do so.

Server Monitoring

Convert DEB to RPM or RPM to DEB Package

Dec 29th

Posted by Dhaval Soni in All

No comments

You can convert DEB file to RPM package and RPM to DEB package using alien command, if you have a *.rpm file that you want to install on a Debian or Ubuntu.

Server Monitoring

Hard Drive Tuning with hdparm

Dec 24th

Posted by Dhaval Soni in All

No comments

hdparm provides a command line interface to various kernel interfaces supported by the Linux SATA/PATA/SAS “libata” subsystem and the older IDE driver subsystem. Many newer (2008 and later) USB drive enclosures now also support “SAT” (SCSI-ATA Command Translation) and therefore may also work with hdparm.

Server Monitoring

Mount ISO Image Under Linux

Dec 24th

Posted by Dhaval Soni in All

No comments

An ISO image is an disk image of an optical disc using a conventional ISO format. ISO image files typically have a file extension of .ISO. The name “ISO” is taken from the ISO 9660 file system used with CD-ROM media, but an ISO image can also contain UDF file system because UDF is backward-compatible to ISO 9660. You can mount an ISO images via the loop device under Linux.

Server Admin

RSYNC

Dec 24th

Posted by Dhaval Soni in All

No comments

Rsync is a fast and extraordinarily versatile file copying tool. It can copy locally, to/from another host over any remote shell, or to/from a remote rsync daemon. It offers a large number of options that control every aspect of its behavior and permit very flexible specification of the set of files to be copied. It is famous for its delta-transfer algorithm, which reduces the amount of data sent over the network by sending only the differences between the source files and the existing files in the destination. Rsync is widely used for backups and mirroring and as an improved copy command for everyday use.

Server Admin, Server Monitoring

Difference between su and root

Dec 9th

Posted by Dhaval Soni in All

No comments

To be able to do administrative tasks you can temporally login as root using “su” in a console/terminal.

Server Admin, Server Monitoring
« First...«89101112»203040...Last »
  • Search

  • Categories

  • Tag Cloud

    Fedora Linux Linux Utilities Section 8 Server Admin Server Monitoring
  • Popular Posts

    • Install Internet E… 7,325 view(s)
    • Release memory in … 2,567 view(s)
    • Test Memory Using … 2,111 view(s)
    • Linux – Empty Tras… 1,294 view(s)
    • Linux Kickstart Fi… 1,291 view(s)
    • Monitor Failed Log… 1,070 view(s)
    • Linux Kernel Perfo… 1,050 view(s)
    • SARG 1,045 view(s)
    • Open Source Backup… 919 view(s)
    • Open RAR File In L… 810 view(s)
  • Archives

    • August 2011 (9)
    • July 2011 (7)
    • June 2011 (23)
    • May 2011 (27)
    • April 2011 (13)
    • March 2011 (1)
    • February 2011 (1)
    • January 2011 (6)
    • December 2010 (32)
    • November 2010 (787)
    • October 2010 (80)
  • Recent Posts

    • Install Amarok in Linux
    • Create RAMDISK on the fly
    • Access Remote File System through SSH
    • Shell Script : Checking MySQL Slave Server(Replication) Status
    • WordPress: Recovering from permalinks hack
    • MySQL – CREATE TABLE examples
    • Change console font in Fedora
    • Change Linux timezone
    • Assigning multiple Virtual IPs to a NIC
    • Enable IP forwarding on Linux
  • User Login






    • Register
    • Lost your password?
  • Who's Online

    8 visitors online now
    3 guests, 5 bots, 0 members
    Map of Visitors
Copyright © 2013 Linux Articles, All Rights Reserved
RSS Feeds
PR
XHTML 1.1