<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4005045078069999347</id><updated>2024-11-01T13:17:33.961+05:30</updated><category term="System Admin"/><title type='text'>Linux Server Questions?</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://linuxserverquestion.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://linuxserverquestion.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Vishal Garg</name><uri>http://www.blogger.com/profile/01952798766028008506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>25</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4005045078069999347.post-5490599377952837612</id><published>2011-12-28T17:46:00.000+05:30</published><updated>2016-06-18T17:26:25.600+05:30</updated><title type='text'>System Admin Questions</title><summary type="text">



Q: - How are devices represented in
UNIX?
All devices are represented by files called special files that are located in
/dev directory.


Q: - What is &#39;inode&#39;?
All UNIX files have its description stored in a structure called &#39;inode&#39;. The
inode contains info about the file-size, its location, time of last access,
time of last modification, permission and so on. Directories are also
represented</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/5490599377952837612'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/5490599377952837612'/><link rel='alternate' type='text/html' href='http://linuxserverquestion.blogspot.com/2011/07/system-admin-questions.html' title='System Admin Questions'/><author><name>Vishal Garg</name><uri>http://www.blogger.com/profile/01952798766028008506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4005045078069999347.post-4514950063919975814</id><published>2011-09-29T12:35:00.000+05:30</published><updated>2011-09-29T12:35:03.159+05:30</updated><title type='text'>Networking Questions2</title><summary type="text">




What is router?

Router is a device that is used to connect two different networks.


How will you configure ADS?

Start ==&amp;gt; Run ==&amp;gt; DCPROMO
Or
Start==&amp;gt; Configure your server ==&amp;gt; add/Remove a Role


What is ADS?

A central component of the Windows platform, Active Directory service
provides the means to manage the identities and relationships that make up
network environments.


</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/4514950063919975814'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/4514950063919975814'/><link rel='alternate' type='text/html' href='http://linuxserverquestion.blogspot.com/2011/09/networking-questions2.html' title='Networking Questions2'/><author><name>Vishal Garg</name><uri>http://www.blogger.com/profile/01952798766028008506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4005045078069999347.post-1480610608056387841</id><published>2011-09-29T12:15:00.000+05:30</published><updated>2011-09-29T12:15:36.450+05:30</updated><title type='text'>Networking Questions1</title><summary type="text">

&lt;!--[if gte mso 9]&gt;
 
  
 
&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;
 
  Normal
  0
  
  
  
  
  false
  false
  false
  
  EN-US
  X-NONE
  X-NONE
  
   
   
   
   
   
   
   
   
   
  
  
   
   
   
   
   
   
   
   
   
   
   
  
&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;
 
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/1480610608056387841'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/1480610608056387841'/><link rel='alternate' type='text/html' href='http://linuxserverquestion.blogspot.com/2011/09/networking-questions1.html' title='Networking Questions1'/><author><name>Vishal Garg</name><uri>http://www.blogger.com/profile/01952798766028008506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4005045078069999347.post-1886923488895291392</id><published>2011-09-29T12:01:00.002+05:30</published><updated>2011-09-29T12:42:26.788+05:30</updated><title type='text'>Networking Questions</title><summary type="text">



What
are the difference between hub and switch?

Hub is &amp;nbsp;layer 1 device. It
out the signal from all of its port except the one from where its insert. It’s
unable to find the collision. Its based to work on single collision and single
broadcast domain. 
Switch is layer 2 device. It maintains CAM table that store the
MAC address of devices attached on its port. CAM table is used to make </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/1886923488895291392'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/1886923488895291392'/><link rel='alternate' type='text/html' href='http://linuxserverquestion.blogspot.com/2011/09/networking-questions.html' title='Networking Questions'/><author><name>Vishal Garg</name><uri>http://www.blogger.com/profile/01952798766028008506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4005045078069999347.post-422158830658148937</id><published>2011-08-10T08:09:00.003+05:30</published><updated>2016-06-18T17:25:53.665+05:30</updated><title type='text'>System Admin Questions 7</title><summary type="text">

Q: - What is LVM Snapshot ?
&amp;nbsp;An LVM snapshot is an exact
copy of an LVM partition that has all the data from the LVM volume from the
time the snapshot was created. The big advantage of LVM snapshots is that they
can be used to greatly reduce the amount of time that your services/databases
are down during backups because a snapshot is usually created in fractions of a
second. After the </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/422158830658148937'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/422158830658148937'/><link rel='alternate' type='text/html' href='http://linuxserverquestion.blogspot.com/2011/08/system-admin-questions-7.html' title='System Admin Questions 7'/><author><name>Vishal Garg</name><uri>http://www.blogger.com/profile/01952798766028008506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4005045078069999347.post-5500042033001743911</id><published>2011-08-01T17:04:00.004+05:30</published><updated>2011-09-01T12:20:44.425+05:30</updated><title type='text'>File Management</title><summary type="text">
In the Linux file structure files are grouped according to purpose.  

Ex:
 commands, data files, documentation. All directories are grouped under the root entry &quot;/&quot;.
  That part of the directory tree is left out of the below diagram.  See Filesystem standard.


root - The home directory for the root user

home - Contains the user&#39;s home directories along with directories for services</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/5500042033001743911'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/5500042033001743911'/><link rel='alternate' type='text/html' href='http://linuxserverquestion.blogspot.com/2011/08/file-management.html' title='File Management'/><author><name>Vishal Garg</name><uri>http://www.blogger.com/profile/01952798766028008506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4005045078069999347.post-2992760074548218651</id><published>2011-08-01T16:52:00.007+05:30</published><updated>2011-09-01T12:20:39.856+05:30</updated><title type='text'>User Management</title><summary type="text">
Useradd
- Adding a new user

Options: 

-d
     home directory
-s
     starting program (shell)
-p
     password
-g
     (primary group assigned to the users)
-G
     (Other groups the user belongs to)
-m
     (Create the user&#39;s home directory


Example: To add a new user with

a
     primary group of users
a
     second group mgmt
starting
     shell /bin/bash
</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/2992760074548218651'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/2992760074548218651'/><link rel='alternate' type='text/html' href='http://linuxserverquestion.blogspot.com/2011/08/user-management.html' title='User Management'/><author><name>Vishal Garg</name><uri>http://www.blogger.com/profile/01952798766028008506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4005045078069999347.post-7982561931357427891</id><published>2011-07-31T16:10:00.003+05:30</published><updated>2011-09-01T12:20:34.536+05:30</updated><title type='text'>Oracle ADF Questions</title><summary type="text">
Q : What is Oracle ADF?
A : Oracle ADF is an commercial java/j2ee framework, which is used to build enterprise applications.
It is one of the most comprehensive and advanced framework in market for J2EE



Q : What are the advantages of using ADF?
A : Following are the advantages of using :



It supports Rapid Application Development.
It is based on MVC architecture
Declarative </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/7982561931357427891'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/7982561931357427891'/><link rel='alternate' type='text/html' href='http://linuxserverquestion.blogspot.com/2011/07/oracle-adf-questions.html' title='Oracle ADF Questions'/><author><name>Vishal Garg</name><uri>http://www.blogger.com/profile/01952798766028008506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4005045078069999347.post-1390208160929135591</id><published>2011-07-29T17:07:00.004+05:30</published><updated>2016-06-18T17:24:28.651+05:30</updated><title type='text'>System Admin Questions 6</title><summary type="text">


Q: - What is network bonding in
Linux and steps to configure network bonding ?
&amp;nbsp;Network interface card (NIC)
bonding (also referred to as NIC teaming) is the bonding together of two or
more physical NICs so that they appear as one logical device. This allows for
improvement in network performance by increasing the link speed beyond the
limits of one single NIC and increasing the </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/1390208160929135591'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/1390208160929135591'/><link rel='alternate' type='text/html' href='http://linuxserverquestion.blogspot.com/2011/07/system-admin-questions-6.html' title='System Admin Questions 6'/><author><name>Vishal Garg</name><uri>http://www.blogger.com/profile/01952798766028008506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4005045078069999347.post-4457331080597576552</id><published>2011-07-29T16:01:00.010+05:30</published><updated>2016-06-18T17:21:51.201+05:30</updated><title type='text'>System Admin Questions 1</title><summary type="text">

Q: - Tell me name of Linux File systems?
Ext2
Ext3


Q: - What is the difference between ext2 and ext3 file systems?
The ext3 file system is an enhanced version of the ext2 file system.

The most important difference
between Ext2 and Ext3 is that Ext3 supports journaling.
After an unexpected power failure or system crash (also called an unclean
system shutdown), each mounted ext2 file system on</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/4457331080597576552'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/4457331080597576552'/><link rel='alternate' type='text/html' href='http://linuxserverquestion.blogspot.com/2011/07/system-admin-questions-1.html' title='System Admin Questions 1'/><author><name>Vishal Garg</name><uri>http://www.blogger.com/profile/01952798766028008506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4005045078069999347.post-4420010935573640790</id><published>2011-07-16T16:43:00.011+05:30</published><updated>2016-06-18T17:19:16.876+05:30</updated><title type='text'>System Admin Questions 2</title><summary type="text">



Q: - Can we change files parameters
placed under /proc directory? 
Yes
To change the value of a virtual file, use the echo command and a greater than
symbol (&amp;gt;) to redirect the new value to the file. For example, to change the
hostname on the fly, type: 

echo www.linuxexpertise.blogspot.com
&amp;gt; /proc/sys/kernel/hostname



Q: - What is the use of sysctl
command?
The /sbin/sysctl command </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/4420010935573640790'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/4420010935573640790'/><link rel='alternate' type='text/html' href='http://linuxserverquestion.blogspot.com/2011/07/system-admin-questions-2_16.html' title='System Admin Questions 2'/><author><name>Vishal Garg</name><uri>http://www.blogger.com/profile/01952798766028008506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4005045078069999347.post-5476816663725359650</id><published>2011-07-16T16:42:00.008+05:30</published><updated>2016-06-18T17:26:51.665+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="System Admin"/><title type='text'>System Admin Questions 3</title><summary type="text">


Q: - Can we resize the size of a
partition?
Yes, we can resize the size of partition by “parted” command.
#parted /dev/sda

print

To resize the partition, use the
resize command followed by the minor number for the partition, the starting
place in megabytes, and the end place in megabytes. For example:

resize 3 1024 2048

After resizing the partition, use
the print command to confirm that </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/5476816663725359650'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/5476816663725359650'/><link rel='alternate' type='text/html' href='http://linuxserverquestion.blogspot.com/2011/07/system-admin-questions-3.html' title='System Admin Questions 3'/><author><name>Vishal Garg</name><uri>http://www.blogger.com/profile/01952798766028008506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4005045078069999347.post-4029693391164742284</id><published>2011-07-16T16:39:00.010+05:30</published><updated>2016-06-18T17:23:26.186+05:30</updated><title type='text'>System Admin Questions 4</title><summary type="text">




Q: - Explain architectures required
for RPMs?
noarch Architecture-independent, can run on any architecture

i386&amp;nbsp;&amp;nbsp; Generic build for a
32-bit x86 system

i586&amp;nbsp;&amp;nbsp; Sometimes used when
building kernels for older x86 processors
Intel® Pentium ® II, Intel Pentium III, Intel Pentium 4, AMD Athlon, and

i686&amp;nbsp;&amp;nbsp; AMD Duron systems
(Most RPMs for these architectures are </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/4029693391164742284'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/4029693391164742284'/><link rel='alternate' type='text/html' href='http://linuxserverquestion.blogspot.com/2011/07/system-admin-questions-4.html' title='System Admin Questions 4'/><author><name>Vishal Garg</name><uri>http://www.blogger.com/profile/01952798766028008506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4005045078069999347.post-7448167555498231984</id><published>2011-07-16T16:37:00.005+05:30</published><updated>2016-06-18T17:23:58.544+05:30</updated><title type='text'>System Admin Questions 5</title><summary type="text">

Q: - How to detect CPU
architecture/bitmode (32-bit or 64-bit) for Linux ?
# cat /proc/cpuinfo | grep flags

you will find one of them with name
&quot;tm(transparent mode)&quot; or 
&quot;rm(real mode)&quot; or &quot;lm(long mode)&quot;

1. rm tells ,it is a 16 bit processor
2. tm tells, it is a 32 bit processor
3. lm tells, it is a 64 bit processor



Q: - What is the difference between
SSH and Telnet ?

The Primary </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/7448167555498231984'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/7448167555498231984'/><link rel='alternate' type='text/html' href='http://linuxserverquestion.blogspot.com/2011/07/system-admin-questions-5.html' title='System Admin Questions 5'/><author><name>Vishal Garg</name><uri>http://www.blogger.com/profile/01952798766028008506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4005045078069999347.post-5563705491761280863</id><published>2010-10-25T18:27:00.010+05:30</published><updated>2011-09-01T12:20:16.386+05:30</updated><title type='text'>Samba Server Questions</title><summary type="text">
Q: - Which SELinux security context used for SAMBA ?
samba_share_t


Q: - On which ports SAMBA server works ?
- UDP port 137 for netbios-ns, the NETBIOS Name Service
- UDP port 138 for netbios-dgm, the NETBIOS Datagram Service
- TCP port 139 for netbios-ssn, the NETBIOS session service
- TCP port 445 for microsoft-ds, the Microsoft Domain Service



Q: - how to start and stop samba </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/5563705491761280863'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/5563705491761280863'/><link rel='alternate' type='text/html' href='http://linuxserverquestion.blogspot.com/2010/10/samba-server-questions.html' title='Samba Server Questions'/><author><name>Vishal Garg</name><uri>http://www.blogger.com/profile/01952798766028008506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4005045078069999347.post-208474944797137083</id><published>2010-10-25T18:27:00.009+05:30</published><updated>2011-09-01T12:18:36.999+05:30</updated><title type='text'>FTP Server Questions</title><summary type="text">
Q: - What is FTP ?
FTP stands for File Transfer Protocol. An FTP server allows clients to connect to it either
anonymously or with a username and password combination. After successful authentication, files can be transferred back and forth between the server and client. The files are neither encrypted nor compressed.



Q: - For Redhat Linux or Fedora which package is required for FTP </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/208474944797137083'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/208474944797137083'/><link rel='alternate' type='text/html' href='http://linuxserverquestion.blogspot.com/2010/10/ftp-server-questions_25.html' title='FTP Server Questions'/><author><name>Vishal Garg</name><uri>http://www.blogger.com/profile/01952798766028008506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4005045078069999347.post-4158541524430885064</id><published>2010-10-25T18:26:00.003+05:30</published><updated>2011-09-01T12:20:06.833+05:30</updated><title type='text'>DNS Server Questions</title><summary type="text">
Q: - which are the important configuration files for DNS server ?
BIND uses /etc/named.conf as its main configuration file, the /etc/rndc.conf file as the
configuration file for name server control utility rndc, and the /var/named/ directory for zone files and the like.


Q: - What is BIND ?
BIND stands for Berkeley Internet Name Domain which is the most commonly used Domain Name System (</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/4158541524430885064'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/4158541524430885064'/><link rel='alternate' type='text/html' href='http://linuxserverquestion.blogspot.com/2010/10/dns-server-questions.html' title='DNS Server Questions'/><author><name>Vishal Garg</name><uri>http://www.blogger.com/profile/01952798766028008506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4005045078069999347.post-2108447299948759969</id><published>2010-10-25T18:25:00.003+05:30</published><updated>2011-09-01T12:19:59.406+05:30</updated><title type='text'>Sendmail Server Questions</title><summary type="text">


Q: - How to start sendmail server ?
service sendmail restart


Q: - On which ports sendmail and senmail with SSL works ?
By default, Sendmail uses TCP and UDP port 25 for non-encrypted transfers. If the Sendmail server is configured to use SSL for encrypting email sent and received, it uses port 465.



Q: - Explain use of &quot;trusted-users&quot; file ?
List of users that can send email </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/2108447299948759969'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/2108447299948759969'/><link rel='alternate' type='text/html' href='http://linuxserverquestion.blogspot.com/2010/10/sendmail-server-questions.html' title='Sendmail Server Questions'/><author><name>Vishal Garg</name><uri>http://www.blogger.com/profile/01952798766028008506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4005045078069999347.post-4693860826220895326</id><published>2010-10-25T18:24:00.007+05:30</published><updated>2011-09-01T12:19:44.868+05:30</updated><title type='text'>Qmail Server Questions</title><summary type="text">
Q: - What is procmail ?
Procmail is a popular Message Delivery Agent (MDA). The function of an MDA is to accept a message from the MTA for a specific user or mailbox, and deliver the message according to the user&#39;s desires. procmail can be used to &quot;filter&quot; messages by the content of various header fields or the body of the message.



Q: - What is maildir ?
Maildir is a mailbox format </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/4693860826220895326'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/4693860826220895326'/><link rel='alternate' type='text/html' href='http://linuxserverquestion.blogspot.com/2010/10/qmail-server-questions.html' title='Qmail Server Questions'/><author><name>Vishal Garg</name><uri>http://www.blogger.com/profile/01952798766028008506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4005045078069999347.post-4783187447420747482</id><published>2010-10-25T18:24:00.006+05:30</published><updated>2011-09-01T12:19:32.728+05:30</updated><title type='text'>Postfix Server Questions</title><summary type="text">
Q: - What is the location of postfix mailserver Queue ?
By default, the Postfix mail queues are located in the /var/spool/postfix directory. Each
message queue is created as a separate subdirectory within this directory. Each message is stored as a separate file in the subdirectory, using a unique identifier for the filename.


Q: - What is LMTP ?
The Local Mail Transport Protocol (LMTP) </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/4783187447420747482'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/4783187447420747482'/><link rel='alternate' type='text/html' href='http://linuxserverquestion.blogspot.com/2010/10/postfix-server-questions.html' title='Postfix Server Questions'/><author><name>Vishal Garg</name><uri>http://www.blogger.com/profile/01952798766028008506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4005045078069999347.post-7845981358536873155</id><published>2010-10-25T18:23:00.003+05:30</published><updated>2011-09-01T12:19:17.443+05:30</updated><title type='text'>Apache Server Questions</title><summary type="text">
Q: - What is location of log files for Apache server ?
/var/log/httpd


Q: - What are the types of virtual hosts ?
name-based and IP-based.
Name-based virtual host means that multiple names are running on each IP address.
IP-based virtual host means that a different IP address exists for each website served. Most configurations are named-based because it only requires one IP address.

</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/7845981358536873155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/7845981358536873155'/><link rel='alternate' type='text/html' href='http://linuxserverquestion.blogspot.com/2010/10/apache-server-questions.html' title='Apache Server Questions'/><author><name>Vishal Garg</name><uri>http://www.blogger.com/profile/01952798766028008506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4005045078069999347.post-1594699184400867828</id><published>2010-10-25T18:22:00.003+05:30</published><updated>2011-09-01T12:19:09.521+05:30</updated><title type='text'>LDAP Server Questions</title><summary type="text">
Q: - What is LDAP ?
LDAP stands for Lightweight Directory Access Protocol. In plain and simple terms, its a database whereby it has all the details of all of organizations, individuals, and other resources such as files and devices in a network, whether on the Internet or on corporate intranetand whether or not you know the domain name, IP address, or geographic whereabouts. An LDAP directory </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/1594699184400867828'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/1594699184400867828'/><link rel='alternate' type='text/html' href='http://linuxserverquestion.blogspot.com/2010/10/ldap-server-questions.html' title='LDAP Server Questions'/><author><name>Vishal Garg</name><uri>http://www.blogger.com/profile/01952798766028008506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4005045078069999347.post-1460520456000621899</id><published>2010-10-25T18:21:00.003+05:30</published><updated>2011-09-01T12:19:01.741+05:30</updated><title type='text'>Squid Server Questions</title><summary type="text">
Q: - On Which port Proxy server work ? Can we change proxy server port ?
By default proxy server runs on 3128 port. yes we can change proxy server port.
vi /etc/squid/squid.conf
http_port 3128 


Q: - How to block Some domains by Squid server ?
Make a file 
vi /etc/squid/bad_domains
.xxx.com
.abcd.com
.sexy.com
Now make following changes in Squid.conf file 
acl BAD_DOMAINS </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/1460520456000621899'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/1460520456000621899'/><link rel='alternate' type='text/html' href='http://linuxserverquestion.blogspot.com/2010/10/squid-server-questions.html' title='Squid Server Questions'/><author><name>Vishal Garg</name><uri>http://www.blogger.com/profile/01952798766028008506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4005045078069999347.post-7070130545901884981</id><published>2010-10-25T18:19:00.004+05:30</published><updated>2011-09-01T12:18:30.870+05:30</updated><title type='text'>FTP Server Questions 1</title><summary type="text">
Q: - How to deny specific users access to the FTP server ?
To deny specific users access to the FTP server, add their usernames to the /etc/vsftpd/
ftpusers file. By default, system users such as root and nobody are included in this list.



Q: - Can we create logs for ftp authenticated sessions ?
Yes, If the xferlog_enable directive in vsftpd.conf is set to YES, file transfers using the</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/7070130545901884981'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/7070130545901884981'/><link rel='alternate' type='text/html' href='http://linuxserverquestion.blogspot.com/2010/10/ftp-server-questions.html' title='FTP Server Questions 1'/><author><name>Vishal Garg</name><uri>http://www.blogger.com/profile/01952798766028008506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4005045078069999347.post-1391216016350664121</id><published>2010-10-25T18:16:00.002+05:30</published><updated>2011-09-01T12:18:17.831+05:30</updated><title type='text'>NFS Server Questions</title><summary type="text">


Q: - Explain this entry /shared 192.168.1.0/255.255.255.0(sync,rw)

Allows all systems with 192.168.1.* IP addresses read-write access to the /shared/ directory:


Q: - What will happened if a space is given inbetween allowed_hosts and (options)
If a space is included, the options are applied to any and all IP addresses, which can be quite dangerous if write permission is granted.

</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/1391216016350664121'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4005045078069999347/posts/default/1391216016350664121'/><link rel='alternate' type='text/html' href='http://linuxserverquestion.blogspot.com/2010/10/nfs-server-questions.html' title='NFS Server Questions'/><author><name>Vishal Garg</name><uri>http://www.blogger.com/profile/01952798766028008506</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry></feed>