Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Browsing all 17763 articles
Browse latest View live
↧

[may be stupid] can I cron and script this?

My workplace has an old server running Gentoo (I think 3.3.6) that for various reasons can't easily be updated (running a lot of code written by someone that no longer works here and zero budget to...

View Article


Trivial Python version question...

Hey guys,I apologize in advance for the triviality of this question as I know the place tends to get littered with these posts, but I'm hoping to get some practical feedback from you guys to help...

View Article


How to exit/kill remaining commands in script if......

scp -c arcfour source destination; echo $? if [ $?>0 ] ; then // echo 1Above is what I have so far (this is a hook in another script) but I am looking to hand off a return code to another script....

View Article

How do you resolve the conflict between docker containers and configuration...

I'm fairly novice when it comes to Docker, so I'm sorry if some of this comes off ignorant.What I mean is say, for example, there's some httpd.conf setting that you determine all apache images should...

View Article

Broken VM's for troubleshooting?

I remember seeing VM's in various broken states that were given to new sysadmins for troubleshooting practice - this was few years back.Does anyone have current links to resources like this? I was...

View Article


More cores with less GHz?

I am running a few websites on a VPS and I am planning to upgrade it. The thing is that when you go up in ram you automatically end up with more but slower cores.Example: 6GB ram = 2x2.4 GHz @ 100%8GB...

View Article

Distro to use for a new production server.

Hello!So, I've been tasked with setting up a new Linux production server to act as a replacement for a windows 2003 domain controller. Eventually, however, I'll need to set up a few more servers...

View Article

Who should own non-personal, important, network-shared files? (For NFS)

So our company has, for years, set everything important to root:root, and as a result, have had to enable "no_root_squash" in /etc/exports so that files aren't shared as nfsnobody, which has in the...

View Article


Grep - regex: Parsing out the HWaddr. What am I doing wrong?

I want to parse out the MAC address from ifconfig. Since the HWaddr section is the last thing on the line, I am looking for the alphanumeric at the end of the line. Here is what I have so far:...

View Article


A tiny NTP client

submitted by Ithariel [link][comment]

View Article

Linux Ronin - A brand new youtube channel aimed at sysadmins and more...

submitted by swathe [link][1 comment]

View Article

Opinions on SELinux

So... I'm studying for the RHCSA and the two things that I really need to look out for are systemd and selinux. My question then is...what's your take on selinux? submitted by cisco1988 [link][47...

View Article

Another good vim cheat sheet

submitted by iam_root [link][5 comments]

View Article


simple bash script to set up a new system

I've been making a script to set things up a bit and wanted to make sure that I wasn't doing anything too stupid. It doesn't matter too much if the script isn't going to work on every type of system or...

View Article

Basic ansible, SSH help

I posted a script earlier and got told to use Puppet, chef or ansible, I've decided to try ansible as its meant to be easier.I've no idea what I'm doing though and I'm struggling with the...

View Article


Got any custom OSSEC and/or fail2ban configs?

Rolling out OSSEC and fail2ban on CentOS Servers but I'm hope some of you have some custom configs that your willing to share. submitted by BaconZombie [link][comment]

View Article

What AV are others running on CentOS boxes?

Doing some clean up of some CentOS servers. And want to lock them done more, so what AV do your run on your CentOS servers that catch rootkits and other crap? submitted by BaconZombie [link][3 comments]

View Article


Is there any software you know of that actually does this?

submitted by Tythus [link][19 comments]

View Article

Linux History for SU

It seems that, for an older linux server that we have that still is accessed via root, when a user switches to a different account, specifically this one account, we are unable to see any of the...

View Article

Creating vhosts - Apache - CentOS

So in my day-to-day role, its my job to train up younger member of staff. I came across this video which was exactly what I needed and saved me time from doing it :). Just a simple video on creating an...

View Article
Browsing all 17763 articles
Browse latest View live