CentOS 5 :: How To "repackage" A RPM File

Apr 20, 2009

I'm able to extract files from a RPM file, but how do I "rebuild" it?

rpm2cpio rsyslog-2.0.6-0.1.el4.rf.i386.rpm | cpio -idmv

I want to modify one of the config files to include custom parameters, is this possible?

View 1 Replies


ADVERTISEMENT

Ubuntu Installation :: Repackage Programs To And Install From CD

Feb 4, 2010

Anyone know of an easy & practical way to re-package (in to debs) all the programs I have installed on a system so I can copy them on to a disc & install on another machine? Basically so I only ever download the programs I want once but can install them as often as I need. I'm sure I read that by just copying the /usr directory to a target machine may work (although I haven't tried I doubt it). I've also read that it may be possable to simply copy a whole Ubuntu installation to another drive & use it in another machine.

View 2 Replies View Related

CentOS 5 Server :: Hosts File And Resolv.conf Conflict CentOS 5.5?

Apr 11, 2011

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.

View 1 Replies View Related

CentOS 5 :: Bash: /bin/grep: Cannot Execute Binary File CentOS 5.4

Jun 4, 2011

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

[code]....

View 2 Replies View Related

Server :: Custom CentOS 5 Install With Ks.cfg File And CentOS All In One

Jan 14, 2010

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?

View 1 Replies View Related

CentOS 5 :: How To Create Bootable CentOS Iso File With New Contents

Jun 16, 2010

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.

View 1 Replies View Related

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.

View 2 Replies View Related

CentOS 5 Networking :: Allow The User Only See The Size Of The File, And Not The File + Symbolic Links?

Feb 23, 2009

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 ?

View 1 Replies View Related

CentOS 5 Server :: Apachewithdocx - Microsoft Documents Wants To Open The File Like A Zip-file Not As Word Document

Jul 13, 2010

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.

View 4 Replies View Related

CentOS 5 Server :: Want To Know File Handles / File Names At NFS Client

Nov 16, 2010

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

View 2 Replies View Related

CentOS 5 Hardware :: Centos 5.4 Hardware - Display Driver Not Support And Also Missing Xorg.config File?

Jun 15, 2011

I tried to installed Centos5.4 version on Dell PC intel corei3 inspiron580s and succeeded but found some issues following below

1 Hardware issue for LAN driver ( Broadcomlink(TM)gigabit ethernet)

2 Display Driver not support and also missing Xorg.config file (i.e ., My Screen Starts from center of screen )

3. What is minimum configuration for centos 5.4 ?

View 2 Replies View Related

CentOS 5 :: Creating RPM File From Tar File?

Jul 14, 2009

I can't locate any PHP 5.3 rpms but before I compile it from source, is there a way to create my installation option and save it into a RPM? I have a handful of servers I would like to install PHP on, but it would be so much easier if I could just do an "rpm -ivh"

I google and found instructions on how to build from tar.gz files but what about the options I set on the CLI?

View 1 Replies View Related

CentOS 5 :: Install Shared Library On 5.2 - Cannot Open Shared Object File: No Such File Or Directory

Feb 11, 2009

I am using Centos 5.2, and I installed all of the available gnome and gnome development libraries available via the "add software" menu item. Still, when running some programs, I get the following error message:

"error while loading shared libraries: libzvt.so.2: cannot open shared object file: No such file or directory"

If I understood it correctly, libzvt.so.2 is part of some gnome libs... where to find and how to install them?

View 5 Replies View Related

CentOS 5 :: How To Edit Php File

Nov 3, 2009

I have installed Centos on my pc. Then I installed Emacs for text editing. when I brows on www folder and try to open a php file it opens but I don't have permission to edit the filehow can I open a file with Emacs with edit permission?

View 2 Replies View Related

CentOS 5 :: .ssh No Such File Or Directory

Aug 11, 2010

Im new in centos community and i just installed it.I installed it through the virtualbox and without X server so i im running only with console. I have problem with ssh keygen. When i generated a keygen i get two files: keygen and keygen.pub. Tutorials telling me that i have to rename keygen.pub to "authorized_keys" and copy it to /root/.ssh. But when im trying cd to /root/.ssh then i get the error: no such file or directory, even "whereis" don't know where is this folder.

View 1 Replies View Related

CentOS 5 :: File Limit Set To 2GB?

Dec 20, 2010

I'm running CentOS 5.5 64bits. I tried today to create a 5GB test file as unprivileged user and the process limited the size at 2GB:

$ ulimit
unlimited
$ time dd if=/dev/zero of=test.bin bs=5000000000 count=1
0+1 records in
0+1 records out

[Code]...

View 6 Replies View Related

CentOS 5 :: Get SSHD To Log EVERYTHING To It's Own Log File?

Jan 22, 2011

How do I get SSHD to log EVERYTHING to it's own log file? I tried this in sshd_conf:

SyslogFacility SSHDLOG
LogLevel DEBUG

View 3 Replies View Related

General :: Unzipping A 4GB .zip File On CentOS 5.5

Mar 8, 2011

I am in the process of moving from a windows to a linux box. I zipped a folder of images on the windows box and ftpd it to the linux box. When I try to unzip the file I get:

How can I unzip this file if it's too big?

View 1 Replies View Related

General :: File Permission In CentOS 5?

Sep 26, 2010

I am creating a DVD iso of the mentioned six .iso file using 'mkisofs' in CentOS. During the process, at about 12%, an error occurred. The error was that: "Cannot read from '/sys/firmware/acpi/namespace/ACPI/_SB/PCI0/P2P0/S4F0/eject'" I remembered setting all the permissions to "read and write" but I kept receiving the same error next time.

View 1 Replies View Related

CentOS 5 :: Is There Configuration File For Console?

Mar 21, 2009

I wonder if there is a file containing configuration parameters of linux console.Currently I have to manually config console parameters every time.

View 6 Replies View Related

CentOS 5 :: File Copy From Cdrom?

May 18, 2009

I just installed CentOS 5 and am trying to learn how to copy ISO files onto my new install, to practice network installation. The Cdrom doesn't auto mount, which isn't so bad I can mount it using :

[root@rhatserver ~]# mount /dev/cdrom /media mount: block device /dev/cdrom is write-protected, mounting read-only

My question is... I want to copy from the Cdrom... to a new folder, then practice a network install across my network. I can't seem to figure out how to do this... I know that its an ISO file. When I check the name of the file on my Debian system it lists: CentOS_5.3_Final

I created a directory ( just for practice ) calle inst on /

how do I copy that ISO file from the CDrom to the inst directory... I have tried a number of commands as root: All similar to [root@rhatserver ~]# cp -ar /dev/cdrom /CentOS_5.3_Final /inst cp: cannot stat `/CentOS_5.3_Final': No such file or directory

View 2 Replies View Related

CentOS 5 :: Yum Crashes On File.386 Upgrade

Jul 1, 2009

# yum upgrade file
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* rpmforge: apt.sw.be

[CODE]....

View 4 Replies View Related

CentOS 5 :: No Threads In Core File On 5.3?

Jul 8, 2009

I have a multi-threaded application using pthreads. On application crash or when signalling with 'kill -s 6' the core file created by the 2.6.18-128 kernel on CentOS 5.3 shows only one single thread. Core file saved with gcore in gdb shows all running threads properly so the problem is clearly in the kernel. I tested CentOS 5.2 (kernel 2.6.28-92) and it works correctly.

what's wrong with CentOS 5.3 kernels?

View 1 Replies View Related

CentOS 5 :: Enable Xfs File System?

Aug 28, 2009

I just loaded 5.3 from the CD's. How do I enable XFS file system support.

View 10 Replies View Related

CentOS 5 :: How To Repair File System

Oct 11, 2009

I fouled up the file system when removing a drive. How do I fix it, or do I need to re-install?

The system boots to the point in the GUI where it checks the file system. It then suggests that I run fsck without the - a and -p options, and the drops to a sheel.
I enter the root pwd and then it says: "(Repair fileystem ) 1#" What do I do from there?

View 3 Replies View Related

CentOS 5 :: GDM Could Not Write Authorization File

Dec 22, 2009

On Monday i had Centos 5.3 with / and /home in ext3, with no problems (at least i don't remember any problem).But as I decided to use XFS (I have a SSD , and i use a 3D Modeling software called Maya , that it's quite sure it could take advantage of use XFS), i decided to create in my new Solid State Disk , that i recently bought , a swap , a / partition formated in XFS , and a /home partition in XFS too.Then I used a Live cd to copy the contents from the old HDD to the new SSD , using find and Rsync --> (cd /mnt/oldroot/ ; find . -xdev -print0 | rsync -avHx --exclude-from /mnt/rsync-filter . /mnt/newroot/)

Once done , i edited fstab,Menu.lst , install grub in the MBR and i had to use mkinitrd to load the XFS.ko so be able to boot with the new system.All worked fine , although i only could log with the root , my normal user could not log , and a error appeared : GDM could not write your authorization file.This could mean that you are out of disk space or that your home directory could not be opened for writing.In any case it is not possible to login. Contact system administrator.But i remember that prior to Copy all to the new SSD , and use XFS , all was fine, and i was able to log with my user.

So thinking that perhaps the copy did by Rsync was not ok , or something i decided to reinstall Centos, now in a partition in my SSD and try another time , but without using a /home partition neither a normal user ,only using root.The SSD had a Swap , a 32 GB XFS partition and the / of the new Install in ext3 (20 GB ).Once installed Centos 5.3 , I updated only Glibc , yum and Python packages (like said in Centos 5.4 Release notes recommends , but not doing the final yum update)Then i updated only the kernel , to have a XFS supported Kernel , and then i rebooted (I would update all once migrated to xfs)

View 6 Replies View Related

CentOS 5 Server :: How To Modify PAM File

Jan 15, 2010

Whenever I modify my pam file as shown below I can no longer log into my centos; I have to go into single user mode and undo the changes. What I want to do is log all failed authentication attempts but I don't want it to affect the root user account.

# vi /etc/pam.d/system-auth
auth required pam_tally.so no_magic_root
account required pam_tally.so deny=3 no_magic_root lock_time=180

View 1 Replies View Related

CentOS 5 :: How To Compile Tar.gz File In Centos5

Jan 18, 2010

how to compile a tar.gz file in centos5 OR how can i create rpm from tar.gz file

View 2 Replies View Related

CentOS 5 :: File Transfer By Means Of VNC?

Feb 24, 2010

I have started on CentOS 5.3 VNC server. I am connected to CentOS from a workstation under control of Windows XP using UltraVNC. Connection passes normally, but I cannot transfer files. By pressing Ctrl+Alt+F7 the message: "The connected VNC Server does not support UltraVnc File Transfer".

View 1 Replies View Related

CentOS 5 :: Time Changes In Rsync Log File

Mar 18, 2010

I'm running rsync in daemon mode on CentOS 5.4, and I'm seeing inconsistent times reported in the log file.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved