Está en la página 1de 42

Ubuntu Server

Santos Gabriel Gonzlez Toranzo santos@prohos.net


Ubuntu 10.04 LTS userv tty1

userv login:
fesoli@userv:~$ CURIOSIDADES

fesoli@userv:~$ QUIENES USAN US

fesoli@userv:~$ PORQUE US Y NOVEDADES

fesoli@userv:~$ HERRAMIENTAS, CONSEJOS Y


TRUCOS
Nomenclatura Ubuntu

LTS

Santos Gabriel Gonzlez Toranzo santos@prohos.net


Nomenclatura Ubuntu

10.04

Santos Gabriel Gonzlez Toranzo santos@prohos.net


Desarrollo de Ubuntu

Santos Gabriel Gonzlez Toranzo santos@prohos.net


Desarrollo de Ubuntu

Santos Gabriel Gonzlez Toranzo santos@prohos.net


Desarrollo de Ubuntu

Santos Gabriel Gonzlez Toranzo santos@prohos.net


fesoli@userv:~$ CURIOSIDADES

fesoli@userv:~$ QUIENES USAN US

fesoli@userv:~$ PORQUE US Y NOVEDADES

fesoli@userv:~$ HERRAMIENTAS, CONSEJOS Y


TRUCOS
Quines usan Ubuntu Server?

Santos Gabriel Gonzlez Toranzo santos@prohos.net


Quines usan Ubuntu Server?

Santos Gabriel Gonzlez Toranzo santos@prohos.net


Avatar: Granja de Servidores

Ms de 4.000 Blades
Cerca de 35.000 ncleos

HP ProLiant BL2X220c

34 Racks,
104 Tbytes4 de
ConectividadHPde
Almacenamiento BladeSystem
memoria
10
deGbps
hasta
RAM Chassis
2 Petabytes
Santos Gabriel Gonzlez Toranzo santos@prohos.net
Ubuntu Server & Avatar
Ubuntu Server como Sistema Operativo

Santos Gabriel Gonzlez Toranzo santos@prohos.net


Ubuntu Server & Avatar

Renderizacin podia demorar 48 h.


1 minuto = 17,28 Gb
Santos Gabriel Gonzlez Toranzo santos@prohos.net
Avatar: Granja de Servidores

Water Cooler: Refrigeracin por agua


Santos Gabriel Gonzlez Toranzo santos@prohos.net
Quines usan Ubuntu Server?

Santos Gabriel Gonzlez Toranzo santos@prohos.net


Para qu lo usan?

Santos Gabriel Gonzlez Toranzo santos@prohos.net


Para qu lo usan?

Santos Gabriel Gonzlez Toranzo santos@prohos.net


Preferencias de Hardware?
fesoli@userv:~$ CURIOSIDADES

fesoli@userv:~$ QUIENES USAN US

fesoli@userv:~$ PORQUE US Y NOVEDADES

fesoli@userv:~$ HERRAMIENTAS, CONSEJOS Y


TRUCOS
Por qu usar Ubuntu Server?
Tecnologa que hace simple las cosas

Santos Gabriel Gonzlez Toranzo santos@prohos.net


Lo Nuevo de Ubuntu Server
MEJORES PAQUETES

Santos Gabriel Gonzlez Toranzo santos@prohos.net


Por qu usar Ubuntu Server?
Una gran comunidad.

Santos Gabriel Gonzlez Toranzo santos@prohos.net


Por qu usar Ubuntu Server?
Ciclo regular de liberaciones y LTS

Santos Gabriel Gonzlez Toranzo santos@prohos.net


Una red comercial creciente

Santos Gabriel Gonzlez Toranzo santos@prohos.net


Por qu usar Ubuntu Server?
Es libre y da libertad
No hay dependencia de un proveedor
Sin restricciones de licencia
Integracin con sistemas existentes

Santos Gabriel Gonzlez Toranzo santos@prohos.net


Lo Nuevo de Ubuntu Server

Virtualizacin Nativa

Migracin en caliente de MV

Mejor integracin con herramientas de
administracin.

Santos Gabriel Gonzlez Toranzo santos@prohos.net


Lo Nuevo de Ubuntu Server

Ms orientado a Cloud, Ubuntu Enterprise
Cloud, powered by Eucalyptus

Santos Gabriel Gonzlez Toranzo santos@prohos.net


fesoli@userv:~$ CURIOSIDADES

fesoli@userv:~$ QUIENES USAN US

fesoli@userv:~$ PORQUE US Y NOVEDADES

fesoli@userv:~$ HERRAMIENTAS, CONSEJOS Y


TRUCOS
Herramientas, consejos y trucos

Screen

screen
Sesion 1

1 2

screen 3 n

Santos Gabriel Gonzlez Toranzo santos@prohos.net


Herramientas, consejos y trucos

htop

Santos Gabriel Gonzlez Toranzo santos@prohos.net


Herramientas, consejos y trucos

hwinfo

Santos Gabriel Gonzlez Toranzo santos@prohos.net


Herramientas, consejos y trucos

RackMonkey
http://flux.org.uk/projects/rackmonkey/

Santos Gabriel Gonzlez Toranzo santos@prohos.net


Herramientas, consejos y trucos

Nagios

Santos Gabriel Gonzlez Toranzo santos@prohos.net


Herramientas, consejos y trucos

Varias veces un comando
watch

$ ls -l ubuntu.iso
-rw-r--r-- 1 admin admin 322324 2010-11-19 10:39 ubuntu.iso

$ watch "ls -l ubuntu.iso "


Every 2.0s: ls -l db_backup.sql
-rw-r--r-- 1 admin admin 51324324 2010-11-19 10:44 ubuntu.iso

$ watch -n 60"ls -l ubuntu.iso "


Santos Gabriel Gonzlez Toranzo santos@prohos.net
Herramientas, consejos y trucos

Ver si dos archivos son iguales
config.php config.php _1

$ md5sum config.php
d41d8cd98f00b204e9800998ecf8427e config.php
$ md5sum config.php_1
d41d8cd98f00b204e9800998ecf8427e config.php_1

Santos Gabriel Gonzlez Toranzo santos@prohos.net


Herramientas, consejos y trucos

El servidor te avise despus de reiniciar

$ sudo reboot
...
$ ping servidor
$ ssh otroservidor

Beep!!
$ ping -a servidor Beep!!

Santos Gabriel Gonzlez Toranzo santos@prohos.net


Herramientas, consejos y trucos

El servidor te avise despus de reiniciar

$ ping -a servidor Verificar que funcione beep


$ echo -e "\a"
[ ] Habilitando el beep
$ sudo vim /etc/modprobe.d/blacklist.conf
Descomentar
blacklist pcspkr
Habilitar el modulo
$ modprobe pcspkr

Santos Gabriel Gonzlez Toranzo santos@prohos.net


Herramientas, consejos y trucos

El servidor te avise despus de reiniciar
Usar un archivo de audio para el beep
$ mkdir ~/.xkb
$ ping -a servidor $ # creando archivo de configuracin
$ cat > ~/.xkb/kxbevd.cf <<EOF
$ soundDirectory="/usr/share/sounds/"
[ ] $ soundCmd="aplay -q"
$ Bell() "sound.wav"
$ EOF
$ # Que corra en el background
$ echo <<EOF >> ~/.profile
$ if [ -n "$DISPLAY" ]; then
$ xkbevd -bg
$ fi
$ EOF
Ejecutar manualmente
$ xkbevd -bg

Santos Gabriel Gonzlez Toranzo santos@prohos.net


Herramientas, consejos y trucos

Bitacora: $ history

$$history
history | grep mkdir
2018
1638 echo
mkdir-e/media/mem
'\a'
1639 sudo
2019 sudovim
mkdir /media/mem
/etc/modprobe.d/blacklist.conf
1923 mkdir varios
1999 sudo
2020 scd mkdir
modprobe.xkb pcspkr
2006 history | grep
2021 echo -e '\a'
2022 history

Santos Gabriel Gonzlez Toranzo santos@prohos.net


Herramientas, consejos y trucos

Regresar a la carpeta anterior
$ pwd
/etc/apache2/sites-enabled/

$ cd /var/www

$ cd - - = $OLDPWD

Santos Gabriel Gonzlez Toranzo santos@prohos.net


Ubuntu Server

Gracias

También podría gustarte