Difference between revisions of "My Linux Mint Install"

From OpenCircuits
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
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 =
Line 58: Line 58:
 
== SSH ==
 
== SSH ==
  
=============== ssh ===============
+
Enable ssh on mint:
enable ssh on mint
 
 
   
 
   
 
* install    >> sudo apt update
 
* install    >> sudo apt update
Line 67: Line 66:
 
   
 
   
  
* run check status    >> sudo systemctl status ssh
+
* check the status    >> sudo systemctl status ssh
  
* configure
+
* 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.
 
** 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
+
**  >>  sudo xed /etc/ssh/sshd_config #    Set the PermitRootLogin to Yes
 +
 
 +
 
 +
 
 +
= scratch notes =
 +
 
 +
3). Navigate through each BIOS screen using the "arrow" keys and find the "IOMMU," "I/O Memory Management Unit," or "Intel ® VT-d"setting (usually located under the "Advanced" or "Chipset/Northbridge/Tylersburg IOH/Intel VT for Directed I/O Configuration" settings menu). Move the cursor over the setting selection box using the "arrow" keys and press the "Page Up" or "Page Down" or specified key to select "Enabled."
 +
 
 +
 
 +
 
 +
Update: I'd just like to add that my current BIOS settings also include enabling XHCI Handoff and EHCI Handoff in addition to IOMMU Controller. Others have mentioned this as well and enabling those two handoffs also allows my USB 3.0 ports to function as expected.
 +
 
 +
https://unix.stackexchange.com/questions/72625/why-is-usb-not-working-in-linux-when-it-works-in-uefi-bios/72698

Latest revision as of 12:34, 2 December 2019

Goal[edit]

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[edit]

Know Your Machine[edit]

  • 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[edit]

  • 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[edit]

Real Simple[edit]

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[edit]

    >> 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[edit]

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.


  • check the 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


scratch notes[edit]

3). Navigate through each BIOS screen using the "arrow" keys and find the "IOMMU," "I/O Memory Management Unit," or "Intel ® VT-d"setting (usually located under the "Advanced" or "Chipset/Northbridge/Tylersburg IOH/Intel VT for Directed I/O Configuration" settings menu). Move the cursor over the setting selection box using the "arrow" keys and press the "Page Up" or "Page Down" or specified key to select "Enabled."


Update: I'd just like to add that my current BIOS settings also include enabling XHCI Handoff and EHCI Handoff in addition to IOMMU Controller. Others have mentioned this as well and enabling those two handoffs also allows my USB 3.0 ports to function as expected.

https://unix.stackexchange.com/questions/72625/why-is-usb-not-working-in-linux-when-it-works-in-uefi-bios/72698