Merge pull request #105 from kyrios123/master

Restore Budgie panels and Virtualbox update
This commit is contained in:
Joshua Strobl 2017-11-10 09:04:51 +02:00 committed by GitHub
commit 8285b8df37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 42 additions and 33 deletions

View File

@ -0,0 +1,11 @@
+++
title = "Restoring Panel Defaults"
lastmod = "2017-11-08T21:15:00+01:00"
+++
# Restoring Panel Defaults
To restore Budgie's default panel settings, run the command below
``` bash
budgie-panel --reset --replace &
```

View File

@ -1,50 +1,63 @@
+++
title = "VirtualBox"
lastmod = "2017-10-18T06:18:00+03:00"
lastmod = "2017-11-09T15:30:00+01:00"
+++
# VirtualBox
[VirtualBox](https://virtualbox.org) is an x86 virtualization software package developed by Oracle.
## Install kernel headers
## Determine which kernel you are using
For using VirtualBox in either guest or host mode, it is important that you install the correct headers for your kernel,
as Solus support both a `current` and `lts` kernel.
Solus support both a `current` and `lts` kernel. It is important to install the version that corresponds to your kernel.
If you aren't sure which kernel you
are running, run the following in terminal:
If you aren't sure which kernel you are running, run the following in terminal:
``` bash
uname -r
```
You will either have a `.current` or `.lts` suffix. Examples: `4.12.12-19.current` or `4.9.49-46.lts`
You will either have a `.current` or `.lts` suffix. Examples: `4.13.12-32.current` or `4.9.61-57.lts`
If you have an lts kernel, install the lts headers:
## Solus as Host
VirtualBox is available in the Software Center, select the package that matches your kernel.
virtualbox | virtualbox-current
----- | -----
VirtualBox modules for the **linux-lts** kernel | VirtualBox modules for the **linux-current** kernel
## Solus as Guest
### Preparing your system
Before you start, ensure your all packages are up-to-date on the virtual machine
``` bash
sudo eopkg upgrade
```
For using VirtualBox, it is important to install the correct headers for your kernel
If you have a **lts** kernel, install the lts headers
``` bash
sudo eopkg install linux-lts-headers
```
If you have a current kernel, installing the current headers:
If you have a **current** kernel, installing the current headers
``` bash
sudo eopkg install linux-current-headers
```
Now proceed for setting up Solus as Guest or Host.
## Solus as Guest
Make sure you have the necessary core packages installed:
Make sure you have the necessary packages installed
``` bash
sudo eopkg upgrade
sudo eopkg install gcc make autoconf binutils xorg-server-devel
```
Reboot your system first so that it's all up to date.
Reboot the virtual machine.
### Install the Guest Additions
Now install the **Guest Additions** : from the VirtualBox menu `Devices` -> `Insert Guest Additions CD image...`
On the guest Machine, open `Files` and click on the optical drive icon (CD name starts with VBOXADDITIONS) then click on the `Run Software` button and follow the on screen instructions.
@ -54,7 +67,6 @@ On the guest Machine, open `Files` and click on the optical drive icon (CD name
**Note:** For each kernel update you will need to rebuild the VirtualBox Modules. So simply remount the ISO and run the instructions again.
### Virtual machine settings
Here is a brief overview on some options you may want to set (you can only do it when your virtual machine is not running).
Select your guest machine and click on the Settings icon.
@ -74,33 +86,19 @@ For better performances, it is strongly recommended to enable 3D Acceleration in
#### USB Controller
If you have installed the [extension pack](https://www.virtualbox.org/manual/ch01.html#intro-installing) and your hardware supports it, you set the USB Controller to USB 2.0 or 3.0, in `USB`
Note: Access to USB is granted by the user group `vboxusers` on the **Host** operating system. You can add yourself to this group with the following command:
Note: Access to USB is granted by the user group `vboxusers` on the **Host** operating system. You can add yourself to this group with the following command
``` bash
sudo usermod -aG vboxusers `whoami`
```
#### Shared Folders
You can share folders from the Host to the Guest in `Shared Folders`
**Note:** auto-mounted shared folders are mounted into the `/media` directory, along with the prefix `sf_`. For example, the shared folder `myfiles` would be mounted to `/media/sf_myfiles`. Access to auto-mounted shared folders is only granted to the user group `vboxsf` on the Guest operating system.
Execute these commands to set the permissions and add yourself to the group:
Execute these commands to set the permissions and add yourself to the group
``` bash
sudo chmod 755 /media
sudo usermod -aG vboxsf `whoami`
```
## Solus as Host
Download the latest [VirtualBox Installer](https://www.virtualbox.org/wiki/Linux_Downloads) - [direct link](http://download.virtualbox.org/virtualbox/5.1.30/VirtualBox-5.1.30-118389-Linux_amd64.run) (5.1.30) right click link and Save As.
Now install the dependencies and VirtualBox like so:
``` bash
sudo eopkg it -c system.devel
sudo sh ~/Downloads/VirtualBox-5.1.30-118389-Linux_amd64.run
```
Replace the version number of the file with the one you downloaded.
**Note:** You will probably want to install the [Extension Pack](https://www.virtualbox.org/wiki/Downloads) to extend the functionalities of VirtualBox.