[CentOS] limiting yum url question

2011-02-01 Thread Xinhuan Zheng
Hi, I need to configure yum to limit the number of URLs going out for security reason. I don't find a configuration for include option. I do find an exclude option in /etc/yum/pluginconf.d/fastestmirror.conf. It would be impossible to exclude every url in this file. What is the best way to limi

Re: [CentOS] limiting yum url question

2011-02-01 Thread Xinhuan Zheng
That's what I thought. Is there a good resource that I can take a look for how to setting up a local repository server? Thanks, -xinhuan -Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Kai Schaetzl Sent: Tuesday, February 01, 2011 2:31 P

[CentOS] syslog socket limit

2011-02-01 Thread Xinhuan Zheng
Hi, Syslogd has an option "-a socket". According to man page, this additional sockets is limited to 19. Currently I do need to have more than 19 sockets that syslogd needs to listen on. How can I accomplish that if I don't want to change syslogd.c code? Thanks, - xinhuan _

[CentOS] mount the wrong device after system recovery

2011-02-08 Thread Xinhuan Zheng
Hi, I am recovering a CentOS 5.4 system. I've copied all partitions into the recovery system. I've installed grub boot loader. However, the original system is using /dev/sdb1 for root (/), while the recovery system is using LVM (/dev/vg0/lv1) for root (/). When recovery system boots, I got the

Re: [CentOS] mount the wrong device after system recovery

2011-02-08 Thread Xinhuan Zheng
My grub.conf is pointing to sdb1 for /. I've corrected to use /dev/vg0/lv1. But after rebooting, I am getting the same error. I guess I need to rebuild initrd.img file. How do I rebuild that file? Thanks, - xinhuan -Original Message- From: centos-boun...@centos.org [mailto:centos-boun...

Re: [CentOS] mount the wrong device after system recovery

2011-02-09 Thread Xinhuan Zheng
The mkinitrd command worked out. Thanks a lot for your help. :) - xinhuan -Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Robert Heller Sent: Tuesday, February 08, 2011 4:47 PM To: CentOS mailing list Cc: CentOS mailing list Subject: Re:

[CentOS] How to Load Custom CentOS 7 Image

2020-05-14 Thread Xinhuan Zheng
Dear All, I want to create a CentOS 7 VMWARE VM. I need to install various Runtime libraries, e.g., Tomcat, into the VM. Once all looks good, then I want to make a Custom Image of the entire VM. Later I want to load this Custom Image to a physical HW, so that I don’t need to go through all kind

Re: [CentOS] How to Load Custom CentOS 7 Image

2020-05-15 Thread Xinhuan Zheng
Dear Earl Ramirez, >I created a custom ISO a couple of years ago [0], you can use it as >your base of one of the following links[1-4], should be sufficient to >get you started. >[0] https://github.com/EarlRamirez/snipeit_iso In above github project, in https://github.com/EarlRamirez/snipeit_iso

[CentOS] Live Patching Upgrade CentOS 7

2020-05-18 Thread Xinhuan Zheng
Dear All, Does anyone know how to to live patching upgrade of CentOS 7 without rebuilding the whole boot volume? I have enough disk space in Boot volume. I don’t want to go through creating a new VM and install CentOS 7 patch release. Thanks, - Xinhuan __

Re: [CentOS] How to Load Custom CentOS 7 Image

2020-05-21 Thread Xinhuan Zheng
Dear All, > It seems like kickstart is what you are looking for.? > Is this what you were trying to do? Yes, kickstart is what I’m looking for. Let me detail my provisioning process: * Provision a VM with standard CentOS 7 NetInstall ISO & my post script. The file system is created on top o

[CentOS] External Array Data Migration

2020-05-21 Thread Xinhuan Zheng
Dear All, Below question has been puzzled me for a while, and don’t know if anyone has experienced such puzzle: You have an external array attached to a physical hardware. The operating system is CentOS 5. The file system is created on top of LVM on external array & mounted. The CentOS 5 can s

[CentOS] Quantum scalar i40 tape partitions

2012-01-30 Thread Xinhuan Zheng
Hi All, I have a Quantum scalar i40 tape library. I need to configure it to TWO tape partition libraries, e.g., library_a and library_b, so that each library has its own tape drive. Then connect this physical tape library to two different CentOS servers so that each server can see its own media

[CentOS] Asymmetric encryption for very large tar file

2014-12-17 Thread Xinhuan Zheng
Hello CentOS list, I have a requirement that I need to use encryption technology to encrypt very large tar file on a daily basis. The tar file is over 250G size and those are data backup. Every night the server generated a 250G data backup and it¹s tar¹ed into one tarball file. I want to encrypt th

Re: [CentOS] Asymmetric encryption for very large tar file

2014-12-19 Thread Xinhuan Zheng
Hello, Thanks for all feedback I got. I am pretty sure that if I used ³openssl enc² method, it is able to handle large file over 250g size perfectly. I think openssl installed on the system is capable of doing large file support. However, when using ³openssl smime², it is not able to. Apparently it

Re: [CentOS] CentOS Digest, Vol 119, Issue 19

2014-12-22 Thread Xinhuan Zheng
Hello Brian, >GPG is really what you want to be using for this. OpenSSL is a general >toolkit that provide a lot of good functions, but you need to cobble some >things together yourself. GPG is meant to handle all of the other parts >of >dealing with files. >I will expand on what someone else me

[CentOS] What is best way of managing isolated network environment?

2018-01-31 Thread Xinhuan Zheng
Hello, We need to manage isolated network environment so that even though host name and ip address could be same, but they are located in isolated network environment so that’s not a problem. However, that would be very challenging to build a server in such an isolated environment. For example,

[CentOS] CentOS 5 file system read only issue

2019-08-21 Thread Xinhuan Zheng
= IO::Select->new( $fh ); if ( $io->can_write( 10 ) { # print to the file } It seems like can_write returns true even we manually made file system read only in our testing case. Is this something we can accomplish using select system call with timeout value? Thanks in advance, - Xinhuan

[CentOS] How to dump/restore a CentOS 7 system

2019-09-25 Thread Xinhuan Zheng
those procedure? Thank you, Xinhuan Zheng ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos

[CentOS] Sendmail is considered deprecated

2017-03-31 Thread Xinhuan Zheng
Hello, Today I searched redhat official portal and learned that Sendmail is considered deprecated. By default, CentOS 7 will use postfix as MTA. I need good advise on what it means to us. We are CentOS customers. We use that operating system for quite a few years. We rely on Sendmail for years