Red Hat / Fedora :: Minimum Configuration Files That Would Be Needed To Rebuild RHEL Server?
Jan 8, 2010
What are the bare minimum configuration files that would be needed to rebuild a RHEL server?We are thinking about creating a generic base image and then just copying over the necessary files (fstab, hosts, networking, etc) to get a failed system back up and running in the least amount of time possible. I am fairly new to Linux and have suggested that we have a share on a redundant server that is /server_configs/Svr_name/*.* (names are subject to change and *.* would be all of the pertinent config files to make a fresh build customized enough to emulate the failed server).Is this even possible and/or plausible?
Right now i have a HP DL 180 Server with 130 Gb Hard Disk & 8 Gb ram after Raiding0+1. i want to configure Domain Controller Server for my office for 200 to 300 Users. what should the partition size must be mentioned in my 130 Gb Hard Disk, is that going to be Sufficient for ME ?
i am bit confused about /Usr /Var /Boot partitions, as i need to manage perfectly in 130 GB
if i go with 4 Gb swap and remaining for " / " is that will be fine ? should i need to specify partition sizes separately for / tmp /var / usr ..
I need to establish an FTP server- one with VSFTPD & one with sFTP having at least 300 users in both. My question is what minimum hardware configuration should I go for both to have excellent performance.
We are planning to migrate our LINUX server from RHEL 3to RHEL 5. What are the configuration difference between RHEL 3 to RHEL 5 for webserver installations?
I'm a bit of a newbie with regards to Linux so please bear with me. Basically I've got a problem with frequent hard drive unloads (first diagnosed by hard disk clicking whilst idle)So I need to adjust my advanced power management settings using hdparm to fix the issue. Indeed, following the instructions I temporarily fixed the problem by issuing the command.Again should i create a blank text file using gnomesu gedit and name it disk in the above folder (and then copying the stuff given in the link)?
I need to configure Redhat Linux as Domain Controller in my organisation, where all of my clients PC's will be Windows XP or Windows 7 ( where i can login through Domain users ). what exactly i need to configure in Redhat Linux, i heard Configuring Samba as PDC is quite enough ? is that right ? then what is Open LDAP ? should i need to Configure Open LDAP also ?
Righr now i have configured DNS, i am able to dig my server name. it's well resolving, bit i am unable to connect my XP Pc's as clients to the Server. while changing the name it is unable to contact the Server. { i tried the same process in Windows DC environment, joining clients to domain, where domain users can login to client PC's }
1. DNS or 2. Sambe or 3. Openldap ? For DNS we need to make entries for each client in Zones. is that enough.I am Bit Confused abt this as some one says to configure only DNS. Some says Only Samba as PDC or Samba as PDC with Open Ldap.
Friends i got an opertunity to configure ddns in my office.I already configured staic dns in linux, but this is the first time iam configuring ddns.I just configured ddns in rhel 5.2 in my office.So far every thing working fine,dhcp is giving ip address to the clients and both forward and reverse dns database is updating.
1) In windows we can use flushdns and registerdns commands to update the dns database, like this any command is in linux to update client details in dns database?
2)how to restrict multiple client entries keeping in dhcp database.
3)if i change client hostname it is not updating the dns database,it is keeping the old one.
I have few doubts regarding fonts configuration in RHEL 5.4.
Code: [vinay@linuxcoe4 fonts]$ cd /usr/share/X11/fonts [vinay@linuxcoe4 fonts]$ ls 100dpi 75dpi encodings misc TTF Type1 util [vinay@linuxcoe4 fonts]$ cd /usr/share/fonts/
[Code].....
What is the difference between fonts in /usr/share/X11/fonts and /usr/share/fonts
Also there is no fonts.dir file, which describes fonts under a specific fonts directory in /usr/share/fonts tree.
But we can find fonts.dir or fonts.scale file under /usr/share/X11/fonts/ tree. Does files under /usr/share/fonts tree are not dependent on fonts.dir ?
we are running a Red Hat Enterprise Linux ES release 3 (Taroon Upd 5) Kernel 2.4.21-32.ELsmp since several years. The server hosts an old ERP system who will be replaced at the end of the year.However it is necessary that some collegues are able to write some files to that server regulary. Since we are running Windows 7 on several machines, those users aren't anymore able to write to the samba share. Getting files from the share works fine.
But the problem seems not to be situated at the samba service because also the transfer using SSH (WINSCP) from any Win7 system to the server doesn't work.During testing we recogniced that transfering files smaller then 1kb works fine ... any file greater then 1kb ends up in an connection abort. This works with samba and also using SSH.All the workarounds editing some registry entries in Win7 for improving the interoperability between vista / win7 and samba don't work for us ... and also seem not to be the source of the problem.Is there a general known incompatibility between our RHEL version / kernel and Windows 7 regarding file transfers?
I am using RHEL 5 on my server. The client machines are windows XP.File sharing is through samba server which is working okay. On this file server there is a shared directory for users. This directory contains files which are used by various users through oracle APP. and DB server.
At present the folders under the "shared" folder are having all permissions i.e. 777. To restrict certain things, I want that users may read and modify the files but may not be in a position to move or delete the files. How to set the permissions on the folders/files in this scenario?
(2 weeks) and i like it already enough to change from odd windows 7, but some people still will use windows 7 in this PC but with minimal usage (email, internet, writing docs, listening at music) i would like to delete as much file from windows7 as possible so i have more space for ubuntu using it as main system.any sugestions on what to delete in windows 7 to free up some space?
I experienced a full hard drive yesterday due to a massive error_log. We took care of the errors, but later found out we were missing files, including a MySQL database table. Having a shopping cart and ecommerce stuff on the site, we found that some of those files were missing, too.Does RHEL 5 have some sort of feature for automatically deleting files when the partition is full? If it does, I want to turn it off.
I made a script that, by using "rpmrebuild" (which is available on SourceForge and uses rpmbuild as its backend), recreates all the currently installed RPM packages and stores them in a user-defined directory.
Everything works like a charm, except for a few packages.
Those packages fail to build because some of the files they should contain are missing on the filesystem.
This is an example of the errors I get:
Code: error: File not found: /etc/identd.key File not found: /etc/identd.key /usr/lib/rpmrebuild/rpmrebuild.sh: ERROR: package 'pidentd-3.0.14-5' build failed error: File not found: /usr/share/ssl/certs/stunnel.pem File not found: /usr/share/ssl/certs/stunnel.pem /usr/lib/rpmrebuild/rpmrebuild.sh: ERROR: package 'stunnel-3.26-1.7.3' build failed Is there a way to ask rpmbuild (because yes, rpmrebuild allows to pass parameters to rpmbuild) to *ignore* the missing files?
I have a drive with an NTFS partition where all the files were deleted. What I'm looking for is a way to rebuild the directory structure and recover the files. I really, really want the directory structure as the partition contains 460 Gigs of data. Normally I would use the tools here: [URL] but I've never dealt with this much data before. Everything there that I've used creates a pretty messy dump however.
I have used ntfsundelete before but only for a few files at a time. I have no idea what would happen if I tried to run it on a partition of that size. I'm comfortable with data recovery but this amount of data is beyond me. I've run ntfsundelete with no args and from what I can tell of skimming the pages of output all the files are fine. The partition has not been written to.
I've created a script to FTP some files from a RHEL box to a EMC NAS and the script works because if I run it script manually it runs fine and transfers the files to the NAS but when I schedule it in the crontab the script runs but it doesn't transfer anything and I pipe the output of the cron job and I see message about 'passive mode refused' and lib: not a plain file, sys: not a plain file, etc...I did a vi ~/.netrc which contains the a single line of "machine xxx.xxx.xxx.xxx login ftpuser password xxx"
My script looks like: /usr/bin/ftp -i xxx.xxx.xxx.xxx <<EOF cd ftpdir
My sources list for updates is a bit wonky as in needs the correct uk repositories listed, for Lenny main, could someone point me to where I can find the uk repositories so I can enter then in the software sources option from the menu?
I have a serious problem in booting centos 5.4 x86 as shown in the attached picture.I tried to backup before using fsck command, but I could not make a backup of damaged lvm on hard drive.First I made a rescue centos at virtualbox, and installed centos 5.4 x86 on virtual hard disk.And I attatched damaged hard drive. S I can see this damaged hard drive's lvm as attached picture.Please let me know how to backup my files and to use "fsck.ext3 --rebuild-tree using livecd".
I want to setup a Linux Fedora based Anti-Virus & Anti-Spam Server on my LAN. I have more than 60 Windows users with Proxy Squid running on LAN. Our Email server is hosted on the Internet. Because of virus/spam generate problem, emails are worst affected & the users have a lot of problem on Email, as the outlook gives error. It happens when a PC generates Spam & our IP gets blocked by the ISP for some time. Thats why I want to setup an Anti VIRUS/SPAM Firewall on my LAN (before the Squid), so these spams do not go past the Internet Gateway.Hope u guys understand my problem & suggest some useful links, software & documentations.
I'm using Debian Jessie Cinnamon right now. I've got 1 user account on my machine--fred--as well as root, of course. "fred" is an administrator, and many times that is enough for root priviledges, for example, I can install packages via apt or dpkg. However, I cannot access "Users and Groups", or install packages via GDebi, with my password. For that, I have to have the root password.
I know that it is possible to let the admin account handle everything and not even need root--for example, Mint and (I believe) Ubuntu do it this way. I don't know how, though.
Code: Select allgroups fred fred : fred cdrom floppy sudo audio dip video plugdev netdev lpadmin scanner bluetooth
I did disable the root account by Code: Select allsudo passwd -l root to see if it would make any change. Nothing different happened except that I now can't use GDebi or access "Users and Groups" since the root account and therefore password is inactivated. Not a big deal to get it back, though.
is possible to edited the default RHEL CD to have it automatically install RHEL based off of a kickstart file that I will store locally on the CD. My plan would be to put a cd in a server and have the OS automatically being installed.
LDAP is endlessly not working, due to difficulties to simply configure it. I even cannot make the first steps of the installations ... It seems so difficult ... After many howto, wiki, reading, re-reading the errors are still there, always different, and not working.Is there an admin, coming from hell, that made running a LDAP server for sharing the basic configuratin files /var.. /etc... of a working LDAP Server in a tar.gz?
I have a database server running RHEL 5.1 32 bit that suffered some catastrophic failures about 6 months ago. We were able to patch it back together and keep it running, but now the manufacturing site it supports is going to shut down for two weeks and I would like to replace it permenantly. Does anyone have any guidance for that sort of thing? I'd like to have the new server up and running before hand, basically changing the hostname/ip and restoring the databases only on conversion day. I've done this in the past with HP UX - Red Hat conversions, but this is my first red hat to red hat move. Any advice or shortcuts?I forgot to add the other wrinkle. The new server will be running 64bit linux.
I'm trying to find out what files are needed to boot into another kernel.
I know there's vmlinuz* & initrd* but what else is need?
Is is possible to just copy some files to a partition with an already running Ubuntu version, set up grub & boot a different kernel?
I've seen some documentation on building a new kernel but I was wondering since I already have a good running kernel on a different hard drive if I could just move it & test it on another drive without having to build it.
I downloaded the demo for RHEL Server 6. I'd like to get Xwindows going, but have been thwarted thus far. edit /etc/inittab file and change the value from 3 to 5. That didnt' work. There's an X11 directory with a file called 'prefdm' that has a bunch of code in it that I have no idea what it means. how to get X windows to start?