manual, sysadmins, gui

This commit is contained in:
Mik-TF 2024-05-14 12:43:45 -04:00
parent f0683c7c46
commit bd835ef00b

View File

@ -36,20 +36,20 @@ If you are new to the Threefold ecosystem and you want to deploy workloads on th
```
* Once connected, update, upgrade and install the desktop environment
* Update
```
sudo apt update -y && sudo apt upgrade -y
```
```
sudo apt update -y && sudo apt upgrade -y
```
* Install a light-weight desktop environment (Xfce)
```
sudo apt install xfce4 xfce4-goodies -y
```
```
sudo apt install xfce4 xfce4-goodies -y
```
* Create a user with root access
```
adduser newuser
```
```
ls /home
```
```
adduser newuser
```
```
ls /home
```
* You should see the newuser directory
* Give sudo capacity to newuser
```
@ -67,13 +67,13 @@ If you are new to the Threefold ecosystem and you want to deploy workloads on th
```
* add authorized public key in file and save
* Exit the VM and reconnect with new user
```
exit
```
```
exit
```
* Reconnect to the VM terminal and install XRDP
```
ssh newuser@VM_IPv4_address
```
```
ssh newuser@VM_IPv4_address
```
* Install XRDP
```
sudo apt install xrdp -y
@ -83,9 +83,9 @@ If you are new to the Threefold ecosystem and you want to deploy workloads on th
sudo systemctl status xrdp
```
* If not running, run manually:
```
sudo systemctl start xrdp
```
```
sudo systemctl start xrdp
```
* If needed, configure xrdp (optional)
```
sudo nano /etc/xrdp/xrdp.ini
@ -93,9 +93,9 @@ If you are new to the Threefold ecosystem and you want to deploy workloads on th
* Create a session with root-access user
Move to home directory
* Go to home directory of root-access user
```
cd ~
```
```
cd ~
```
* Create session
```
echo "xfce4-session" | tee .xsession
@ -107,9 +107,9 @@ Move to home directory
* Find your local computer IP address
* On your local computer terminal, write
```
curl ifconfig.me
```
```
curl ifconfig.me
```
* On the VM terminal, allow client computer port to the firewall (ufw)
```
@ -124,16 +124,16 @@ Move to home directory
sudo ufw status
```
* If not active, do the following:
```
sudo ufw disable
```
```
sudo ufw enable
```
```
sudo ufw disable
```
```
sudo ufw enable
```
* Then the ufw status should show changes
```
sudo ufw status
```
```
sudo ufw status
```
## Client Side: Install Remote Desktop Connection for Windows, MAC or Linux
@ -149,7 +149,7 @@ Simply download the app, open it and write the IPv4 address of the VM. You then
* [Remote Desktop Connection app](https://apps.microsoft.com/store/detail/microsoft-remote-desktop/9WZDNCRFJ3PS?hl=en-ca&gl=ca&rtc=1)
* MAC
* Download in app store
* [Microsoft Remote Desktop Connection app](https://apps.apple.com/ca/app/microsoft-remote-desktop/id1295203466?mt=12)
* [Microsoft Remote Desktop Connection app](https://apps.apple.com/ca/app/microsoft-remote-desktop/id1295203466?mt=12)
* Linux
* [Remmina RDP Client](https://remmina.org/)