[CentOS] Recommended way of handling iptables firewall in CentOS?

2014-10-13 Thread Niki Kovacs
Hi, I'm planning to use CentOS 6.x on a handful of LAN servers. So far I've been using Slackware64 14.0 and 14.1 for the job. I wonder what's the orthodox/recommended way of configuring and iptables firewall with CentOS. I understand there's the system-config-securitylevel-tui NCurses interf

Re: [CentOS] Recommended way of handling iptables firewall in CentOS?

2014-10-13 Thread Niki Kovacs
Le 13/10/2014 11:11, Reindl Harald a écrit : just write a bash script which resets and configures iptables with the "iptables" command and at the end of the script call "/sbin/service iptables save" which writes the current rules to /etc/sysconfig/iptables and so at boot the rules get loaded atom

Re: [CentOS] 答复: turn bootable USB into bootable iso image

2014-10-13 Thread Steve Clark
On 10/11/2014 06:39 AM, 沈焕标 wrote: I am sorry for my misunderstanding. And I thing you should try the command "dd" to create an ISO file. For example: dd if=/dev/sdX of=/xxx/xxx/xxx.iso... I hope you will make it.. Hi, I have already tried that - it does not work. B

Re: [CentOS] Systemd Adding Its Own Console To Linux Systems

2014-10-13 Thread Steve Clark
On 10/11/2014 08:07 AM, Marcelo Ricardo Leitner wrote: On 09-10-2014 14:13, Les Mikesell wrote: On Thu, Oct 9, 2014 at 11:51 AM, Steve Clark wrote: What exactly does that mean - multi seat environments? http://www.freedesktop.org/wiki/Software/systemd/multiseat/ Ok I read the information. S

Re: [CentOS] turn bootable USB into bootable iso image

2014-10-13 Thread Steve Clark
On 10/11/2014 05:32 AM, aravind J wrote: On Oct 10, 2014 7:12 PM, "Steve Clark" wrote: Hello List I have a Bootable USB stick that we use to Boot our servers and then install CentOS, PostgreSQL and our SW thru a Kickstart script. It works like a charm but now we are thinking of going Virtua

Re: [CentOS] Recommended way of handling iptables firewall in CentOS?

2014-10-13 Thread Ron Loftin
On Mon, 2014-10-13 at 12:30 +0200, Niki Kovacs wrote: > Le 13/10/2014 11:11, Reindl Harald a écrit : > > just write a bash script which resets and configures iptables with the > > "iptables" command and at the end of the script call "/sbin/service > > iptables save" which writes the current rules

Re: [CentOS] Recommended way of handling iptables firewall in CentOS?

2014-10-13 Thread Niki Kovacs
Le 13/10/2014 13:36, Ron Loftin a écrit : Of course, if you are interested in something that will help you to organize your rules, there is always Shorewall ( Shoreline Firewall ) which I have used for years and found very effective and time-saving. Thanks for the suggestion, I'll look into it.

Re: [CentOS] turn bootable USB into bootable iso image

2014-10-13 Thread zep
On 10/13/2014 07:19 AM, Steve Clark wrote: > On 10/11/2014 05:32 AM, aravind J wrote: >> On Oct 10, 2014 7:12 PM, "Steve Clark" wrote: >> >>> So, what I would like to do is to take the Bootable USB and make it >>> into >> an ISO. >>> Any ideas? >>> >> >> >> Create an .img file from the usb by doi

[CentOS] machine check exception

2014-10-13 Thread Shital Sakhare
Hello, Today, I got the below error server Console, Cpu 1:machine check exception Tcs c7f3d370acf17a ADDR 112d6c00040288 MISC c453176c00040200 This is not a softeware problem Run through mcelog ascii to decode and contact your hW vendor Kernel panic not syncing :machine check Can anybody

Re: [CentOS] Systemd Adding Its Own Console To Linux Systems

2014-10-13 Thread Chris Beattie
On 10/13/2014 7:17 AM, Steve Clark wrote:> Yes but you have to be physically close to the main cpu. What about > distractions from other people sitting right next to you? > Playing music, etc. That's not all that different from modern cube farms. You learn to tolerate or ignore other people, o

[CentOS] centos7 livecd yum problem

2014-10-13 Thread Don Vogt
I started to install centos7 using a livecd image. After booting the cd I tried a "yum install mc" which failed. I then tried "yum update" and got the following output. "[liveuser@localhost ~]$ sudo yum update Loaded plugins: fastestmirror, langpacks Could not retrieve mirrorlist http://mirror

Re: [CentOS] centos7 livecd yum problem

2014-10-13 Thread Frank Cox
On Mon, 13 Oct 2014 10:35:47 -0700 Don Vogt wrote: > I started to install centos7 using a livecd image. After booting the cd I > tried a "yum install mc" which failed. I then tried "yum update" and got the > following output. Are you sure that your newly installed machine is actually online? Wha

Re: [CentOS] Systemd Adding Its Own Console To Linux Systems

2014-10-13 Thread Les Mikesell
On Mon, Oct 13, 2014 at 9:01 AM, Chris Beattie wrote: > On 10/13/2014 7:17 AM, Steve Clark wrote:> Yes but you have to be physically > close to the main cpu. What about >> distractions from other people sitting right next to you? >> Playing music, etc. > > That's not all that different from moder

Re: [CentOS] Systemd Adding Its Own Console To Linux Systems

2014-10-13 Thread Valeri Galtsev
On Mon, October 13, 2014 1:50 pm, Les Mikesell wrote: > On Mon, Oct 13, 2014 at 9:01 AM, Chris Beattie > wrote: >> On 10/13/2014 7:17 AM, Steve Clark wrote:> Yes but you have to be >> physically close to the main cpu. What about >>> distractions from other people sitting right next to you? >>> Pl

Re: [CentOS] Systemd Adding Its Own Console To Linux Systems

2014-10-13 Thread Les Mikesell
On Mon, Oct 13, 2014 at 2:03 PM, Valeri Galtsev wrote: > >> >> Being able to grab your existing desktop remotely with all open >> windows and long-running programs intact is a big plus, though - and >> you get that for free with NX or x2go. Can you connect remotely to >> your VM host some other w

Re: [CentOS] Systemd Adding Its Own Console To Linux Systems

2014-10-13 Thread Chris Beattie
On Mon, October 13, 2014 1:50 pm, Les Mikesell wrote: > Being able to grab your existing desktop remotely with all open > windows and long-running programs intact is a big plus, though - and > you get that for free with NX or x2go. Can you connect remotely to > your VM host some other way if you a

[CentOS] Hiding a network printer

2014-10-13 Thread Frank Cox
I want to hide a printer that's connected to a Centos 6 printer server to prevent it showing up on some of the other computers on the local network. Using system-config-printer, putting the IP address of the computer that I want to hide the printer from into the Access Control window for that pr

Re: [CentOS] Hiding a network printer

2014-10-13 Thread John R Pierce
On 10/13/2014 2:28 PM, Frank Cox wrote: I want to hide a printer that's connected to a Centos 6 printer server to prevent it showing up on some of the other computers on the local network. Using system-config-printer, putting the IP address of the computer that I want to hide the printer from

Re: [CentOS] Hiding a network printer

2014-10-13 Thread Fred Smith
On Mon, Oct 13, 2014 at 03:28:33PM -0600, Frank Cox wrote: > I want to hide a printer that's connected to a Centos 6 printer server to > prevent it showing up on some of the other computers on the local network. > > Using system-config-printer, putting the IP address of the computer that I > wan

Re: [CentOS] Hiding a network printer

2014-10-13 Thread Frank Cox
On Mon, 13 Oct 2014 14:37:25 -0700 John R Pierce wrote: > what protocol(s) is this print sharing using? Whatever the "sharing - enabled" checkbox gives me. The printer is connected to the print server with a USB cable so there's nothing special on that end. -- MELVILLE THEATRE ~ Real D 3D Di

Re: [CentOS] Hiding a network printer

2014-10-13 Thread John R Pierce
On 10/13/2014 2:53 PM, Frank Cox wrote: On Mon, 13 Oct 2014 14:37:25 -0700 John R Pierce wrote: >what protocol(s) is this print sharing using? Whatever the "sharing - enabled" checkbox gives me. The printer is connected to the print server with a USB cable so there's nothing special on that

Re: [CentOS] Hiding a network printer

2014-10-13 Thread Frank Cox
On Mon, 13 Oct 2014 15:04:10 -0700 John R Pierce wrote: > not having ever used anything on linux thats enabled with a checkbox, Type "system-config-printer" at a root prompt. Then right-click on the printer that you want to look at, click on "Properties" - "Policies" State: Enabled Accepting

Re: [CentOS] Hiding a network printer

2014-10-13 Thread John R Pierce
On 10/13/2014 3:15 PM, Frank Cox wrote: If they are Linux do they connect with CUPS or LPR or what? The Centos default printer setup is cups. All of the shared printers that are connected to the print server machine just show up by magic when I run the system-config-printer command on the clie

Re: [CentOS] Systemd Adding Its Own Console To Linux Systems

2014-10-13 Thread Keith Keller
On 2014-10-13, Valeri Galtsev wrote: > On Mon, October 13, 2014 1:50 pm, Les Mikesell wrote: >> >> Being able to grab your existing desktop remotely with all open >> windows and long-running programs intact is a big plus, though - and >> you get that for free with NX or x2go. > > How much differen

Re: [CentOS] Recommended way of handling iptables firewall in CentOS?

2014-10-13 Thread Cliff Pratt
Bare bones is fine, but you miss out on the tools which may make your life easier. As an example you can configure a DB (PostgreSQL, mySQL, whatever) using the command, but it is frequently more time-cost effective to use a tool. Things like SSH used to be optional at one time. Now it is in every

[CentOS] Filesystem writes unexpectedly slow (CentOS 6.4)

2014-10-13 Thread Joakim Ziegler
I have a rather large box (2x8-core Xeon, 96GB RAM) where I have a couple of disk arrays connected on an Areca controller. I just added a new external array, 8 3TB drives in RAID5, and the testing I'm doing right now is on this array, but this seems to be a problem on this machine in general, on

Re: [CentOS] Filesystem writes unexpectedly slow (CentOS 6.4)

2014-10-13 Thread Keith Keller
On 2014-10-14, Joakim Ziegler wrote: > > So, if I use iozone -a to test write speeds on the raw device, I get results > in > the 500-800MB/sec range, depending on write sizes, which is about what I'd > expect. > > However, when I have an ext4 filesystem on this device, mounted with noatime > a

Re: [CentOS] Filesystem writes unexpectedly slow (CentOS 6.4)

2014-10-13 Thread Peter
On 10/14/2014 02:15 PM, Joakim Ziegler wrote: > I have a rather large box (2x8-core Xeon, 96GB RAM) where I have a > couple of disk arrays connected on an Areca controller. I just added a > new external array, 8 3TB drives in RAID5, and the testing I'm doing > right now is on this array, but this s

Re: [CentOS] Filesystem writes unexpectedly slow (CentOS 6.4)

2014-10-13 Thread Joakim Ziegler
On 13/10/14, 21:16, Peter wrote: On 10/14/2014 02:15 PM, Joakim Ziegler wrote: I have a rather large box (2x8-core Xeon, 96GB RAM) where I have a couple of disk arrays connected on an Areca controller. I just added a new external array, 8 3TB drives in RAID5, and the testing I'm doing right now

Re: [CentOS] Filesystem writes unexpectedly slow (CentOS 6.4)

2014-10-13 Thread Joakim Ziegler
On 13/10/14, 20:59, Keith Keller wrote: On 2014-10-14, Joakim Ziegler wrote: So, if I use iozone -a to test write speeds on the raw device, I get results in the 500-800MB/sec range, depending on write sizes, which is about what I'd expect. However, when I have an ext4 filesystem on this devi

[CentOS] CentOS 6.4 kernel panic on boot after upgrading kernel to 2.6.32-431.29.2

2014-10-13 Thread Joakim Ziegler
I'm on a Supermicro server, X9DA7 motherboard, Intel C602 chipset, 2x 2.4GHz Intel Xeon E5-2665 8-core CPU, 96GB RAM, and I'm running CentOS 6.4. I just tried to use yum to upgrade the kernel from 2.6.32-358 to 2.6.32-431.29.2. However, I get a kernel panic on boot. The first kernel panic I go

Re: [CentOS] CentOS 6.4 kernel panic on boot after upgrading kernel to 2.6.32-431.29.2

2014-10-13 Thread Greg Lindahl
On Mon, Oct 13, 2014 at 10:18:54PM -0500, Joakim Ziegler wrote: > I'm on a Supermicro server, X9DA7 motherboard, Intel C602 chipset, 2x > 2.4GHz Intel Xeon E5-2665 8-core CPU, 96GB RAM, and I'm running CentOS 6.4. > > I just tried to use yum to upgrade the kernel from 2.6.32-358 to > 2.6.32-431.

Re: [CentOS] CentOS 6.4 kernel panic on boot after upgrading kernel to 2.6.32-431.29.2

2014-10-13 Thread Mihamina Rakotomandimby
On 10/14/2014 09:19 AM, Greg Lindahl wrote: Yeah: don't run random combinations of rpms and then ask the mailing list for support. If yum/rpm allowed him to just upgrade the core kernel witouh the whole system, that means it should be possible to run with it. Please, be positive. ___

Re: [CentOS] CentOS 6.4 kernel panic on boot after upgrading kernel to 2.6.32-431.29.2

2014-10-13 Thread Greg Lindahl
On Tue, Oct 14, 2014 at 09:26:41AM +0300, Mihamina Rakotomandimby wrote: > On 10/14/2014 09:19 AM, Greg Lindahl wrote: > >Yeah: don't run random combinations of rpms and then ask the mailing > >list for support. > > If yum/rpm allowed him to just upgrade the core kernel witouh the whole > system,