LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old
Rating: 2 votes, 2.50 average.

DNS configuration in RHEL (Forward and reverse zone)

Posted 11-10-2011 at 04:13 AM by deep27ak
Updated 08-18-2012 at 04:03 AM by deep27ak

For more Linux based tutorials My BLOG

Few things you need to check before starting with configuration:

For explanation I am using 192.168.0.100 (you need to give your machine's IP instead) and all other conventions will vary as per your requirements. So make sure to change them.

Code:
#vi /etc/sysconfig/network-scripts/ifcfg-eth0
IPAddr=192.168.0.100 (will vary accordingly)
Code:
#vi /etc/resolv.conf
nameserver 192.168.0.100
...
Senior Member
Posted in Uncategorized
Views 2468 Comments 0 deep27ak is offline
Old

sendmail configuration in RHEL

Posted 11-08-2011 at 03:23 AM by deep27ak
Updated 08-18-2012 at 04:03 AM by deep27ak

For more Linux based tutorials My BLOG

Many times I have seen people complaining about their sendmail configuration.

So here I am going to explain configuration of sendmail on RHEL 5

NOTE: This is a simple configuration but if you want to insert some special permissions and authentications let me know I will try to help with additional info

To start of you need to check for the presence of STARTLS and SASLv2 in your machine
Code:
#sendmail
...
Senior Member
Posted in Uncategorized
Views 4342 Comments 0 deep27ak is offline
Old

logrorate - centos 5

Posted 11-05-2011 at 07:40 AM by Sharad Garg

Hi

I have a logfile of my application. I want this file to rotate if its size exeeds 1 MB.

For this I am using `logrorate'. I am running the logrorate manually. S whenever I run logrorate, log file gets rorates. It does not take care whether the file size is less than 1 M or not.

I have defined size 1M in the config file. For reference the content of config file is here -

=======================================================================================...
LQ Newbie
Posted in Uncategorized
Views 306 Comments 0 Sharad Garg is offline
Old

allowing commands to continue after parent shell exit

Posted 11-05-2011 at 05:52 AM by neonsignal

Because commands that are started from a shell are child processes, they will normally be terminated when the shell exits.

A command can be run with nohup so that it can continue beyond the life of the parent shell, and output will be directed to the file nohup.out:
Code:
nohup command
Alternatively, if the command is already running (ie in the background), it can be allowed to continue by using disown before closing the shell:
Code:
disown
...
Senior Member
Posted in Uncategorized
Views 7812 Comments 2 neonsignal is offline
Old

resetting the root password

Posted 11-05-2011 at 05:36 AM by neonsignal
Updated 11-05-2011 at 05:38 AM by neonsignal

When the root password has been lost, it can be reset as follows.

At the grub menu, select 'e' to edit, and add the parameter 'init=/bin/bash' to the linux line. Then 'ctrl-x' to continue booting. This will start the system into a command shell.

Then remount the filesystem root as writable, so that the password can be changed:
Code:
mount -n -o rw,remount /
Change the password in the usual way, then sync to disk:
Code:
passwd
...
Senior Member
Posted in Uncategorized
Views 265 Comments 0 neonsignal is offline

  



All times are GMT -5. The time now is 01:09 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration