Vés al contingut
calbasi.net

Menú

  • Inici
  • Serveis
  • Portfolio
  • Blog
  • Tutorials
  • Contacte
Menú del compte d'usuari
  • Entra

Fil d'ariadna

  1. Inici

Administració de sistemes

Per joan, 21 setembre, 2016

Server Monitoring with Munin on Debian 7 (Wheezy) with Nginx

You have a server running a Debian 8 and Nginx, and now you want to install Munin to monitorize it... Here you are steps to achieve it.

Ensure that the system is up to date before you start to install Munin, run:

apt-get update
apt-get upgrade

Install Munin:

apt-get install munin munin-node munin-plugins-extra

Création d’un lien symbolique pour la partie serveur web

 

ln -s /var/cache/munin/www /var/www/munin

 

Per joan, 31 maig, 2013

Redireccionar un domini a un compte d'un VPS d'OVH

Teniu un VPS a OVH i voleu redirigir un domini allà? Les instruccions que he trobat no son massa clares, i hi ha versions diferents... Aquí està el que m'ha funcionat a mi ;-)

  • Entrem al  Manager v3 d'OVH
  • Anem a l'apartat "Mis Productos"
  • Usem l'opció "Nuevo Dominio", i allà posem el nom del domini que volem redirigir.
  • Com que el domini ja existeix i el tenim registrat, ens sortirà el següent missatge:

Este dominio está ya registrado y pertenece a otra persona.
Si usted es su propietario, puede sin embargo :

Per joan, 31 maig, 2013

Several sites development without available domains with Nginx, using IP, in a multisite/vhost environment

Do you need work in web development but project has not registered an IP yet? If you are using Nginx, and your server hosts several websites (vhosts) a way to do it could be this:

Note: this howto runs in a linux / debian7 server, and a fictitious domain "mydomain.net"

  •   In /etc/nginx/sites-available/mydomain.net change port to listen, for example:

listen *81;

  • reload nginx configuration files:

service nginx reload

Then, you can get this web in this URL: MyServerIP:81 or MyServerDomain:81

 

Administració de sistemes
Canal RSS
Funciona amb