LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Interface reverts to different zone in firewalld RHEL7 (SOLVED)

Posted 06-16-2015 at 02:47 PM by MensaWater
Updated 06-16-2015 at 02:49 PM by MensaWater

We recently setup a couple of new DMZ servers so decided to use zones "internal" and "external" rather than zone "public" (which RHEL7 uses by default). We also set "internal" as the "default" in firewalld.

We used firewall-cmd to assign our em1 interface (this is first embedded NIC, on some systems this might still be eth0 instead) to the external zone. We then assigned em2 (second embedded NIC, this might be eth1 instead)...
Guru
Posted in Uncategorized
Views 169 Comments 0 MensaWater is offline
Old

Ugly wrap-around to avoid high CPU and I/O on update-apt-xapian-index

Posted 06-16-2015 at 02:54 AM by the dsc (linux-related notes)
Updated 06-16-2015 at 03:01 AM by the dsc

I've read somewhere that someone else was also annoyed by this.

Here's what I did:

Code:
#!/bin/sh
cpulimit -l 5 -e updatep-apt-xapian-index.py & 

ionice -c 3 /usr/sbin/update-apt-xapian-index.py $@
That's my "/usr/sbin/update-apt-xapian-index", which is called by synaptic and whatever else. The ".py" file is the original script.

It still makes the CPU fan audibly accelerate, but it's no longer...
Member
Posted in Uncategorized
Views 159 Comments 0 the dsc is offline
Old

Rough script that waits until processes finish their businesses, then exit

Posted 06-15-2015 at 04:17 PM by the dsc (linux-related notes)

The processes are given as a single variable, thus one must use quotes if there's more than one process to wait for.

Usage example:

./waitprocs "lame avconv sox tar" && self-destruct

My previous attempt with a "counting" system didn't work, so I've tried a different approach. For any given process, it will check if it's running, if it is, it creates a temporary file with its name on a temporary work folder; if it isn't, it...
Member
Posted in Uncategorized
Views 212 Comments 2 the dsc is offline
Old

Bye proprietary.

Posted 06-14-2015 at 04:08 PM by peonuser

Downloaded the latest openbsd 5.7 install floppy. There is now one less machine running Microsoft product.

Found an interesting quirk with grep. On Debian it is not a big deal, but with Arch it is. You need to add the -a argument on Arch Linix if you want to scrape a file of text and get results instead of just a match flag, Either way works with Debian Linux.

cat weather | grep "Updated"
s/b
cat weather | grep -a "Updated"
Member
Posted in Uncategorized
Views 241 Comments 2 peonuser is offline
Old

SlackEX 64 bit with KDE, kernel 4.0.4, Nvidia 346.72 and Google Chrome (for Netflix)

Posted 06-12-2015 at 12:03 PM by exton (Exton's Blog)

A new version of SlackEX is out today (150612). I have now included Nvidia’s Graphic driver 346.72 and Google Chrome (for watching Netflix movies).

Slackware is the first widely-used Linux system, which is still developing. Slackware has existed since 1993. Gammal är äldst (The older the fiddle the sweeter the tune) as we say in Sweden.

READ MORE
ExTiX Admin
Views 169 Comments 0 exton is offline

  



All times are GMT -5. The time now is 05:43 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration