A reverse proxy is a type of proxy server that accepts HTTP (S) requests and transparently distributes them to one or more backend servers. You can use a reverse proxy to prevent direct access to these underlying application servers. They can also be used to distribute the load of incoming requests to different application servers.…
Leggi tutto
Configuring an OpenVPN over pfSense is quite simple. In this video you can see, how to configure a VPN on the lastest release of pfSense using the VPN Wizard.
Configure svn server over Apache2, using https.
1 2 3 4 5 6 7 8 9 10 11 12 |
sudo apt update sudo apt upgrade sudo apt-get install apache2 sudo apt-get install subversion libapache2-mod-svn subversion-tools libsvn-dev sudo a2enmod dav dav_svn sudo service apache2 restart sudo mkdir -p /var/lib/svn/ sudo svnadmin create /var/lib/svn/apprepo sudo chown -R www-data:www-data /var/lib/svn sudo chmod -R 775 /var/lib/svn sudo touch /etc/apache2/dav_svn.passwd |
ora impostiamo la password del primo utente:
1 |
sudo htpasswd -cm /etc/apache2/dav_svn.passwd <username> |
configuriamo gli accessi:
1 |
sudo nano /etc/apache2/mods-enabled/dav_svn.conf |
configuriamo gli accessi
1 |
sudo nano /etc/apache2/dav_svn.authz |
riavvio di apache:
1 |
sudo service apache2 restart |
With bash you can more and more… In linux you can use the “find” command from terminal and execute a command for each result simply. To change all subfolder permission from a folder recursively you can type:
1 |
find /home/xtr/Desktop/myFolder -type d -print0 |xargs -0 chmod 755 |
now all falders have the execution permission. To change all files permission from a folder recursively you…
Leggi tutto
Per poter eseguire automaticamente un’applicazione alla partenza della sessione gnome esiste un software presente nella distribuzione di Ubuntu. Può essere richiamato a riga di comando:
1 |
$ gnome-session-properties |
oppure da interfaccia cercando tra le applicazione e filtrando per “start” e poi è possibile creare un elemento nuovo per lo startup dell’applicazione…
Leggi tutto
To be able to automatically run an application at the start of the gnome session there is a software present in the Ubuntu distribution. It can be invoked on the command line:
1 |
$ gnome-session-properties |
or from the interface by searching among the applications and filtering by “start” and then you…
Leggi tutto