Projects to Learn Linux
-
@JaredBusch said:
@johnhooks said:
I just finished setting up an ELK server. Much less painful than I expected
Mine was horribly painful a year ago. I haven't come back to it. My problem was trying to go CentOS 7 when it was too new. If I had done CentOS 6 then, it would likely have been simple.
CentOS 7 made a pretty big leap in "PITA" status. CentOS 5 and CentOS 6 were essentially identical from an interface standpoint and for almost a decade using CentOS while things improved as far as speed, stability and features, the "way" in which we interfaced with them was dead simple and totally consistent. But CentOS 7 really shook things up and you have to change a lot of the things that you know.
-
@scottalanmiller said:
CentOS 7 made a pretty big leap in "PITA" status. CentOS 5 and CentOS 6 were essentially identical from an interface standpoint and for almost a decade using CentOS while things improved as far as speed, stability and features, the "way" in which we interfaced with them was dead simple and totally consistent. But CentOS 7 really shook things up and you have to change a lot of the things that you know.
Not having a ton of admin experience in 5 & 6, I honestly had none of those problems with 7. It is what I truly started to actually LEARN on. Yeah, I have used various Linux systems for a decade, but that was not anything more than occasional updates or something in a command line. generally managing things from a GUI otherwise.
You know, the way applications are supposed to be managed.
-
I'm not unbiased given my long experience on CentOS 3, 4 5 & 6 but I really feel that the interface on 7 is much harder to learn, especially around service management. In the old system, it was super obvious what was happening as you just ran scripts and could look at the filesystem and it was all right there. In 7 you have to rely on knowing tools that sometimes lack some functionality that was trivial in the old systems. I'm sure 7 introduces more power and stability, I just wish that they could have kept it as super easy for some of those tasks as 6 had been.
-
@scottalanmiller said:
I'm not unbiased given my long experience on CentOS 3, 4 5 & 6 but I really feel that the interface on 7 is much harder to learn, especially around service management. In the old system, it was super obvious what was happening as you just ran scripts and could look at the filesystem and it was all right there. In 7 you have to rely on knowing tools that sometimes lack some functionality that was trivial in the old systems. I'm sure 7 introduces more power and stability, I just wish that they could have kept it as super easy for some of those tasks as 6 had been.
I'm in the same boat as @JaredBusch and mostly started with 7. It seems easier to me, esp with things like systemd and firewalld. Firewalld syntax makes much more sense to me than iptables and systemctl enable <service> is easier (in typing regards) than a sym link. Again, this is all opinion.
-
Well let me propose the extra complication just so you have my perspective....
In CentOS 7 you want to start the web server. What do you type? What is its name?
In CentOS 6 you just go to /etc/init.d and look and you can see the names of every installed service right there. No guessing or having to know ahead of time. You get to have the built in shell's tab-completion mechanism handle it for you. Can't remember if the database is mysql, mysqld, maria, maridadb, maridadbd, etc.? Just hit tab and it will tell you. Can't do that anymore.
-
@scottalanmiller said:
Well let me propose the extra complication just so you have my perspective....
In CentOS 7 you want to start the web server. What do you type? What is its name?
In CentOS 6 you just go to /etc/init.d and look and you can see the names of every installed service right there. No guessing or having to know ahead of time. You get to have the built in shell's tab-completion mechanism handle it for you. Can't remember if the database is mysql, mysqld, maria, maridadb, maridadbd, etc.? Just hit tab and it will tell you. Can't do that anymore.
Ya I see your point. Systemd will list them but you can't tab complete through them.
-
Yeah, it's not tragic, but the ways that we are used to working are gone. So have to adapt.
-
@JaredBusch said:
@johnhooks said:
I just finished setting up an ELK server. Much less painful than I expected
Mine was horribly painful a year ago. I haven't come back to it. My problem was trying to go CentOS 7 when it was too new. If I had done CentOS 6 then, it would likely have been simple.
I was the same, about 3 months ago I started one, but ran into road blocks.. haven't gone back yet.
-
I wouldn't mind seeing a good guide for ELK. I've thought about setting one up, but never had the resoures in my home lab until recently.
-
@scottalanmiller said:
Few things on Linux are ever as painful as people imagine that they will be.
That was me before- I thought it was very painful, but as time goes by I discovered it's not that painful if you're already familiar or at least you already know the command.
And I need to do work more to improve my knowledge. Looking forward to start working on learning Linux projects. -
@dafyre said:
I wouldn't mind seeing a good guide for ELK. I've thought about setting one up, but never had the resoures in my home lab until recently.
-
@scottalanmiller Thanks.
-
@scottalanmiller said:
@dafyre said:
I wouldn't mind seeing a good guide for ELK. I've thought about setting one up, but never had the resoures in my home lab until recently.
That's the one I used.
If you want to cheat, they have a one click installer
-
Definitely no need to build your own from scratch. They have they prebuilt for you.
-
I tried to Spin it up on CentOS7 at home last night... I got it almost working, but I'm still missing something aparently...
Where's that one-click installer at? I didn't see it anywhere...
-
When you go to build a new machine on Digital Ocean, you select ELK as the VM type.
-
Here you go...
-
Calling it a "one click installer" is very confusing. It's nothing like that. It's a pre-built image.
-
@scottalanmiller Ah, this would be my problem... I'm trying to build it myself, lol. Once I can deploy it by hand, then I'd look at a DO droplet or the like.
Learn it the hard way first, that way when you break it from the one-click-installer, you can at least go digging to figure out why it broke.
-
So I got my own ELK stack installed in my meager office lab... It wasn't too teribly bad... I enjoy using the most recent packages when I (attempt) to build something, so I used the latest & greatest betas out for Logstash and Elastic. A few quick googles and I was good. 8-)
Now to replicate this on my home server which arguably sees more traffic than my office test setup, lol.