mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   chalsall (https://www.mersenneforum.org/forumdisplay.php?f=169)
-   -   Making the transition to Ubuntu... (https://www.mersenneforum.org/showthread.php?t=27148)

chalsall 2021-09-19 23:45

Making the transition to Ubuntu...
 
So, I find myself in a situation where I'm having to stand up a bunch of "public-facing" LAMP stacks. The usual routine; can't be hacked. Maintainable by others. Etc, etc, etc.

I recently decided to standardize on Ubuntu 20.04.3 LTS for all new server installs.

This is instead of CentOS / RedHat. There is simply too much uncertainty in that distribution space ATM, IMO. And I've been using RedHat and its derivatives for anything serious for more than 20 years.

Today I decided to "take the leap" for Ubuntu on the desktop as well. I'm pleasantly surprised by how well it went! :tu:

I installed 20.04.3 Mate Desktop on a small (500 GB) SSD using a spare machine, and made sure the install was "sane". I'm an old-school Mate GUI user; a consistent UX is critical for me. Don't do anything stupid like 3D warp the windows; just give me 36 virtual desktops spread across three monitors, and then get out of my way.

I then installed this new SSD into "Burrow" (my main workstation), and booted from the new device (using the BIOS boot options, of course).

Because my "real" home/ partition is on another device, after booting into Ubuntu I can then (from a text console (read: Alt-F1)) unlock (decrypt) the filesystem, and mount it on top of the /home/ mount point in the Ubuntu file-system.

This also means I can flip back and forth between Fedora 34 and Ubuntu 20.04 whenever needed.

So far, things are looking good. I'm typing from the Ubuntu environment now. And, most critically, all my Mate Terminal SSH profiles are working, so I can connect to all my various servers.

I might add some additional posts to this thread over time, as I do a deep "making friends" session with Ubuntu getting the desktop (read: all needed software stacks) "fit for purpose".

xilman 2021-09-20 12:05

[QUOTE=chalsall;588202]I recently decided to standardize on Ubuntu 20.04.3 LTS for all new server installs.[/QUOTE]After using Gentoo for many years, I standardized on Ubuntu for new systems a few years back, including on a tiny ARM-64 SBC which Ernst sold to me. Two of my machines still run Gentoo.

I like Ubuntu.

chalsall 2021-09-22 18:25

First big "ARG!!!" moment...
 
So, other than the usual tweaking of the GUI (mostly bringing in Fonts), things are going quite well with the new Ubuntu Desktop environment.

I have found that the "Software Boutique" is a cute, user-friendly way of presenting the software repositories. However, several installs failed (GIMP and Scribus, for example) despite multiple attempts. Complaints about unresolved dependencies.

Weirdly, the "apt" command-line interface worked just fine, so I don't know why the GUI interface had problems.

But, my first big Grrrrr... I discovered that the Mate Terminal will crash (killing all active terminals!) if a profile is launched with the "Run a custom command instead of my shell" set to a script without an explicit path.

I have a bunch of tiny little scripts in my ~/bin/ directory which do port knocking, and then SSH into different machines. Under Fedora, it was fine to just give the script name (yes, I learnt that under Ubuntu ~/bin is not set in the $PATH by default).

But under Ubuntu not even "~/bin/[SCRIPTNAME]" worked; I had to give the full path. And, again, it didn't fail gracefully; killing all my other sessions.

xilman 2021-09-23 12:51

[QUOTE=chalsall;588410]
I have found that the "Software Boutique" is a cute, user-friendly way of presenting the software repositories. However, several installs failed (GIMP and Scribus, for example) despite multiple attempts. Complaints about unresolved dependencies.[/QUOTE]I find Synaptic works very well, except over a "ssh -Y" connection, the latter being caused by Wayland's inadequacy in a multi-host environment.

YMMV.

Nick 2021-09-25 16:43

I have just installed Ubuntu Desktop for the first time, and most of it went smoothly.
The installation process has been oversimplified somewhat. For example, you can
take full control of disk partitioning in order to preserve existing partitions, but later
when you create a user account, you cannot set its user ID. So at the end you
still have all your old files but they might not belong to you anymore!
Setting a static IP address even for a wired Ethernet connection counts as a
user setting not a system setting, which is a strange design choice.
The GUI program for installing software does not appear to have heard of gcc,
which is rather poor. Still, it gets you to learn about Debian packages and apt.
Installing Signal was easy, which is a bonus.

EdH 2021-09-25 18:32

[QUOTE=Nick;588683]I have just installed Ubuntu Desktop for the first time, and most of it went smoothly.
The installation process has been oversimplified somewhat. For example, you can
take full control of disk partitioning in order to preserve existing partitions, but later
when you create a user account, you cannot set its user ID. So at the end you
still have all your old files but they might not belong to you anymore!
Setting a static IP address even for a wired Ethernet connection counts as a
user setting not a system setting, which is a strange design choice.
The GUI program for installing software does not appear to have heard of gcc,
which is rather poor. Still, it gets you to learn about Debian packages and apt.
Installing Signal was easy, which is a bonus.[/QUOTE]Not sure if I'm missing something, but changing ownership is a simple "sudo" command: chown. It can work on an entire directory.

xilman 2021-09-25 18:34

[QUOTE=EdH;588701]Not sure if I'm missing something, but changing ownership is a simple "sudo" command: chown. It can work on an entire directory.[/QUOTE]+1

Nick 2021-09-26 08:14

Well, as a joke that clearly fell flat!
The more serious underlying point was that other Linux distributions
offer more control of the details during installation than Ubuntu does.

M344587487 2021-09-26 09:44

[QUOTE=chalsall;588410]...
But under Ubuntu not even "~/bin/[SCRIPTNAME]" worked; I had to give the full path. And, again, it didn't fail gracefully; killing all my other sessions.[/QUOTE]Where/how is ~/bin/[SCRIPTNAME] being used? Different shells (or configurable options of the same shell) may have different substitution behaviour in some scenarios. If it works with $HOME but not ~ it's probably something like this.

EdH 2021-09-26 12:54

[QUOTE=Nick;588728]Well, as a joke that clearly fell flat!
The more serious underlying point was that other Linux distributions
offer more control of the details during installation than Ubuntu does.[/QUOTE]"Not sure if I'm missing something," Must have. . .

I settled on Ubuntu after trying a lot of other distros, but not an exhaustive trial. Ubuntu had some things others didn't, like zlib1g-dev in its repositories. OTOH, I had noticed the missing gcc odditiy, but g++ brought it in as a dependency. One of the bigger issues was that, way back then, only Debian and Ubuntu would run headless according to anything I could find through research and trial. But, after well over a decade, I'm still really only a beginner with linux, finding out quite often of easier ways to accomplish things via items that were already there in the OS.

An Ubuntu trend that has really started to annoy me is the increasing "Ubuntu needs to restart to finish" messages after normal upgrades. Try running into that all the time for an entire set of machines across a varied crop computer farm.

OTOH, the Fedora developers are watching my every click and keystroke on a normal workstation so they can incrementally remove (and sabotage) more of what I use with each upgrade. (serious joke)

retina 2021-09-26 13:22

[QUOTE=EdH;588734] OTOH, the Fedora developers are watching my every click and keystroke on a normal workstation so they can incrementally remove (and sabotage) more of what I use with each upgrade. (serious joke)[/QUOTE]Does that mean Fedora has gone full MS now, deciding to help themselves to data from the users? :down:

[size=1]The OS is supposed to be the most [i]trusted[/i] part, not the most leaky part.[/size]


All times are UTC. The time now is 03:04.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.