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
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
In collaborazione con PegasoTeam abbiamo appena testato il fantastico modello Supermicro E50-9AP con la nuovissima versione di Ubuntu server e desktop. Abbiamo preso il modello Supermicro E50-9AP con il modulo wifi intel 8265 fornitro da Supermicro il cui codice assemblato è E50-9AP-WIFI e lo abbiamo testato a fondo. Il prodotto si presenta veramente…
Leggi tutto
Tested on Ubuntu 18.04 LTS
1 |
sudo nano /etc/apache2/conf-available/phpmyadmin.conf |
1 2 3 4 |
#Restrict phpMyAdmin via IP address Order Deny,Allow Deny from All Allow from 10.1.1.10 |
1 |
sudo /etc/init.d/apache2 restart |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
GNU nano 2.2.6 File: /etc/apache2/conf-available/phpmyadmin.conf # phpMyAdmin default Apache configuration Alias /phpmyadmin /usr/share/phpmyadmin An example of a full conf file, whereto we give full access to an entairly network addresses <Directory /usr/share/phpmyadmin> #Restrict phpMyAdmin via IP address Order Deny,Allow Deny from All Allow from 10.0.9.0/24 Options FollowSymLinks DirectoryIndex index.php <IfModule mod_php5.c> AddType application/x-httpd-php .php php_flag magic_quotes_gpc Off php_flag track_vars On php_flag register_globals Off php_admin_flag allow_url_fopen Off php_value include_path . php_admin_value upload_tmp_dir /var/lib/phpmyadmin/tmp php_admin_value open_basedir /usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/php/php-gette$ </IfModule> </Directory> # Authorize for setup <Directory /usr/share/phpmyadmin/setup> <IfModule mod_authn_file.c> AuthType Basic AuthName "phpMyAdmin Setup" AuthUserFile /etc/phpmyadmin/htpasswd.setup </IfModule> Require valid-user </Directory> # Disallow web access to directories that don't need it <Directory /usr/share/phpmyadmin/libraries> Order Deny,Allow Deny from All </Directory> <Directory /usr/share/phpmyadmin/setup/lib> Order Deny,Allow Deny from All </Directory> |
Per chi non lo conoscesse, rsync realizza copie incrementali fra una sorgente e una destinazione. Ottimo per i backup via rete di cartelle poichè confronta i timestamp dei file e li invia solo se sono cambiati. Ma non ci fermiamo qui. Premessa. Nella nostra server farm abbiamo molti file di grosse dimensioni che sono i…
Leggi tutto
Nello sviluppo di applicazioni mobili diventa sempre più importante il supporto di schermi e dimensioni anche molto diverse a causa del diffondersi di modelli e tipologie di dispositivi sempre più disparati. Per fortuna Android offre una soluzione veramente intelligente e semplice per aiutarci a sviluppare applicazioni che da un lato siano compatibili col maggior numero…
Leggi tutto