As you may know, Chromium is not available for the ARM architecture, well, at least untill december 2012, actually, I found a post from jan 2013, that it is available from the universe repository, I actually tried but it does not work. So if you have the Samsung ARM Chromebook, the Acer Chromebook or another ARM based ultrabook, here it is the steps to install chromium:
1. from a terminal type:
sudo add-apt-repository ppa:a-v-shkop/chromium
2. the do an update, like this:
sudo apt-get update
3. finally, if you did not get any error message, then type:
sudo apt-get install chromium-browser
that's it, you may try chromium now.
viernes, 22 de marzo de 2013
sábado, 16 de marzo de 2013
solving the unable to resolve localhost.localdomain in chrubuntu
Last black friday I bought a samsung ARM chromebook, it just a great ultrabook, the price, performance, etc, but that's another story. Today I wanna share the way how to get rid off that anoising message everytime you get into a terminal and use some command:
unable to resolve localhost.localdomain
you just need to do this:
1. get into the gnome-terminal
2. type: nano /etc/hosts
3. add this line: 127.0.0.1 localhost localhost.domain
4. save the file and close it
5. close the current terminal window and open another one, then you can try some command, for example apt-get update and you'll notice that the message does not show anymore.
that's it.
unable to resolve localhost.localdomain
you just need to do this:
1. get into the gnome-terminal
2. type: nano /etc/hosts
3. add this line: 127.0.0.1 localhost localhost.domain
4. save the file and close it
5. close the current terminal window and open another one, then you can try some command, for example apt-get update and you'll notice that the message does not show anymore.
that's it.
display line numbers in nano
Nano is one of the best command line editor, in fact, is my first choice, but one feature that does not come turn on is the the display that shows the current line and this is very helpful, because when I'm editing some file, for example my apache.conf, sometimes is necesssary go to a specific line, so here it is the how to:
1. create the appropiate configuration file in your home folder, like this:
nano ~/.nanorc
2. type the next line:
set const
3. save it and close it
ok, that's it, next time you use nano you'll see in the bottom center and message showing you the line numbers and other things.
1. create the appropiate configuration file in your home folder, like this:
nano ~/.nanorc
2. type the next line:
set const
3. save it and close it
ok, that's it, next time you use nano you'll see in the bottom center and message showing you the line numbers and other things.
sábado, 2 de marzo de 2013
Get rid off the "waiting for network configuration" in Ubuntu
Hi, since I've installed Ubuntu 12.04 - like four months ago- if I didn't plug the network cable to my eth0 I had to waiting up to 2 minutes to get the X on; so Today I just decided to get rid off that time waiting, and the answer is very easy, here are the steps:
1. check if in the interfaces file yo get and "auto -device-" like this:
cat /etc/network/interfaces
2. try to looking at something like this: "auto eth0", like in my case.
3. If you get it, the go to:
nano /etc/network/interfaces
4. comment that line with #, then save the file
5. restart and you will see the line "waiting for...." is not anymore.
one more byte; I always have problems with network applet, I've never get int he main bar, so I had used wicd, but since I comment the same line -auto eth0- I've got it in the bar and wicd is not necessary anymore.
so, that's it
cheers
1. check if in the interfaces file yo get and "auto -device-" like this:
cat /etc/network/interfaces
2. try to looking at something like this: "auto eth0", like in my case.
3. If you get it, the go to:
nano /etc/network/interfaces
4. comment that line with #, then save the file
5. restart and you will see the line "waiting for...." is not anymore.
one more byte; I always have problems with network applet, I've never get int he main bar, so I had used wicd, but since I comment the same line -auto eth0- I've got it in the bar and wicd is not necessary anymore.
so, that's it
cheers
domingo, 10 de febrero de 2013
dar permisos a un grupo de usuarios sobre un directorio
esta entrada la tenia pendiente desde hace mucho, el tema es qye hay ciertos directorios que necesito que varios usuarios puedan tener los mismos privilegios, lo mas sencillo es darle esos permisos al grupo, aca van los comandos:
sudo usermod -a -G
sudo chgrp -R /dir/objetivo
sudo chmod -R g+w /dir/objetivo
sudo find /dir/objetivo -type d -exec chmod 2775 {} \;
sudo find /dir/objetivo -type f -exec chmod ug+rw {} \;
las ultimas dos lineas se refieren a heredarle los permisos aplicados a todos los directorios y archivos que
ya residen en /dir/objetivo
saludos
domingo, 27 de enero de 2013
agregar un usuario a un grupo especifico
Algo rapido, para agregar un usuario a un grupo especifico, usamos el comando siguiente:
# usermod -a -G nombregrupo nombreusuario
luego tenes que finalizar sesion y cuando volvas a entrar podes usar este comando para verificar a que grupos pertenece el usuario:
#groups nombreusuario
saludos
# usermod -a -G nombregrupo nombreusuario
luego tenes que finalizar sesion y cuando volvas a entrar podes usar este comando para verificar a que grupos pertenece el usuario:
#groups nombreusuario
saludos
lunes, 21 de enero de 2013
cambiar el propietario a un directorio y archivos de manera recursiva
Este comando es muy util, pues algunas veces necesitamos cambiarle el propietario a varios directorios y archivos que residen en diferentes subniveles, en realidad no es un comando, es un parametro del comando chown, supongamos que tenemos una estructura como esta:
principal -> datos -> publicar->miarchivo.odt
para cambiar el propietario a todo el contenido del directorio principal usamos la siguiente linea:
chown -R miusuario:miusuario /principal
saludos y bendiciones
principal -> datos -> publicar->miarchivo.odt
para cambiar el propietario a todo el contenido del directorio principal usamos la siguiente linea:
chown -R miusuario:miusuario /principal
saludos y bendiciones
Suscribirse a:
Entradas (Atom)