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.
Hi
One of the strengths of Linux is also its weakness. The ease and simplicity to install apps and modify your OS.
Also AFAIK Linux has no 'restore point' capability like Windows so often figuring out what is causing crashes, and other issues becomes problematic.
It's too tempting to be constantly adding tweaks. Are there any ways to make it much more difficult to do a 'sudo apt-get or sudo yum install?
Are you referring to a multi-user environment? If so, simply remove unnecessary users from the sudoers list. If single user, surely it is up to you to control yourself??
You are also incorrect about linux being able to perform backups and restore, as if it were unable to do this I feel a large number of companies would not use linux in the first place.
I do find it interesting that you single out linux compared to Windows about crashing and particularly the ease of solution as I have faced numerous Windows crashes in my time and often the only solution was a complete reinstall. I can say with complete confidence this has not been my experience in linux, ie. I have never had to reinstall (except when desired or trying some other distro) and with the help of the community, finding reasons for an unusual situation with my computer has generally been without too much issue.
Maybe after you have used linux for a while you will be in a better place to comment.
Hi
One of the strengths of Linux is also its weakness. The ease and simplicity to install apps and modify your OS.
Also AFAIK Linux has no 'restore point' capability like Windows so often figuring out what is causing crashes, and other issues becomes problematic.
It's too tempting to be constantly adding tweaks. Are there any ways to make it much more difficult to do a 'sudo apt-get or sudo yum install?
This is why someone else in here may have asked the question, what are good maintenance practices for Linux?
If you actually have a system that you are the admin of, and give and take away users on it. then do not give everyone sudo privileges to install and modify everything within that system. Then all they can screw up is their home, and not the entire city (system).
If it is just your system. Then teach yourself what is more important to back up, rather then backing up your entire system. So all you have to do is replace it to bring your system back to where it was, before you tinkered with it in the first place.
Keep track of what is in it, and what does what to the best of your ability. This can get a little cumbersome. But as long as you have the important (config) files backed up then if you or someone gets it into a spot that a re-install HAS to be done to fix it. then even that is made a lesser of a head ache.
because now all you have to do is a (hopefully) quick re-install (depending on the distro) then just copy over the installed config files with the ones you have already tailored to your system. reboot and you're back in business. then all you have to do is a little sweeping up to finish the job.
Coming at linux in server usage rather than desktop I'd have to admit that these days (with a couple of exceptions) I'd generally only run linux as a VM.
With a VM you can follow the good practice that BW-userx mentions (backing up essential files, things that are dynamic or specific to the server rather than EVERYTHING) but you also have the onion layer approach of being able to do VM "Snapshots" for quick roll-back.
I will do the VM Snapshot before any kernel upgrades etc. as I like the fairly instant roll-back.
As for backups and being able to restore systems, I manage my VMs through Salt so building/re-building a server is pretty much a matter of doing the bare-bones OS installation, setting the hostname and letting salt deal with everything else, then I can restore my content files from a 3 hourly "dirvish" versioning backup that resides in a different location (Raspberry Pi at home!)
OK. Fair enough. I walk my own path through life. You walk yours.
When tinkering takes out a production server and means thousands of people can't get their VISA card balance it tends to focus thoughts on where future tinkering should take place.
Go to Barnes and Noble, buy some of the Linux magazines there, they have an excellent selection.
Public Library. Online man pages? The gazillions of hits from
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.