Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
deb12:instolympus2 [2025/07/12 13:57] – [Links] Bernard Condraudeb12:instolympus2 [2026/05/18 13:31] (current) – [Root and SSH access] Bernard Condrau
Line 35: Line 35:
   - Install [[deb9:ssh|SSH Access]]   - Install [[deb9:ssh|SSH Access]]
  
 +===== Check Network =====
 +  * Get gateway address:<code>ip r | awk '/^def/{print $3}'</code>
 +  * Get network interface:<code>ip r | awk 'END{print $3}'</code>
 ===== Virtualbox 7.1 ===== ===== Virtualbox 7.1 =====
   - Import the GPG key: ''wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/virtualbox.gpg''   - Import the GPG key: ''wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/virtualbox.gpg''
-  - Add the repository: ''sudo sh -c 'echo "deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian bookworm contrib" >> /etc/apt/sources.list.d/virtualbox.list'''+  - Add the repository: ''<nowiki>sudo sh -c 'echo "deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian bookworm contrib" >> /etc/apt/sources.list.d/virtualbox.list'</nowiki>''
   - Update package lists: ''sudo apt update''   - Update package lists: ''sudo apt update''
   - Install VirtualBox: ''sudo apt install virtualbox-7.1''   - Install VirtualBox: ''sudo apt install virtualbox-7.1''
-  - Install the VirtualBox Extension Pack: ''sudo apt install virtualbox-ext-pack'' 
  
 ===== LVM ===== ===== LVM =====
Line 49: Line 51:
 ===== LUKS ===== ===== LUKS =====
   - Install:<code>sudo apt install cryptsetup</code>   - Install:<code>sudo apt install cryptsetup</code>
 +
 +===== OpenVPN =====
 +  - Install:<code>apt install openvpn</code>
 ===== Connect existing data volumes ===== ===== Connect existing data volumes =====
   - Mount LVM volumes, first check filesystem type<code>file -sL /dev/sda1 or file -sL /dev/vg_group/lv_volume</code>   - Mount LVM volumes, first check filesystem type<code>file -sL /dev/sda1 or file -sL /dev/vg_group/lv_volume</code>
Line 65: Line 70:
  
 ===== Autostart Apps ===== ===== Autostart Apps =====
-  Set up [[deb9:setup|rc.local]] to autostart scripts at boot time +  Set up [[deb9:setup|rc.local]] to autostart scripts at boot time 
 +  * [[deb10:rclocal|Services - rc.local]]
 ===== Remove Applications ===== ===== Remove Applications =====
 ==== LibreOffice ==== ==== LibreOffice ====
Line 76: Line 81:
 Sometimes it is helpful to exclude a package from upgrading. Virtualbox, for example, requires the GUI on the client to be used after version upgrade to upgrade and install the guest addtions, so sometimes it's better to not upgrade the package while you don't have physical access to the client. You can exclude and include with the following commands:<code>sudo apt-mark hold virtualbox-6.1 Sometimes it is helpful to exclude a package from upgrading. Virtualbox, for example, requires the GUI on the client to be used after version upgrade to upgrade and install the guest addtions, so sometimes it's better to not upgrade the package while you don't have physical access to the client. You can exclude and include with the following commands:<code>sudo apt-mark hold virtualbox-6.1
 sudo apt-mark unhold virtualbox-6.1</code> sudo apt-mark unhold virtualbox-6.1</code>
 +
 +===== Change host name =====
 +  * ''sude hostnamectl set-hostname newname''
 +  * Update ''/etc/hostname''
 +  * Update ''/etc/hosts''
 +  * either:<code>sudo invoke-rc.d hostname.sh start
 +sudo invoke-rc.d networking force-reload</code>
 +  * or:<code>sudo systemctl restart networking.service</code>
  
 ===== Links ===== ===== Links =====