Link to home
Start Free TrialLog in
Avatar of cctanaka
cctanakaFlag for Brazil

asked on

What are config files for a server?

Hi,

  I have a SuSe 8.1 working as a server:
- User account server
- Samba Server (User must login in a domain), so there are smbusers too
- DNS Server
- IPTables for routing a small network thru a broadband connection
- Web Server (Apache)

I have a kind of "backup"  computer with another name where I make copies of all Samba shared files (smbmount ...., cp ...).
I want to have a batch command that I could run and change all the configuration files (in etc an another places), so that I just restart this backup computer and substitute the main computer in the case of problem.

Is that possible? How?

Thanks in advance.
Cesar
Avatar of LarryHo
LarryHo

> - User account server
/etc/passwd, /etc/shadow, /etc/group

> samba
/etc/samba/smb.conf or /etc/smb.conf
samba share directories

> DNS server
/etc/named.conf, /var/named/*

> IPtables
/etc/sysconfig/iptables  (please check and confirm)

> Web server
/etc/httpd/conf/httpd.conf
/var/www/html/*   <=== It depends on your "DocumentRoot" setting in httpd.conf

Hope this helps you

http://confstore.sourceforge.net/

Thanxs,
Joju.
Avatar of cctanaka

ASKER

LarryHo, that is a very interesting backup tool, but I have already one backup solution. Thanks anyway.

Joju, it is also a very interesting way to backup config files, but I have different flavors of Linux, so I am not if I can exchange files directly without make any change. Thanks.

Wesly_chen, I am looking for that kind of info. I still have some doubts: what about hosts and networks files? Are you sure those files are enough, I mean I would like to change the name of the backup computer, its IP address etc.?
Hi,

 I am wainting for a confirmation about the config files needed to be modified to "transform" one linux machine in another linux machine (such thing as IP address, machie name, network description, samba config, etc.)

Thanks
Carlos Cesar
ASKER CERTIFIED SOLUTION
Avatar of wesly_chen
wesly_chen
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial