Post

Visualizzazione dei post con l'etichetta Debian

Abilitare i Servizi in Debian/Ubuntu

update-rc.d -f sendmail remove update-rc.d apache2 defaults 20 80

Install Webmin on Debian and Ubuntu

Using the Webmin APT repository 1) Add repository to apt-get sudo su nano /etc/apt/sources.list #Webmin Repo deb http://download.webmin.com/download/repository sarge contrib 2) Add apt key cd /root wget http://www.webmin.com/jcameron-key.asc apt-key add jcameron-key.asc 3) Install software apt-get update apt-get install webmin

Configurare il Locale in Debian

The Easy Way Install debconf (i.e. run apt-get update then apt-get install debconf , as root) Run dpkg-reconfigure locales as root http://people.debian.org/~schultmc/locales.html

Debian Linux: Changing the timezone after installation

If the timezone is not set or is wrong, the superuser can run tzconfig to configure it after the operating system is installed (see man page tzconfig(8) ). If there are other users, it is a good idea to notify then that the system Timezone has changed. http://www.debian.org/doc/manuals/system-administrator/ch-sysadmin-time.html

Linux: Utilizzo di screen

screen è un comando che permette di aprire una shell come fosse un servizio. Utilissimo nelle sessioni SSH quando si vuole lasciare dei comandi attivi anche una volta scollegati. Per iniziare una nuova sessione usare il comando screen a questo punto siete entrati nella console che potrete tenere attiva utilizzando CTRL+A e poi D uscirete dalla console lasciando il comando in esecuzione. potete controllare le console attive con screen -ls Ora per ri-agganciarvi a una console lasciata aperta usate scree -r <nome della console> Maggiori dettagli li trovate qui: http://linux.byexamples.com/archives/86/multiple-workspace-on-single-terminal-with-screen/

Apache2 Reverse Proxy per Tomcat

Editate i seguenti files - Linux: 000-default in /etc/apache2/sites-enabled - Windows: httpd.conf 1) Attivate i moduli LoadModule deflate_module modules/mod_deflate.so LoadModule deflate_module modules/mod_proxy.so LoadModule deflate_module modules/mod_proxy_http.so oppure in Debian/Ubuntu sudo a2enmod deflate sudo a2enmod proxy_http 2) Aggiungete alla fine dei files #Aggiunto da Mirco ProxyPreserveHost On ProxyRequests Off AddOutputFilterByType DEFLATE text/html text/plain text/xml ProxyPass http://localhost:8080/atreeflow ProxyPassReverse http://localhost:8080/atreeflow Order deny,allow Allow from all