Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Incidentally, you don't need the version numbers, just the name (NB: the pkg for Apache is actually called 'httpd' )
Also, yum auto-installs dependencies
I created a non-root user, enabled key based authentication for it, you can disable root login, password login, use a password for the public key, to make everything very secure. Then you just install everything one by one yum install <package name>. Dont go for MySQL, just use the MariaDB, as it is a better choice, and it may be easier. I was stuck on MySQL for almost two days. I was troubleshooting the logs, going very deep into things, unnecessarily. One person told me - delete these four files / folders, run yum install mariadb, and it just worked right away. So if you are stuck with something, you can try that. Another thing that you can do is to look at my posts here, as like I said, I was just going over this (for the first time, my first unmanaged server).
Nano is a good text editor that you can use. It just works normally, you can enter whatever you need right away. There is other, but it may be confusing when you are new (dual mode - command / insert - I mean, nothing hard, but just use nano now, I guess).
Make notes of all the things that you are doing, and commands that you use. I personally increased the command line history to unlimited, so I can always come back to it, and learn more about commands that were used. Some people say that this is insecure, and delete the command history, especially for root, after every session, dont save any commands there too.
Here is some links that I bookmarked, along the way:
You may want to run yum install firewalld. It may be blocking all the ports by default, so you need to open them with certain commands (find my thread about it here).
I think that I should start getting used to running commands lime man <command> or <command> --help, and learning from there. It could be one of the best and fastest ways of moving forward with this.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.