Limiting Apache users file upload size
This post is an continuation of ongoing apache related article. Earlier we have seen about Installation and configuration of apache webserver in linux, configuring apache logs, details about apache with htaccess file, and methods to secure apache webserver and protecting apache web directory with authentication.
How can we restrict total size of HTT
Linux Smem tool for detailed memory report
Using smem command we can check actual RAM utilized by a user. smem reports shows you physical memory usage,taking shared memory pages into account. Unshared memory is reported as USS (Unique Set Size). Shared memory is divided equally among the processes sharing that memory. The unshared memory and a process proportion of shared memory is reported as
Using Linux Badblocks Command to Check Disks and Partitions
Badblocks is a Linux command its used to search for bad blocks on a disk drive.
Checking badblocks and saves it into specific file
[root@TTS ~]# badblocks -v /dev/sda3 > bad-blocks.txt
Checking blocks 0 to 40959999
Checking for bad blocks (read-only test): done
Pass completed, 0 bad blocks found.
Option v - Verbose mode
How to add and delete route in linux.
In linux / Unix like operating system we can add and delete route permanently and temporarily. In this blog I have explained how to add and delete route permanently and temporarily with syntax
Syntax to add route to a host and network.
route add -net/-host <IPaddress> netmask <subnetmask> gw <Gateway IPaddress> dev <Ethe
Install, configure and setup LAMP(Linux, Apache, Mysql and PHP) environment in Redhat/Centos Linux
LAMP environment is a combination of Linux, Apache, Mysql and Php. Now a days most of the successful website are runs under LAMP environment in internet. It is totally free and easy to setup LAMP environment in linux.
Okay friends I don't want you to wait. Lets start insta
20 useful Tar command in linux with examples
The full form of tar is tape archive. Tar is the primary archiving utility in Linux / Unix. Using the tar command we can compress high number of files and folders to form a archive file. Archived tar file is commonly called us tar ball. Tar archived file will ends in three formats filename.tar, filename.tar.bz and filename.tar.bz2. The tar file ends wi
Linux admin interview questions Part - II
In this blog I have explained all possible linux admin interview questions. It is a continuation of linux admin interview questions part - I and linux interview questions for programmers.
1. What is Umask ? what is the default umask value for files and folders for localuser?
Abbrivation of Umask is user mask or user file creation mask.
How to block brutforce attack using fail2ban in Linux
Fail2ban is a open source its used to monitor the log files (Ex:/var/log/auth.log,/var/log/apache/error_log) and ban's the particular IP's if it has malicious signs like too many password failures or other unwanted actions,etc.. Fail2Ban used to update iptables or firewall rules to reject the IP addresses for a specified amount of time.
Top 60 Linux Technical Term Full Form
In this blog I have explained the most widely used Linux technical terms full form. Knowing full form for technical words will be handy in many situations.
Top 60 Linux Technical Term Full Form
Universally Unique Identifier library.
Network File System.
Runlevel in linux
Runlevel is a state of init and the linux machine services works based on that. Each runlevel defines a different system configuration and with different process combination.
When the linux operating system boots the /etc/inittab file will decide the runlevel. Runlevel is been defined by numerical numbers in /etc/inittab file. The Linux runlevel are numbered from 0 to 6.