Difference between revisions of "My Linux Mint Install"

From OpenCircuits
Jump to navigation Jump to search
Line 7: Line 7:
 
While I wanted a "head" on the machine I mainly wanted the "head" to run via VNC on a remote box.  So if you want to do something similar this is what I did.
 
While I wanted a "head" on the machine I mainly wanted the "head" to run via VNC on a remote box.  So if you want to do something similar this is what I did.
  
In what follows I have tried to add sudo to commands that need it, and commands are prefixed by >> Menu navigation is often indicated by ->
+
In what follows I have tried to add sudo to commands that need it, and commands are prefixed by >>. << or # May be used to indicate end of the command and the beginning of comment. Menu navigation is often indicated by ->
  
 
= Install =
 
= Install =

Revision as of 12:59, 2 December 2019

Goal

These are some notes of my install of Linux Mint ( after dissatisfaction with Ubuntu ) on a small fan-less PC. I want this box to run a variety of background utility tasks. Some of these are file services, media services and various iot functions.

I did not want a headless install, in fact I want it to be fairly similar to my windows desktop, and I wanted to be able to use Python on it much like I do on my windows machine and my various raspberry pi machines.

While I wanted a "head" on the machine I mainly wanted the "head" to run via VNC on a remote box. So if you want to do something similar this is what I did.

In what follows I have tried to add sudo to commands that need it, and commands are prefixed by >>. << or # May be used to indicate end of the command and the beginning of comment. Menu navigation is often indicated by ->

Install

Know Your Machine

  • boot menu f11
  • boot configure f12
  • Mint version xxxx it is a version of debion
  • Mint desktop cinomint
  • Mint text editor: xed
  • Name of computer on network: Bulldog mint russ
  • Configure options
    • package manager
    • admin -> menu
    • synapatic package manager
    • software manager
    • terminal: apt, or apt-get, or pip, or conda

Install

  • download is and make usb stick with on win with etcher
  • boot use boot manager to boot from usb then install select option to install, the wizard should get you through it
  • bring the system up to data menu >> admin >> update manager

Remote Access

Real Simple

Note you can exchange text with the new machine via the internet ( a wiki is useful ) or a flash dirive. This allow exact copying of terminal commands.

VNC Remote Desktop

    >> sudo apt install vino
    >> gsettings set org.gnome.Vino require-encryption false
    >> gsettings set org.gnome.Vino prompt-enabled false


Once that’s done we can start the server using the command:

     >> /usr/lib/vino/vino-server

SSH

========= ssh =========

enable ssh on mint

  • install >> sudo apt update
    • install >> sudo apt install -y openssh-server

The SSH service will start automatically upon the completion of package installation. You can verify the SSH server package installation by running the following command.


  • run check status >> sudo systemctl status ssh
  • configure


    • By default, root login over SSH is not allowed on Ubuntu / Linux Mint / Debian. But, you can enable root login by editing the SSH configuration file. Edit the sshd_config file.
    • >> sudo xed /etc/ssh/sshd_config << Set the PermitRootLogin to Yes