Saturday, September 01, 2012

Actualizar y configurar Dreamlinux

Dreamlinux como buena distro que proviene de Debian usa el Apt como gestor de actualizaciones el cual debe actualizarse primero para poder instalar diversos programas que ocupariamos.
Tomemos por ejemplo 2, la herramienta de Ofimatica LibreOffice para poder ver editar y crear documentos de word excel o presentaciones y el Teamviewer para poder brindar Servicio de Soporte Remoto.
Abrimos la consola de comandos y escribimos:
sudo apt-get update
Al darle enter se actualizara la base de datos contra los FTP de Debian, demora algo pero ya luego de eso podremos instalar lo que querramos:

Luego abrimos el apt-ger que vemos a la derecha del dock en nuestro escritorio:

En el buscador escribimos el software que ocupamos en este caso el que queremos es el office:

Al darle apply nos saldra esto:

Le volvemos a dar apply:

Comenzara a descargar y luego a instalar. Existen otras maneras de instalar descargando los paquetes y recompilandolos a base de comandos desde la consola. Ejemplo ocupaba instalar el teamviewer para trabajar con los usuarios remotos descargue el archibo deb y desde la consola como root teclee:
ilorenzo@ilorenzo:~/Downloads$ su
Password:
root@ilorenzo:/home/ilorenzo/Downloads# dpkg -i skype-debian_4.0.0.8-1_i386.deb
(Reading database … 106157 files and directories currently installed.)
Preparing to replace skype 4.0.0.8-1 (using skype-debian_4.0.0.8-1_i386.deb) …
Unpacking replacement skype …
Setting up skype (4.0.0.8-1) …
Processing triggers for bamfdaemon …
Rebuilding /usr/share/applications/bamf.index…
Processing triggers for desktop-file-utils …
root@ilorenzo:/home/ilorenzo/Downloads#
Listo quedo instalado y funcionando.
Instalar paquetes tar.gz, digamos que quiero instalar no-ip y esta en un archivo comprimido tar.gz
INSTALAR NO-IP EN LINUX
ilorenzo@ilorenzo:~/Downloads$ sudo tar -zxvf noip-duc-linux.tar.gz
./._noip-2.1.9-1
noip-2.1.9-1/
noip-2.1.9-1/._binaries
noip-2.1.9-1/binaries/
noip-2.1.9-1/binaries/._noip2-i686
noip-2.1.9-1/binaries/noip2-i686
noip-2.1.9-1/binaries/._noip2-x86_64
noip-2.1.9-1/binaries/noip2-x86_64
noip-2.1.9-1/._COPYING
noip-2.1.9-1/COPYING
noip-2.1.9-1/._debian.noip2.sh
noip-2.1.9-1/debian.noip2.sh
noip-2.1.9-1/._gentoo.noip2.sh
noip-2.1.9-1/gentoo.noip2.sh
noip-2.1.9-1/._LEEME.PRIMERO
noip-2.1.9-1/LEEME.PRIMERO
noip-2.1.9-1/._LIESMICH.ERST.deutsch
noip-2.1.9-1/LIESMICH.ERST.deutsch
noip-2.1.9-1/._LISEZMOI.ENPREMIER
noip-2.1.9-1/LISEZMOI.ENPREMIER
noip-2.1.9-1/._mac.osx.startup
noip-2.1.9-1/mac.osx.startup
noip-2.1.9-1/._Makefile
noip-2.1.9-1/Makefile
noip-2.1.9-1/._noip2.c
noip-2.1.9-1/noip2.c
noip-2.1.9-1/._README.FIRST
noip-2.1.9-1/README.FIRST
noip-2.1.9-1/._README.FIRST-SWE
noip-2.1.9-1/README.FIRST-SWE
noip-2.1.9-1/._README.FIRST.FRANCAIS
noip-2.1.9-1/README.FIRST.FRANCAIS
noip-2.1.9-1/._README.FIRST.ITALIANO
noip-2.1.9-1/README.FIRST.ITALIANO
noip-2.1.9-1/._README.FIRST.JAPANESE
noip-2.1.9-1/README.FIRST.JAPANESE
noip-2.1.9-1/._README.FIRST.pt_BR
noip-2.1.9-1/README.FIRST.pt_BR
noip-2.1.9-1/._README.FIRST_PT
noip-2.1.9-1/README.FIRST_PT
noip-2.1.9-1/._redhat.noip.sh
noip-2.1.9-1/redhat.noip.sh
ilorenzo@ilorenzo:~/Downloads$ cd noip-2.1.9-1
ilorenzo@ilorenzo:~/Downloads/noip-2.1.9-1$ less LEEME.PRIMERO
LEEME.PRIMERO: Permission denied  AQUI VEMOS QUE NO ME DEJA POR NO ESTAR COMO ROOT
ilorenzo@ilorenzo:~/Downloads/noip-2.1.9-1$ sudo ./configure
sudo: ./configure: command not found
ilorenzo@ilorenzo:~/Downloads/noip-2.1.9-1$ su
Password:

NI MODO HAY QUE ENTRAR COMO ROOT
root@ilorenzo:/home/ilorenzo/Downloads/noip-2.1.9-1# ./configure
bash: ./configure: No such file or directory
root@ilorenzo:/home/ilorenzo/Downloads/noip-2.1.9-1# make
gcc -Wall -g -Dlinux -DPREFIX=\”/usr/local\” noip2.c -o noip2
noip2.c: In function ‘dynamic_update’:
noip2.c:1595:6: warning: variable ‘i’ set but not used [-Wunused-but-set-variable]
noip2.c: In function ‘domains’:
noip2.c:1826:13: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]
noip2.c: In function ‘hosts’:
noip2.c:1838:20: warning: variable ‘y’ set but not used [-Wunused-but-set-variable]
root@ilorenzo:/home/ilorenzo/Downloads/noip-2.1.9-1# make install
if [ ! -d /usr/local/bin ]; then mkdir -p /usr/local/bin;fi
if [ ! -d /usr/local/etc ]; then mkdir -p /usr/local/etc;fi
cp noip2 /usr/local/bin/noip2
/usr/local/bin/noip2 -C -c /tmp/no-ip2.conf

Auto configuration for Linux client of no-ip.com.
Please enter the login/email string for no-ip.com yanux.ss@gmail.com
Please enter the password for user ‘yanux.ss@gmail.com’ ******

2 hosts are registered to this account.
Do you wish to have them all updated?[N] (y/N) n
Do you wish to have host [destroyinback.no-ip.org] updated?[N] (y/N) y
Do you wish to have host [rosycorset.no-ip.org] updated?[N] (y/N) n
Please enter an update interval:[30] 2
Do you wish to run something at successful update?[N] (y/N) y
Please enter the script/program name noip

New configuration file ‘/tmp/no-ip2.conf’ created.
mv /tmp/no-ip2.conf /usr/local/etc/no-ip2.conf
root@ilorenzo:/home/ilorenzo/Downloads/noip-2.1.9-1#exit

No comments: