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:47] – [Virtualbox 7.1] 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 =====
 +  - Install the lvm2 package: <code>sudo apt install lvm2</code>
 +  - Enable and start the LVM service: <code>sudo systemctl enable lvm2-lvmetad
 +sudo systemctl start lvm2-lvmetad</code>
 +
 +===== LUKS =====
 +  - 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 58: 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 65: Line 77:
   sudo apt-get clean   sudo apt-get clean
   sudo apt-get autoremove   sudo apt-get autoremove
- 
-===== Firmware ===== 
-You might first need to add the firmware repositories to get acceptable graphics output. For example, you are installing on a machine with an old graphics card, but a new monitor. In one of my installs the XFCE desktop will boot, but the screen resolution is off, and the fonts are hardly readable. LXQt desktop will not boot into a graphics desktop at all, the machine drops into a terminal during boot. 
-  * Add to or create file /etc/apt/sources.list.d/firmware.list, and add the contrib and non-free repositories.<code># replace the following repositories (http://mirror.kku.ac.th) with the ones you are using 
-# use buster for Debian 10 or stretch for Debian 9 
-deb http://mirror.kku.ac.th/debian/ buster non-free contrib 
-deb-src http://mirror.kku.ac.th/debian/ buster non-free contrib</code> 
-  * Save and exit 
-  * Update apt and install the firmware<code>sudo apt update 
-sudo apt install firmware-linux firmware-linux-nonfree</code> 
-  * Check display hardware and install hardware specific firmware (see below)<code>lspci -vnn | grep VGA</code> 
-  * You also might need to reset the display settings. Look for a folder within ~/.config, for example xfce4, and rename it from an ssh shell when logged out from the graphical desktop, then login again. 
- 
-==== AMD Graphic Cards ==== 
-  * Install AMD Drivers<code>sudo apt install libdrm-amdgpu1 xserver-xorg-video-amdgpu</code> 
-  * [[https://linuxconfig.org/how-to-install-the-latest-amd-drivers-on-debian-10-buster|How to Install the Latest AMD Drivers on Debian 10 Buster]] 
-  * [[https://packages.debian.org/buster/firmware-amd-graphics|Binary firmware for AMD/ATI graphics chips]] 
-  * [[https://wiki.debian.org/AtiHowTo|AtiHowTo - Debian Wiki]] 
- 
-==== nVidia Graphic Cards ==== 
-  * Install nVidia drivers<code>sudo apt install nvidia-driver nvidia-settings nvidia-xconfig</code> 
-  * [[https://linuxconfig.org/how-to-install-the-latest-nvidia-drivers-on-debian-9-stretch-linux|How to install the latest NVIDIA drivers on Debian 9 Stretch Linux]] 
- 
-==== Realtek ==== 
-  * Install Realtek NIC drivers<code>sudo apt-get install firmware-realtek</code> 
- 
-==== Aquantia ==== 
-  * Aquantia AQC107 firmware is not in the repositories 
-  * Download the driver from [[https://www.aquantia.com/support/driver-download/|Aquantia]] 
-  * Unpack, then configure the adapter defaults, and build the driver code<code>tar zxf atlantic.tar.gz 
-mv Linux ~/Drivers/Aquantia 
-cd ~/Drivers/Aquantia 
-vim aq_cfg.h 
-#define AQ_CFG_IS_LRO_DEF 0U /* change from 1U to 0U */ 
-sudo apt-get install build-essential gawk dkms 
-sudo apt-get install linux-headers-`uname -r` 
-cd ~/Drivers/Aquantia 
-sudo ./dkms.sh install</code> 
-  * Verify the driver location and that the driver is loaded<code>/lib/modules/`uname -r`/updates/dkms/atlantic.ko 
-lspci -v</code> 
-  * Uninstall the driver:<code>sudo ./dkms.sh uninstall</code> 
-  * [[https://github.com/Aquantia/AQtion/blob/master/README.txt|Aquantia Readme]] 
  
 ===== Exclude package from upgrade ===== ===== Exclude package from upgrade =====
 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 =====
   * [[https://stackoverflow.com/questions/44797694/where-is-rc-local-in-debian-9-debian-stretch|Where is rc.local in Debian 9 (Debian Stretch)]]   * [[https://stackoverflow.com/questions/44797694/where-is-rc-local-in-debian-9-debian-stretch|Where is rc.local in Debian 9 (Debian Stretch)]]
   * [[https://unix.stackexchange.com/questions/374012/how-to-manage-startup-applications-in-debian-9|How to manage startup applications in Debian 9?]]   * [[https://unix.stackexchange.com/questions/374012/how-to-manage-startup-applications-in-debian-9|How to manage startup applications in Debian 9?]]
-  * [[https://www.cyberciti.biz/faq/update-upgrade-debian-10-to-debian-11-bullseye/|Upgrade Debian 10 to Debian 11 Bullseye]]