Ubuntu setup

Started by Bubunt, Jun 27, 2022, 03:10 AM

Previous topic - Next topic

BubuntTopic starter

I have new virtual hardware from chicagovps.net: KVM LINUX VPS with 1GB RAM, 1 x vCPU, 30GB HDD Space. OS Rebuild: Linux Ubuntu 12.04 X86 64 Desktop Gen2 V1.

I ran these commands:
do-release-upgrade
# Ubuntu 14.04.6
apt-get install --no-install-recommends ubuntu-desktop
do-release-upgrade

Great. I now have desktop, GUI, mouse. Bootup is very fast. But I do not know what Ubuntu version I now have. Probably the latest. I try GUI login with Username: root. But my login crediantals will not work anymore. How to log in? I want browser like firefox or chrome. How to get these?
  •  

coolbrain

This is likely "to end badly". Even on KVM, trying to upgrade even one Ubuntu LTS (every two year Long Term Support version) on a VPS can generate fatal errors that you cannot fix yourself. You "need" to upgrade 5 LTS versions.

My experience with this sort of thing is "Run Away Fast" if the VPS hosting company is not yet offering the latest LTS of Ubuntu 2 years after it first came out. Which is the current situation with Ubuntu 20.04 LTS.

All of this is because VPS Hosting companies seem to always have some custom configuration to do to create the Operating System Image they install for you.
  •  

span4bob

Ubuntu 20.04 LTS is recommended, it seems your provider doesn't officially offer it.

Ubuntu 16.04.7 LTS is a lot newer than Ubuntu 12.04 and it's certainly a lot better if that's the newest version you can get from your provider. You should manually upgrade to 20.04 LTS as soon as possible or you're going to risk getting hаcked.

SSH supports X11 forwarding. Don't run startx on the VPS (it can run over the network but you shouldn't do that). You should install the default VNC server and run that instead (you need to apt-get install package_name replace package_name with the actual name of the package(s)).

Also you'll have to upgrade the RAM on the VPS sufficiently to be able to run firefox, I'd suggest 4GB RAM for starters. You could do it with less than 4GB just don't expect it to run very well.
  •  

ldhsuo

Recommended  operations
 Removing Orca
The Ubuntu distribution by default contains an application for reading screen text called Orca. This application can be very useful if you have poor eyesight. But it will be useless otherwise. In addition, you may be confused by the low voice that your computer will use to talk to you after mistakenly pressing a key combination....

The application in question can be removed using the following command:

sudo apt remove orca

After you finish entering the command, press the Enter key. When prompted for a password, you will need to enter your password. The characters of your password will not be displayed in any way, even with dots, and that's fine. After entering the password, press the Enter key again.

 Installation of a classic desktop environment that does not require 3D acceleration support
The GNOME desktop environment always uses 3D effects, even if the video adapter does not support 3D acceleration functions (in this case, software emulation is used).
In some cases, due to their activation, the reliability and performance of the entire system may decrease. If you encounter similar problems, you can try disabling the described effects by replacing the desktop environment with one of those that do not require a 3D accelerator.

Note: This advice applies only to the Ubuntu distribution and in no way applies to distributions such as Xubuntu.

There are several methods to solve this problem. In my opinion, the most optimal of them is to install the Xubuntu distribution instead of Ubuntu. But there is another, less radical method.

 First of all, you should install the gnome-session-flashback software package: to do this, click on the icon with nine dots ("Show applications") at the bottom of the sidebar, enter the "terminal" query and select the first of the suggested Terminal application options. In the terminal window that opens, enter the following command (as before, copy/paste functions should be used):

sudo apt install gnome-session-flashback

After you finish entering the command, press the Enter key. When prompted for a password, you will need to enter your password. The characters of your password will not be displayed in any way, even with dots, and that's fine. After entering the password, press the Enter key again.

 Now you need to end the session with the system. On the login screen, click on the gear icon under the password field and select the session type "GNOME Flashback (Metacity)".

 After that, you should log in again. No 3D effects will be used during the session of the selected type.

 Optimization of the Firefox web browser
You can improve the performance of the Firefox web browser from Ubuntu by changing several values of its configuration parameters. The settings described in this section will help optimize the performance of this excellent web browser.

 Installing an additional web browser
It is always useful to be able to use an additional installed web browser. Firefox is an excellent web browser, but in some cases (especially when installing a large number of add-ons) it does not work as well as we would like.

A great alternative to the Firefox web browser is the Google Chrome web browser. Unfortunately, the data from the repository where the corresponding software package is located is not added to the list of Ubuntu distribution software sources, but you can download the installer yourself from the Google Chrome downloads page. This web page should automatically establish the fact that you are using an Ubuntu distribution: you will be offered an installer for Debian/Ubuntu distributions.
You can activate the installer file with the extension.deb is exactly the same as the installer file with the extension.exe in Windows OS with a double click. After activation, the installation will be carried out automatically. Moreover, this installer will add the repository data to the list of software sources of your distribution in order for the update manager to offer you the installation of updates for Google Chrome as they are released.

You can read the description of additional settings of the Google Chrome web browser in this section.

 Optimization of the LibreOffice office suite
LibreOffice is an office suite supplied as part of the Ubuntu distribution. To optimize the operation of this office suite, you can resort to changing its configuration parameters described in this section.

 Disabling the activity tracking mechanism
Some privacy settings of your system may be slightly optimized. The system allows you to disable the user activity tracking mechanism, although some people find it useful, because it allows certain applications, such as multimedia players and terminal emulators, to save information about the last opened files and executed commands. You can disable this mechanism in the following way: first of all, click on the icon with nine dots ("Show applications") at the bottom of the sidebar, enter the query "parameters" and select the first of the suggested application options "Settings". In the window that opens, select the "Privacy" section, go to the "File History and Trash" subsection and use the "File History" switch.

Note: This manipulation is performed at the user account level, so you will have to repeat the steps described above for all user accounts on the computer.

 Fixing the OS kernel version
You can fix a specific version of the Ubuntu kernel. This can be especially useful, for example, when manually installing a driver for a device that will stop working after updating the OS kernel. In addition, it will also be useful in terms of saving disk space, since a large number of kernel updates are released during the system support cycle, and several of these updates are usually stored on users' computers at once.

The risk associated with such a fixation of the OS kernel version is insignificant, especially for desktop users (web servers differ significantly in this regard). Although OS kernel updates may contain security fixes, they are usually not particularly relevant for desktop systems. By the way, in the Linux Mint distribution, OS kernel updates are not installed by default at all.

If you want to fix the OS kernel version, you can use this guide.

 Improving the speed of the Ubuntu distribution
There is a high probability that you will significantly increase the speed of the Ubuntu distribution by using the safe tips described in this section.

 Transferring email from Outlook (Express) for Windows to Ubuntu
The process of transferring e-mail messages and Outlook (Express) client settings for Windows to Thunderbird for Ubuntu is not associated with any difficulties.
  •