3. Boot PC from USB drive and install Proxmox. If you have two hard drives you can use ZFS file system to create RAID array.
Now log in to Proxmox admin panel using Web-browser: https://server-ip-address:8006
After installation we need to upgrade our system. Proxmox based on Debian GNU Linus and it use Debian repositories but in free version of Proxmox we will have an error when we try to upgrade. We need to disable enterprise Proxmox repositories. Open file /etc/apt/sources.list.d/pve-enterprise.list and comment with symbol # first line with enterprise Proxmox repository.
nano /etc/apt/sources.list.d/pve-enterprise.list
Then we can update packages list and upgrade our system:
apt update
apt upgrade
After installation let’s configure Local storage.
In admin panel go to Datacenter -> Storage, select local-lvm storage and click Remove
After that go to your Node -> Shell and write next commands:
const express = require("express");
const app = express();
const port = 8000;
app.listen(port, () => {
console.log("Server work on "+port);
});
In this code we require Express framework that provides a robust set of features for web and mobile applications. Define class app – our main application class and port – default server port.
We can start our server using command:
npm run start
But now our server can not do nothing, ot only write in console text: “Server work on port 8000“. Let’s create routing and say our server how to work with Url and write text to Web-browser.
First create folder “routes” and file “routes/index.js” with code:
Touchégg is an app that runs in the background and transform the gestures you make on your touchpad or touchscreen into visible actions in your desktop.
For example, you can swipe up with 3 fingers to maximize a window or swipe left with 4 finger to switch to the next desktop.
Many more actions and gestures are available and everything is easily configurable.