CentOS 5 :: Do I Have To Call Any Existing CentOS Scripts From Ks.cfg File?
Sep 20, 2010
I have configured a kickstart file where it will ask for the hostname, ipaddress and so on from the user and will proceed further.But I would also like to detect the keyboard, mouse and language and provide it to the user so that he can select the required options.Do I have to call any existing CentOS scripts from ks.cfg file?or if any one has developed any scripts or can any one give me any inputs for it.
I want to upgrade existing MySQL 5.0.77 version on CentOS 5 Red Hat Linux to MySQL 5.1.x. Is anybody have list of patches or upgrades to upgrade to MySQL 5.1.x?
I have installed Centos 5.5 running in VMware on my windows PC. My PC is part of a network which connects to a Linux Fileshare system. I am wanting to connect to the existing Linux fileshare from centos. The know the fileshare is NFS and I know the IP address and directory name. I attempted to connect using the 'mount' command as#mount -t nfs <server IP address>:/<directory> <local directory>An attempt was made to mount, however it is username/password protected. I have gone through the docco for 'mount' and cannot find anyway of passing <username><password> with 'mount'. Does anyone know how? Or am I using the wrong command?
I am running a VPS of CentOS. clock command doesn't work.[174-37-247-102.lx-vs.net ~]# clock hwclock is unable to get I/O port access: the iopl(3) call failed. How to solve the problem? I have tried "timeconfig" and set to New York and System Clock uses UTC and restart the server but it was not useful.
I'm newbie with Centos. I have got a server with Centos 5.2 and I need to use PHP 5 >= 5.1.0 function as timezone_open. So that, I follow this guide to update php. Now, I have got PHP 5.1.6 (cli) (built: Mar 31 2010 02:44:37). I create a simple test.php: Quote:<?php $var = timezone_open('UTC');print_r($var);?>
is there a way to clone an installation? I have a couple "master systems" which I want to replicate into other servers. In Solaris I can build a flar image from the first one and install from that image, I looked into cobbler and koan, but they seem to be more repo and kickstart oriented.I need a way to say "take this system as a base and build an installation image out of it".
I've installed CentOS 5.3+ xampp 1.7.2 (apache,proftpd and php5) +postgresql 8.4. And some strange errors appear from time to time, but can't reproduce it by wish. For example client opens a webpage on CentOS, the page can be open many times, but in some moment browser gives error as for non-existing page and when I check lampp's logs, there is only a record in error_log "[notice] child pid NNNN exit signal Segmentation fault (11)".
Or another example: client opens ssh-connection and ftp-connection. When ftp-connection got timed out and server closes it, ssh-connection unexpectedly gets closed the same moment without any errors in logs. And again it happens not everytime, but cannot be related to physical network because the same server on the same network with Fedora never had such errors. Possibly xampp-1.7.2 is not too compatible with CentOS 5.3? How to get more info from system in this case?
I administer a small network of computers connected to a windows 2003 server. The machines Dual boot Windows XP and CentOS 5. My question is this. The machines are being upgraded to HP Z800 workstations. These workstations come with 2 1TB drives setup on a hardware RAID0. Can I install Linux on these machines, using the RAID0? Can I do an install as if it was just one hard drive? The machines came with Windows7 and I'd like to keep it intact including the RAID0. Can I do the install where it resizes the partition, adding the linux partition to the "drive".
If I can't use the existing windows RAID0 to install CentOS I was thinking of just installing another hard drive in the machines for it. This brings up another question, what would happen if I moved my Linux drive from one of the old workstations and put it in the new workstation, would it boot? I know windows wont boot like this because of the hdd controller drivers and I have a sneaky work around for this anyway but am not wanting to transfer the windows installation.
I have just finished installing (after hard work ) Centos 5.4 x86 configured with Snort & Snorby as frontend web, i would like to create from this installation kind of image that could fit to almost any hardware type.
Does anyone know how to install the Default KDE Desktop settings in an existing user? I copied a user's home directory from another Linux and when I added the user using adduser on the new intallation, it did not copy any of the Desktop or other .rc/.profile settings.
Is there a script that is run by adduser, or a list somewhere of the files that are needed for KDE Desktop to work correctly? Or, do I delete or rename certain files and then, what executable do I run to get the Desktop?
I have CentOS 5.3 dual booting with Vista on a machine with AMD-V support. I'm looking to get my existing Vista partition running as a DomU Xen machine. Can this be done without having a dedicated video card?I've got a Xen kernel (from the repositories) installed and running perfectly with my nVidia graphics card. I tried to set up a new DomU through virt-manager and set it up as Vista, pointed it at the physical partition (fakeRAID mapper device) and gave it 2Gb RAM (I have 8Gb total). I got it to do a PXE network boot, knowing that this would fail and therefore no installation would be attempted, as no installation is needed.
This worked well in that the initial PXE boot failed and the machine shut down. When I start it now it seems to actually boot Vista, but I just can't see it! It goes as far as saying "Booting from Hard Disk..." in the viewer window and then doesn't update, although the disk activity and CPU usage are very similar to a machine booting Vista to the login prompt.
I had set up 4 virtual machines on centos 5.5 system where I directed the image locations to an external storage. I have lost the image files in the storage, but I have the image files that were copied from the virtual machine image location. I want to put up the same system on the same computer by copying these backup images. However, when I copy the image file to the same exact location and start the corresponding virtual machine I get "no bootable disk" error. When I increase the size of the image using "qemu-img" commands, I can get rid of this error, but get "error reading disk" error. Is there a way to overcome these problems, or is it not possible to restore a virtual machine by copying the machine image file under ..../xen/images?
I am running an application that requires use of my /etc/hosts file. In it, I have my machine name and its LAN ip address. The program creates a service on a specific port, then attempts to connect to it based on the host name. So my hosts file has to be correct.I added the nameservers to resolv.conf and now my application will not run. My guess is that the computer is checking the name servers first, timing out then checking the hosts file.Is there a way I can tell the system to check the hosts file first, then DNS. I thought it should behave that way by default, but it does not appear to.
I am facing problem on executing commands like df -h,ls-l,grep etc in /bin.
it is showing below errors:-- ---------------------------------------------------------------------------------- login as: root root@220.226.102.217's password: Last login: Sat Jun 4 11:14:20 2011 from 220.227.54.149 -bash: /bin/egrep: cannot execute binary file
What i want to be able to do is create a custom kickstart for my centOS 5 server. I want to create a bootable cd that I can pop in my server and basically walk away for 45 minutes and I come back and its fully installed. All the directions I have read so far tell me that I have to create a seperate ks.cfg and then I need my original centos cd to get it booted. Then the cd will ask for where the ks.cfg file is and I have to type the location. I just want to pop the CD in and type in linux_clean or something and have it perform a custom install based on the information and specification in my ks.cfg. How can I go about doing this?
I installed the latest CentOS 5.5 in my PC. I added some public domain projects on it. Now how can I make another boot-able CentOS iso file with all the new projects I just added? In the other words, I try to create a boot-able CD with the CentOS and all the projects on it.
I have a Centos 5.6 Linux Server configured as Router with NAT for my LAN. There are currently 2 NIC's on my server. One is connected to WAN , a PPOE connection (eth0) and eth1 is connected to a switch which supports my LAN. I have enabled NAT and configured iptables on my server and I am able to access internet from LAN and everything is working fine.I have a Belkin F5D8233-4v3 Wireless router and I need to configure wireless on my network so that I can access internet from my Laptop. The issue is that I have only 2 NIC's on my server, one Gigabit NIC integrated with my motherboard and another NIC which I am currently using for WAN access and LAN. I need to setup the Belkin as an wireless Access Point.
Can I connect my Belkin to my switch and set it up as a Wireless Access Point?? I have read about setup using 3 Nic's.Any ideas on how to configure my Belkin as Wireless Access Point with my existing setup? Is Belkin F5D8233-4v3 supported on Linux.
I have a home samba server with a 3ware Escalade 8506-8. I have 5 x 500 gig hard drives in a RAID 5 array. Recently, my 8506 died and I need to get a new one. However, I saw a 3ware Escalade 9500S-12 on ebay for about $20.00 dollars more than a replacement 8506-8.
My question is, if I put my drives on the 9500S, will it recognize my existing RAID array? Or will it want to build a new RAID array and format all of my data?Hope I have asked this question clearly, little short on sleep this week.
Occasionally a dialog pops up with the title "Update Manager". It offers me to update system components. However this popup occurs automatically. I wonder how I can call/start this "Upate manager" (dialog)manually? I found no menu entry. When I click on menu Application->Add/remove Software then a "Package Manager" is shown which is different from the "Update Manager". So again the question: How can I start manually (from terminal or menu) the "Update Manager"?
I'm new to CentOS and the forum. I installed Cent tonight, added the RPMForge repo and installed GParted. Every time I try to launch the app, it fails with the message "The exec() call failed." I have uninstalled and reinstalled it a couple of times with no success. Has anyone seen this problem?
We have two CentOS 5 servers in production (web and database). We are setting up a single staging server that will mirror the configurations of these servers as closely as possible. What is the easiest way to ensure the exact same software and configs as the production servers are setup on the new staging server. Our contracted data center provider has already informed us that they do not perform images and NO we do not have physical access to the machines. It is undetermined whether we will be virtualizing the staging server into two virtual servers yet, so for the purposes of this post lets assume we are not. I'm seeking a faster/more precise method than doing this by eye and hand.
Problems with xen 3.1.2 creating and installing domU CentOS 5.5 I am trying to do a virt-install --prompt --paravirt, and the install error out while trying to download install RPMs. I have googled for xen centos virt-install and various permutations. I have found similar howtos for 5.4 and 5.3, but they resulted in the same outcome. I did find several posts with similar issues, but no solution was posted.[URL]..
I am in the process of building a new server on an Asus P5QPL-AM motherboard and an Intel E8600 processor.explain to me the difference between the two versions and what would you recommend.Also, is there any advantage of SATA over IDE hard drives?
To expand: I'm trying to set up a box with l7-filter, and I need to patch and compile iptables 1.4.1.1 as part of the process. I ./configured it with the prefix= argument so it would install into /sbin instead of /usr/sbin, and I did a yum remove iptables before installing it so as not to get in the way of the original iptables, but I'm wondering if this is really necessary - it's kind of annoying, because removing the original iptables removes the init.d script, deregisters the service, etc. If I don't, is it possible that iptables 1.4.1.1 might get overwritten in a system update or something, or will yum see that I've got a custom/newer version in there and leave it be?
I have a system with a 2TB RAID level 1 installed (2 x 2TB drives, configured as RAID1 through the BIOS). I installed Centos 5.5 and it runs fine. I now added another 2x2TB drives and configured them as RAID1 through the BIOS.
How do I add this new RAID volume to the existing logical volume?
I'm researching about symbolic links been used with samba / CIFS:I'd like that the user that uses a MS-Windows OS could see my shared folder on CentOS 5 and the symbolic links that are inside this folder. Well, it works but, the user will see that the size of the file is bigger than the real file. Apparently, CIFS gets the size of the symbolic link (aproxim.32K) and add it to the size of the file.Example 1: 100KB file, used with shared folder, MS-Windows's user will see 100KBExample 2: 100KB file, used with symbolic link inside a shared folder, MS-Windows's user will see 132KB. (Sym link + size of file)Is there a way to allow the user only see the size of the file, and not the file + symbolic links ?
I've a webserver with a lot of documentary to serve. Some of the users have problems with the new microsoft documents like docx. Internet explorer 7 want to open the file like a zip-file not as word document. I've googelt around and found a solution that didn't work for me: [URL] I've added at /etc/mime.types
[Code]....
After a restart of httpd , nothing chance, always the same failure with internet explorer 7.
In case that NFS client of fedora is set to cache nfs file handle, where is the cache stored such as /var/lib/nfs?If it's stored in memory instead of directory tree, what command can I know the combination of file names and file handles with?OS in my test environment: Fedora Core 6