Visual Studio Code is a very powerful free and open source text editor, but before start usage it you need to but to use all its features, you need to configure it.
Visual Studio Code
First of all disable telemetry collection in File > Preferences > Settings menu:
SSTP is Microsofts Remote Access Solution (RAS) for PPP over SSL. It can be used instead of PPTP or L2TP, and is only available with Windows Vista/7 connecting to a Windows 2008 Server. The advantage of SSTP compared to PPTP and L2TP is that it cannot be easily blocked by firewalls since the traffic is transmitted over HTTPS on port 443.
In Ubuntu Linux we can connect to SSTP by using SSTP-Client project on SourceForge.
To install SSTP-Client on Ubuntu add PPA repository:
To install Nextcloud on Ubuntu or other Linux use command:
sudo snap install nextcloud
After installation snap package check installation status
sudo snap changes nextcloud
To change default http and https ports use commands:
sudo snap set nextcloud ports.http=81
sudo snap set nextcloud ports.https=444
In Nginx proxy server configuration file change proxy_pass default port to 81:
Nextcloud’s automatic hostname detection can fail when behind a proxy; you might notice it redirecting incorrectly. If this happens, override the automatic detection (including the port if necessary), e.g.:
If You use Nginx as https frontend and nextcloud as http backend – You neet co change /var/snap/nextcloud/20498/nextcloud/config.php insert the foloving lines:
In Nginx http config file insert 301 redirect to https:
return 301 https://example.host$request_uri;
By default, PHP will use 128M as the memory limit. If you notice images not
getting previews generated, or errors about memory exhaustion in your Nextcloud
log, you may need to set this to a higher value.
If you’d like to set the memory limit to a higher value (say, 512M), run:
sudo snap set nextcloud php.memory-limit=512M
To set it to be unlimited (not recommended), use -1:
sudo snap set nextcloud php.memory-limit=-1
By default the cronjob interval is 15 minutes. To adjust it (say, 10 minutes) simply run:
sudo snap set nextcloud nextcloud.cron-interval=10m
If you have an error such “/usr/bin/env ‘python’ no such file or directory youtube-dl” – thats meen than you does not have installed python, or you install python3. Install python by command:
sudo apt install python-minimal
Or you can start youtube-dl with python3:
python3 /usr/local/bin/youtube-dl
Or you can create symbolic link python3->python with following command: