Ubuntu dapper es
From
Guía No-Oficial Ubuntu 6.06 (Dapper Drake) para Principiantes
Esta guía http://ubuntuguide.org/ fue iniciada por Chua Wen Kiat (Kuala Lumpur, Malasia). Ahora está siendo mantenida por el Linux Center de la Univerisdad de Latvia, y todos los que quieran contribuir.
Contribuidores: orvils, Cargo, Quash, Byte, krampo, Simos, stubby, Manicka, eljaco, Mdelatorre ...
Desafortunadamente, debido a wiki-vandalism, sólo usuarios registrados pueden editar esta wiki, y sólo usuarios registrados pueden crearle una cuenta. Si desea unirse y ayudar, hágamelo saber [ orvils _at_ gmail _dot_ com ]. No olvide mencionar qué nombre de usuario desea.
Versiones Anteriores: Ubuntu 5.10 (Breezy Badger)
| Traducciones: | Português • Português do Brasil • Bulgarian • বাংলা (Bengali) • 䏿 • Äesky • English • Filipino • Français • German • Italiano • Nederlands • Norsk • Suomi • Polski• LietuviÅ¡kai• Español • RomânÄ • Indonesian • Türkçe • Ð ÑÑÑкий • Persian • æ¥æ¬èª (翻訳ä¸) | edit |
Notas Generales
- Esta es una guía No-oficial de Ubuntu 6.06 (Dapper Drake) para principiantes. No esta asociada con Ubuntu ni con Canonical Ltd.
- La guía ha sido probada en una instalación completa de Ubuntu 6.06 x86 Install CD (Dapper Drake)
- Si ve una caja azulada, significa que tiene que ejecutar los comandos desde un Terminal (Aplicaciones -> Accesorios -> Terminal) o usar el contenido de esa caja como lo mencionan en las instrucciones.
- Para reducir errores de tipeo, copie y pegue los comandos en la Terminal (click con el boton derecho->"Copiar" o "Pegar". Tambien puede usar Ctrl+C para copiar y Shift+Insert para pegar)
- El comando "sudo" significa "superuser do" (= "superusuario haz"). El comando "sudo" le va a pedir una clave; escriba la clave de su usuario.
- Si desea saber más informacion sobre un comando, simplemente utilice el manual de ayuda usando el comando "man". Por ejemplo, "man sudo" muestra el manual del comando "sudo".
- Si se cansa de tipear "apt-get" todo el tiempo, lea #How to apt-get the easy way (Synaptic)
- Los comandos "apt-get" y "wget" necesitan una conexión de Internet para instalar/actualizar/descargar programas.
- Para descargar un archivo, presione el boton derecho del mouse sobre link y seleccione "Save Link As..."; asegurese de que el nombre y la extensión del archivo sean correctos.
- Si desea ayudar a traducir Ubuntu o ayudar a Ubuntu en qualquier otra manera, visite: https://launchpad.net/
- Que el el espíritu de la "humanidad para los otros" te acompañe...
- Si esta usando Kubuntu, necesita instalar Gedit
sudo apt-get install gedit
- O, sino, reemplace "gedit" con "kwrite"; por ejemplo, en cambio de escribir
sudo gedit /etc/apt/sources.list
- escriba
sudo kwrite /etc/apt/sources.list
- Si esta usando la version 64-bit remplace "i386" con "amd64"
Comenzando
Qué es Ubuntu
Qué hay de nuevo en Ubuntu 6.06 Dapper Drake
Dónde encontrar screenshots de Ubuntu
- http://shots.osdir.com/slideshows/slideshow.php?release=659&slide=4&title=ubuntu+6.06+screenshots
- http://www.phoronix.com/scan.php?page=article&item=481&num=1
- Videos
Dónde encontrar screenshots de Kubuntu
- http://shots.osdir.com/slideshows/slideshow.php?release=662&slide=4&title=kubuntu+6.06+screenshots
- http://www.phoronix.com/scan.php?page=article&item=320&num=1
- Videos
http://osvids.com/files/page3-108-pop.html
Dónde encontrar una lista de todas los programas/librerias que vienen con Ubuntu
- Resultado de dpkg -l: Aqui
- http://packages.ubuntu.com/dapper
- http://distrowatch.com/table.php?distribution=ubuntu
Dónde descargar Ubuntu
Dónde ordenar CDs de Ubuntu gratis
Dónde encontrar ayuda para Ubuntu
- Lea: Sistema -> Ayuda -> Documentacion del Sistema
- Official Documentation website
- Official User Documentation (wiki)
- Ubuntu Document Storage Facility
- Mailing Lists
- Web Forums
- IRC Channel
Dónde buscar nuevos programas
Dónde buscar nuevos estilos para tu escritorio
Repositorios
Cómo agregar repositorios nuevos
- Lea #Notas Generales
- También puede agregar repositorios nuevos usando el Gestor de paquetes Synaptic. A los usuarios nuevos puede que les resulte más fácil hacerlo de este modo. Si sigue la explicacion del link, no necesita seguir leyendo el resto.
sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup sudo gedit /etc/apt/sources.list
- Remplace todo por lo siguiente:
- Para usar su mirror local puede añadir "cp." delante de archive.ubuntu.com (cp = su código de pais)
- p.ej. deb http://es.archive.ubuntu.com/ubuntu dapper main restricted universe multiverse
## Add comments (##) in front of any line to remove it from being checked. ## Use the following sources.list at your own risk. deb http://archive.ubuntu.com/ubuntu dapper main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu dapper main restricted universe multiverse ## MAJOR BUG FIX UPDATES produced after the final release deb http://archive.ubuntu.com/ubuntu dapper-updates main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu dapper-updates main restricted universe multiverse ## UBUNTU SECURITY UPDATES deb http://security.ubuntu.com/ubuntu dapper-security main restricted universe multiverse deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted universe multiverse ## BACKPORTS REPOSITORY (Unsupported. May contain illegal packages. Use at own risk.) deb http://archive.ubuntu.com/ubuntu dapper-backports main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu dapper-backports main restricted universe multiverse ## PLF REPOSITORY (Unsupported. May contain illegal packages. Use at own risk.) deb http://packages.freecontrib.org/plf dapper free non-free deb-src http://packages.freecontrib.org/plf dapper free non-free ## CANONICAL COMMERCIAL REPOSITORY (Hosted on Canonical servers, not Ubuntu ## servers. RealPlayer10, Opera and more to come.) deb http://archive.canonical.com/ubuntu dapper-commercial main
- Guarde el archivo
sudo apt-get update
- También puede crear su propia sources.list: http://www.ubuntulinux.nl/source-o-matic
- También puede substituir su sources.list con esta muy completa lista: sources.list (asegúrese de reemplazar "it" de "it.archive.ubuntu.com" con el código de su país) Utilícela por su cuenta y riesgo.
- Modifique el sources.list por defecto sólo si sabe lo que está haciendo. Mezclar repositorios puede provocar errores
Actualizaciones de Ubuntu
Cómo actualizar Ubuntu manualmente
sudo apt-get update sudo apt-get upgrade
Aplicaciones
Cómo utilizar Easy Ubuntu
- Lea #Notas Generales
- Easy Ubuntu es una pequeña y simple utilidad utilidad que permite a los usuarios novatos instalar fácilmente una amplia variedad de contenido como codecs multimedia, fuentes, Macromedia Flash y Sun Java.
wget http://easyubuntu.freecontrib.org/files/easyubuntu-3.022.tar.gz tar -zxf easyubuntu-3.022.tar.gz cd easyubuntu sudo python easyubuntu.in
- Desde la ventana de Easy Ubuntu, marque las cajas apropiadas para descargar e instalar contenido a Ubuntu.
- Nota: Los usuarios de la versión previa EasyUbuntu 3.0 pueden experimentar problemas en la instalación de Flash y Java.
Cómo instalar Java
apt-get install java-package
- Descargar jdk-1_5_0_11-linux-i586.bin del sitio java.sun.com https://sdlc6c.sun.com/ECom/EComActionServlet/DownloadPage:~:com.sun.sunit.sdlc.content.DownloadPageInfo;jsessionid=02475F23EC8EE136D75194D706E5D913;jsessionid=02475F23EC8EE136D75194D706E5D913
- El siguiente paso java indica no realizarlo como root por la posibilidad de dañar el /etc, como alternativa segura se señala realizarlo de la siguiente manera:
fakeroot make-jpkg jdk-1_5_0_11-linux-i586.bin
- luego se desempaka el archivo debian que queda en el directorio, de la siguiente manera:
dpkg -i sun-j2sdk1.5_1.5.0_i386.deb
- termiando el proceso con los pasos siguientes:
apt-get install sun-j2sdk1.5debian
update-alternatives --config java
Cómo instalar Automatix en Ubuntu, Kubuntu, y Xubuntu
- Lea #Notas Generales
- Automatix es una interfaz gráfica para automatizar la instalación de las aplicaciones requeridas más comunmente en Ubuntu/Kubuntu/Xubuntu linux.
- Nota: Antes de la instalación, por favor tenga presente que ciertos codecs están prohibidos en ciertos países. Usted es responsable de asegurar que esas leyes no son violadas.
- utilizando tu editor de texto favorito (kwrite, gedit)
sudo kwrite /etc/apt/sources.list
- Descomente las siguientes líneas
#deb http://archive.ubuntu.com/ubuntu dapper main #deb-src http://archive.ubuntu.com/ubuntu dapper main
- Si usted utiliza Ubuntu o Xubuntu Dapper, añada la siguiente línea al final del archivo.
deb http://www.getautomatix.com/apt dapper main
- Si usted utiliza Kubuntu, añada la siguiente línea al final del archivo.
deb http://www.getautomatix.com/apt kubuntu main
- Guarde el archivo y cierrelo
- Adquiera la GPG key
wget http://www.getautomatix.com/apt/key.gpg.asc gpg --import key.gpg.asc gpg --export --armor 521A9C7C | sudo apt-key add -
- Ejecute los siguientes comandos para instalar Automatix
sudo apt-get update sudo apt-get install zenity sudo apt-get install automatix
- Automatix puede ser iniciado desde la línea de comandos
automatix
- También será añadido al Menú
Menu -> Sistema -> Automatix-Kubuntu
Cómo instalar el Clipboard Daemon para GNOME
- Lea #Notas Generales
wget -c http://easylinux.info/uploads/gnome-clipboard-daemon-1.0.bin.tar.bz2 sudo tar jxvf gnome-clipboard-daemon-1.0.bin.tar.bz2 -C /usr/bin/ sudo chown root:root /usr/bin/gnome-clipboard-daemon sudo chmod 755 /usr/bin/gnome-clipboard-daemon sudo gnome-clipboard-daemon & export EDITOR=gedit && crontab -e
- Agregue esta linea al final del archivo:
@reboot gnome-clipboard-daemon
- Guarde el archivo
Cómo instalar el J2SE Runtime Environment (JRE) y su Plug-in para Mozilla Firefox
sudo apt-get install sun-java5-jre sun-java5-plugin echo 3 | sudo update-alternatives --config java
- Cuando le prugunte, acepte los terminos de la licencia DLJ
Cómo instalar el Plug-in del Flash Player (Macromedia Flash) para Mozilla Firefox
sudo apt-get install flashplugin-nonfree sudo update-flashplugin
- Reinicie el Mozilla Firefox
Cómo instalar el lector PDF (Adobe Reader) y su Plug-in para Mozilla Firefox
sudo apt-get install acroread sudo apt-get install mozilla-acroread sudo apt-get install acroread-plugins
- Lea #Cómo refrescar el panel GNOME
- Applications -> Office -> Adobe Reader
- Reinicie el Mozilla Firefox
Cómo asociar Adobe Reader con archivos en Nautilus
- Lea #Cómo instalar el lector PDF (Adobe Reader) y su Plug-in para Mozilla Firefox
- Abra Nautilus (Sitios -> Escritorio)
- Explore hasta que encuentre un archivo .pdf
- Haga clic derecho en el archivo .pdf, seleccione Propiedades, vaya a la pestaña Abrir con, escoja Adobe Reader.
Ahora cuando haga doble-clic en un arhivo .pdf, será abierto con Adobe Reader.
Cómo imprimir desde Adobe Reader
- Lea #Cómo instalar el lector PDF (Adobe Reader) y su Plug-in para Mozilla Firefox
- Lea #Cómo añadir una impresora
- Aplicaciones -> Oficina -> Adobe Reader
- Archivo -> Imprimir
- En la caja Comando de impresión, añada -d nombredeimpresora. Por ejemplo, si su impresora se llama FS-1010, el Comando de impresión debería ser:
/usr/bin/lp -d FS-1010
Cómo instalar el Download Manager (Downloader for X)
sudo apt-get install d4x
- Lea #Cómo refrescar el panel GNOME
- Applications -> Internet -> Downloader for X
Cómo instalar el Cliente de FTP (gFTP)
sudo apt-get install gftp
- Lea #Cómo refrescar el panel GNOME
- Aplicaciones -> Internet -> gFTP
Cómo instalar el Cliente IRC (XChat)
sudo apt-get install xchat xchat-systray
- Lea #Cómo refrescar el panel GNOME
- Aplicaciones -> Internet -> XChat IRC
Cómo instalar la utilidad para compartir archivos (DC++)
- Lea #Notas Generales
wget -c http://easylinux.info/uploads/linuxdcpp.tar.gz sudo tar zxvf linuxdcpp.tar.gz -C /opt sudo gedit /usr/share/applications/dcpp.desktop
- Agregue las siguientes lineas al archivo:
[Desktop Entry] Encoding=UTF-8 Name=DC++ Exec=/opt/linuxdcpp/ldcpp Terminal=false Type=Application StartupNotify=true Icon=/opt/linuxdcpp/pixmaps/linuxdcpp.svg Categories=Application;Network;
- Guarde el archivo
- Aplicaciones -> Internet -> DC++
Cómo instalar el Cliente de P2P BitTorrent (Azureus)
- Lea #Notas Generales
sudo apt-get install azureus
- Aplicaciones -> Internet -> Azureus
Cómo instalar el Cliente de P2P BitTorrent (Bittornado)
sudo apt-get install bittornado sudo apt-get install bittornado-gui
- Aplicaciones -> Internet -> Bittornado Client
Cómo instalar el Cliente de P2P eMule (aMule)
sudo apt-get install amule
- Lea #Cómo refrescar el panel GNOME
- Aplicaciones -> Internet -> aMule
Cómo instalar el Cliente de P2P Gnutella (FrostWire)
- Lea #Notas Generales
- Lea #Cómo instalar el J2SE Runtime Environment (JRE) y su Plug-in para Mozilla Firefox
wget -c http://www.users.on.net/~stubby/FrostWire-4.10.9-2.i586.deb sudo dpkg -i FrostWire-4.10.9-2.i586.deb
- Aplicaciones -> Internet -> FrostWire
Cómo instalar el Messenger (Skype)
- Lea #Notas Generales
sudo gedit /etc/apt/sources.list
- Agregue las sigiuentes lineas al final del archivo
## Reposteria para Skype deb http://download.skype.com/linux/repos/debian/ stable non-free
- Guarde el archivo
sudo apt-get update sudo apt-get install skype
- Aplicaciones -> Internet -> Skype
Cómo instalar el WinPopup (LinPopUp)
- Lea #Notas Generales
- Lea #Cómo agregar repositorios nuevos
- Read #How to install Samba Server for files/folders sharing service
sudo apt-get install linpopup sudo gedit /usr/share/applications/linpopup.desktop
- Agregue las sigiuentes lineas al archivo
[Desktop Entry] Name=LinPopUp Comment=LinPopUp Exec=linpopup Icon=/usr/share/pixmaps/linpopup.xpm Terminal=false Type=Application Categories=Application;Utility;
- Guarde el archivo
- Lea #Cómo refrescar el panel GNOME
- Aplicaciones -> Accesorios -> LinPopUp
Cómo instalar Codecs Multimedia
Stubby Todos los codecs conocidos, excepto wmv, funcionan
sudo apt-get install gstreamer0.10-ffmpeg sudo apt-get install gstreamer0.10-gl sudo apt-get install gstreamer0.10-plugins-base sudo apt-get install gstreamer0.10-plugins-good sudo apt-get install gstreamer0.10-plugins-bad sudo apt-get install gstreamer0.10-plugins-bad-multiverse sudo apt-get install gstreamer0.10-plugins-ugly sudo apt-get install gstreamer0.10-plugins-ugly-multiverse
Cómo reproducir DVDs
ironss: el plugin de gstreamer para dvd forma parte de los "plugins-bad" (o "ugly"?) y no funciona correctamente. No obstante, Totem funciona sin problemas con el plugin de xine para reproducir DVDs. Tenga en cuenta que no necesita instalar xine-ui ni mplayer como dice la guia
sudo apt-get install libdvdread3 sudo /usr/share/doc/libdvdread3/examples/install-css.sh sudo apt-get install totem-xine
Stubby: el plugin de gstreamer para dvd no esta aun disponible para dapper. siguiendo estas intrucciones no va funcionar correctamente
sudo apt-get install libdvdcss2
Cómo instalar el Reproductor de Multimedia (xine-ui)
- Lea #Notas Generales
- Lea #Cómo agregar repositorios nuevos
- Lea #Cómo instalar Codecs Multimedia
- Lea #Cómo reproducir DVDs
sudo apt-get install xine-ui
- Asocie xine-ui a los archivos de multimedia para que los reproduzca automaticamente
gconftool-2 --type string --set /desktop/gnome/volume_manager/autoplay_dvd_command "xine dvd://" sudo rm -f /usr/share/applnk/Multimedia/xine.desktop sudo ln -fs /usr/share/xine/desktop/xine.desktop /usr/share/applications/ sudo cp /usr/share/applications/defaults.list /usr/share/applications/defaults.list_backup sudo sed -e 's/totem.desktop/xine.desktop/g' /usr/share/applications/defaults.list_backup > /tmp/defaults.list sudo mv /tmp/defaults.list /usr/share/applications/defaults.list
- Lea #Cómo refrescar el panel GNOME
- Lea #How to refresh GNOME desktop
- Aplicaciones -> Sonido y Video -> xine
Cómo instalar el Reproductor de Multimedia (VLC) con plugin para Mozilla Firefox
sudo apt-get install vlc vlc-plugin-* mozilla-plugin-vlc
- Aplicaciones -> Sonido y Video -> VLC Media Player
Cómo instalar el Reproductor de Multimedia (Mplayer) con plug-in para Mozilla Firefox
sudo apt-get install mozilla-mplayer
- Aplicaciones -> Sonido y Video -> MPlayer Movie Player
Cómo instalar el Reproductor de Multimedia (Totem) con plug-in para Mozilla Firefox
- Lea #Notas Generales
- Lea #Cómo agregar repositorios nuevos
- Lea #Cómo instalar Codecs Multimedia
- Lea #Cómo reproducir DVDs
sudo apt-get install totem-gstreamer-firefox-plugin
- Reinicie el Mozilla Firefox
Cómo instalar el Reproductor de Multimedia (XMMS)
sudo apt-get install xmms sudo apt-get install xmms-skins wget -c http://easylinux.info/uploads/xmms-wma_1.0.4-2_i386.deb sudo dpkg -i xmms-wma_1.0.4-2_i386.deb
- Asocie XMMS a los archivos MP3/M3U/WAV para que los reproduzca automáticamente
sudo cp /usr/share/applications/defaults.list /usr/share/applications/defaults.list_backup sudo cp /usr/share/applications/defaults.list /tmp/defaults.list_tmp sudo sed -e 's/audio\/mpeg=.*/audio\/mpeg=XMMS.desktop/g' /tmp/defaults.list_tmp > /tmp/defaults.mp3 sudo sed -e 's/audio\/x-mpegurl=.*/audio\/x-mpegurl=XMMS.desktop/g' /tmp/defaults.mp3 > /tmp/defaults.m3u sudo sed -e 's/audio\/x-wav=.*/audio\/x-wav=XMMS.desktop/g' /tmp/defaults.m3u > /tmp/defaults.list sudo mv /tmp/defaults.list /usr/share/applications/defaults.list sudo rm -f /tmp/defaults.*
- Lea #Cómo refrescar el panel GNOME
- Lea #How to refresh GNOME desktop
- Aplicaciones -> Sonido y Video -> XMMS
Cómo instalar el Reproductor de Multimedia (amaroK)
sudo apt-get install amarok
- Aplicaciones -> Sonido y Video -> amaroK
Cómo instalar el Reproductor de Multimedia (RealPlayer 10)
sudo apt-get install realplay
- Note: 'realplay' instala el RealPlayer 10 desde la reposteria PLF. 'realplayer' instala el RealPlayer 8 desde la reposteria multiverse.
- Lea #Cómo refrescar el panel GNOME
- Aplicaciones -> Sonido y Video -> RealPlayer 10
Cómo instalar el Stream Directory Browser (streamtuner)
sudo apt-get install streamtuner sudo apt-get install streamripper
- Lea #Cómo refrescar el panel GNOME
- Aplicaciones -> Sonido y Video -> streamtuner
Cómo instalar el Organizador de Musica (Cowbell)
sudo apt-get install cowbell
- Aplicaciones -> Sonido y Video -> Cowbell Music Organizer
Cómo instalar el ID3 Tag Editor (EasyTAG)
sudo apt-get install easytag
- Lea #Cómo refrescar el panel GNOME
- Aplicaciones -> Sonido y Video -> EasyTAG
Cómo instalar el Editor de Video (Kino)
sudo apt-get install kino sudo apt-get install kinoplus sudo apt-get install kino-timfx sudo apt-get install kino-dvtitler
- Lea #Cómo refrescar el panel GNOME
- Aplicaciones -> Sonido y Video -> Kino Video Editor
Cómo instalar el Editor de Audio (Audacity)
sudo apt-get install audacity
- Lea #Cómo refrescar el panel GNOME
- Aplicaciones -> Sonido y Video -> Audacity
Cómo instalar el Gestor de Música y Reproducto (Banshee)
sudo apt-get install banshee
Cómo instalar DVD Ripper (dvd::rip)
- Lea #Notas Generales
- Lea #Cómo agregar repositorios nuevos
- Lea #Cómo instalar Codecs Multimedia
- Lea #Cómo reproducir DVDs
- Lea #How to install Multimedia Player (MPlayer) with Plug-in for Mozilla Firefox
- Lea #How to install RAR Archiver (rar)
sudo apt-get install dvdrip sudo apt-get install vcdimager sudo apt-get install cdrdao sudo apt-get install subtitleripper sudo ln -fs /usr/bin/rar /usr/bin/rar-2.80 sudo gedit /usr/share/applications/dvdrip.desktop
- Agregue las sigiuentes lineas al archivo
[Desktop Entry] Name=dvd::rip Comment=dvd::rip Exec=dvdrip Icon=/usr/share/perl5/Video/DVDRip/icon.xpm Terminal=false Type=Application Categories=Application;AudioVideo;
- Guarde el archivo
- Lea #Cómo refrescar el panel GNOME
- Aplicaciones -> Sonido y Video -> dvd::rip
Cómo instalar DVD Ripper (AcidRip)
- Lea #Notas Generales
- Lea #Cómo agregar repositorios nuevos
- Lea #Cómo instalar el Reproductor de Multimedia (Mplayer) con plug-in para Mozilla Firefox
sudo apt-get install acidrip
Nota: AcidRip no reconocerá el DVD si DMA está apagado. Si es así, deshaga el proceso #Cómo acelerar el CD/DVD-ROM.
Cómo instalar el CD Ripper (Goobox)
sudo apt-get install goobox sudo rm -f /usr/share/applications/goobox.desktop sudo gedit /usr/share/applications/goobox.desktop
- Agregue las sigiuentes lineas al archivo
[Desktop Entry] Name=CD Player & Ripper Comment=Play and extract CDs Exec=goobox Icon=goobox.png Terminal=false Type=Application Categories=Application;AudioVideo;
- Guarde el archivo
- Lea #Cómo refrescar el panel GNOME
- Aplicaciones -> Sonido y Video -> CD Player & Ripper
Cómo instalar el Visor de Imagenes (digiKam)
sudo apt-get install digikam
- Aplicaciones -> Graficos -> digikam
Cómo instalar el organizador de imágenes Picasa
- Lea #Notas Generales
sudo gedit /etc/apt/sources.list
- Añada las siguientes líneas al final del archivo
# Repositorio de Google Picasa para Linux deb http://dl.google.com/linux/deb/ stable non-free
- Guarde el archivo editado
sudo apt-get update sudo apt-get install picasa
- Aplicaciones -> Gráficos -> Picasa
Cómo instalar el Editor de Gráficos Vectoriales (Inkscape)
sudo apt-get install inkscape
Cómo instalar el navegador web Opera
sudo apt-get install opera
- Aplicaciones -> Internet -> Opera
- Para que funcione el Java ir a Herramientas -> Preferencias -> Avanzadas -> Contenido -> Marque "Activar Java". Clique el botón "Activar Java...", introduzca "/usr/lib/jvm/java-1.5.0-sun/jre/lib/i386" (para java de sun) en el nuevo diálogo y entonces clique en el botón "Validar Ruta de Java".
Cómo instalar el Cliente de Email (Mozilla Thunderbird)
sudo apt-get install mozilla-thunderbird
- Lea #Cómo refrescar el panel GNOME
- Aplicaciones -> Internet -> Thunderbird Mail Client
Cómo instalar el Newsreader (Pan)
- Lea #Notas Generales
wget -c http://www.users.on.net/~stubby/pan_0.106_i386.deb sudo apt-get install libgmime2.1 sudo dpkg -i pan_0.106_i386.deb
- Lea #Cómo refrescar el panel GNOME
- Aplicaciones -> Internet -> Pan Newsreader
Cómo instalar el RSS/RDF/Atom Newsreader (RSSOwl)
- Lea #Notas Generales
- Lea #Cómo instalar el J2SE Runtime Environment (JRE) y su Plug-in para Mozilla Firefox
wget -c http://easylinux.info/uploads/rssowl_linux_1_1_3_bin.tar.gz sudo tar zxvf rssowl_linux_1_1_3_bin.tar.gz -C /opt/ sudo chown -R root:root /opt/rssowl_linux_1_1_3_bin/ sudo gedit /usr/bin/runRSSOwl.sh
- Agregue las siguientes líneas al archivo
export MOZILLA_FIVE_HOME=/usr/lib/mozilla-firefox
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${MOZILLA_FIVE_HOME}:${LD_LIBRARY_PATH}
cd /opt/rssowl_linux_1_1_3_bin/
./run.sh
- Guarde el archivo
sudo chmod +x /usr/bin/runRSSOwl.sh sudo gedit /usr/share/applications/RSSOwl.desktop
- Agregue las siguientes líneas al archivo
[Desktop Entry] Name=RSSOwl Comment=RSSOwl Exec=runRSSOwl.sh Icon=/opt/rssowl_linux_1_1_3_bin/rssowl.xpm Terminal=false Type=Application Categories=Application;Network;
- Guarde el archivo
- Aplicaciones -> Internet -> RSSOwl
Cómo instalar el Web Authoring System (Nvu)
sudo apt-get install nvu sudo rm -f /usr/share/applications/nvu.desktop sudo gedit /usr/share/applications/nvu.desktop
- Agregue las sigiuentes lineas al archivo
[Desktop Entry] Name=Nvu Comment=Web Development Editor Exec=nvu Icon=nvu.xpm Terminal=false Type=Application Categories=Application;Network;
- Guarde el archivo
- Lea #Cómo refrescar el panel GNOME
- Aplicaciones -> Internet -> Nvu
Cómo instalar el Entorno de Desarrollo Web (quanta plus)
sudo apt-get install quanta
- Aplicaciones -> Programacion -> Quanta Plus
Cómo instalar el Administrador de Projectos (Planner)
sudo apt-get install planner
- Lea #Cómo refrescar el panel GNOME
- Aplicaciones -> Office -> Project Management
Cómo instalar la Aplicación de Contabilidad (GnuCash)
sudo apt-get install gnucash sudo rm -fr /usr/share/gnome/apps/Applications/ sudo gedit /usr/share/applications/GnuCash.desktop
- Agregue las sigiuentes lineas al archivo
[Desktop Entry] Name=GnuCash Comment=GnuCash Personal Finance Exec=gnucash Icon=/usr/share/pixmaps/gnucash/gnucash-icon.png Terminal=false Type=Application Categories=Application;Office;
- Guarde el archivo
- Lea #Cómo refrescar el panel GNOME
- Aplicaciones -> Oficina -> GnuCash
Cómo instalar el Desktop Publishing Application (Scribus)
sudo apt-get install scribus
- Lea #Cómo refrescar el panel GNOME
- Aplicaciones -> Oficina -> Scribus
Cómo instalar el Editor de Diagramas (Dia)
sudo apt-get install dia-gnome
- Lea #Cómo refrescar el panel GNOME
- Aplicaciones -> Graficos -> Dia
Cómo instalar el Compiled HTML Help (CHM) Viewer (xCHM)
sudo apt-get install xchm
- Lea #Cómo refrescar el panel GNOME
- Aplicaciones -> Graficos -> xCHM
Cómo instalar la Aplicación para Grabar(Quemar) CD/DVD (GnomeBaker)
sudo apt-get install gnomebaker
- Lea #Cómo refrescar el panel GNOME
- Aplicaciones -> Accesorios -> GnomeBaker CD/DVD Creator
Cómo instalar la Aplicación para Grabar(Quemar) CD/DVD (K3b)
sudo apt-get install k3b k3b-mp3
- Aplicaciones -> Sonido & Video -> K3b
Cómo instalar el Cliente de Dialup PPP (GNOME PPP)
sudo apt-get install gnome-ppp
- Lea #Cómo refrescar el panel GNOME
- Aplicaciones -> Internet -> GNOME PPP
Cómo instalar el Cliente de Broadband ADSL/PPPoE (RP-PPPoE)
wget -c http://easylinux.info/uploads/rp-pppoe-3.6.tar.gz sudo tar zxvf rp-pppoe-3.6.tar.gz -C /opt/ sudo chown -R root:root /opt/rp-pppoe-3.6/ sudo gedit /usr/share/applications/RP-PPPoE.desktop
- Agregue las sigiuentes lineas al archivo
[Desktop Entry] Name=RP-PPPoE Comment=RP-PPPoE Exec=gksudo /opt/rp-pppoe-3.6/go-gui Icon= Terminal=false Type=Application Categories=Application;Network;
- Guarde el archivo
- Lea #Cómo refrescar el panel GNOME
- Aplicaciones -> Internet -> RP-PPPoE
Cómo instalar el Boot-Up Manager (BUM)
sudo apt-get install bum
- Lea #Cómo refrescar el panel GNOME
- Sistema -> Administracion -> Boot-Up Manager
Cómo instalar el Editor de Particiones (GParted)
sudo apt-get install gparted
- Lea #Cómo refrescar el panel GNOME
- Aplicaciones -> Herramientas del Sistema -> GParted
Cómo instalar el Firewall (Firestarter)
sudo apt-get install firestarter
- Lea #Cómo refrescar el panel GNOME
- Aplicaciones -> Herramientas del Sistema -> Firestarter
Cómo instalar analizador del trafico de la red (Ethereal)
sudo apt-get install ethereal
- Aplicaciones -> Internet -> Ethereal
Cómo instalar el Vulnerability Scanner (Nessus)
sudo apt-get install nessus sudo apt-get install nessusd sudo nessus-adduser sudo ln -fs /etc/init.d/nessusd /etc/rc2.d/S20nessusd sudo /etc/init.d/nessusd start sudo gedit /usr/share/applications/Nessus.desktop
- Agregue las sigiuentes lineas al archivo
[Desktop Entry] Name=Nessus Comment=Nessus Exec=nessus Icon=/usr/share/pixmaps/nessus.xpm Terminal=false Type=Application Categories=Application;System;
- Guarde el archivo
- Lea #Cómo refrescar el panel GNOME
- Aplicaciones -> Herramientas del Sistema -> Nessus
Cómo instalar el RAR Archiver (rar)
sudo apt-get install rar sudo ln -fs /usr/bin/rar /usr/bin/unrar
- Aplicaciones -> Accesorios -> Archive Manager
Cómo instalar Fuentes Extra
sudo apt-get install xfonts-intl-arabic sudo apt-get install xfonts-intl-asian sudo apt-get install xfonts-intl-chinese sudo apt-get install xfonts-intl-chinese-big sudo apt-get install xfonts-intl-european sudo apt-get install xfonts-intl-japanese sudo apt-get install xfonts-intl-japanese-big sudo apt-get install xfonts-intl-phonetic sudo apt-get install gsfonts-x11 sudo apt-get install msttcorefonts sudo fc-cache -f -v
- Guarde el archivo
- Lea #How to restart GNOME without rebooting computer
- Nota: Ubuntu Dapper viene con las fuentes DejaVu (derivadas de la fuente Bitstream Vera) y provee soporte para las lenguas basadas en el Latin, Griego y Cyrillic.
Cómo instalar el Chinese Input Method (SCIM)
Los siguientes archivos son muy antiguos y, después, puede llegar a ser muy difícil volver a la normalidad. Por favor, siga la guia oficial de Ubuntu 6.06 Dapper Drake: https://wiki.ubuntu.com/InputMethods/SCIM/CJK_Chinese_Japanese_Korean_Input_Method_configuration_using_SCIM_in_Ubuntu_6%2e06_Dapper_Drake
Por favor, tenga en cuenta que scim ahora esta instalado por default en Dapper, y el Soporte para Chino, Japanes o Koreano se instala usando Sistema>Administracion>Soporte de idiomas. La wiki explica el método más detalladamente
sudo apt-get install scim sudo apt-get install scim-chinese sudo apt-get install scim-config-socket sudo apt-get install scim-gtk2-immodule sudo apt-get install scim-tables-zh wget -c http://easylinux.info/uploads/fireflysung-1.3.0.tar.gz sudo tar zxvf fireflysung-1.3.0.tar.gz -C /usr/share/fonts/truetype/ sudo chown -R root:root /usr/share/fonts/truetype/fireflysung-1.3.0/ sudo fc-cache -f -v
- Sistema -> Preferencias -> SCIM Input Method Setup
- Para activar SCIM
Presione 'Ctrl + Space'
Cómo instalar el Desktop Applets (gDesklets)
sudo apt-get install gdesklets sudo apt-get install gdesklets-data
- LEa #Cómo refrescar el panel GNOME
- Aplicaciones -> Accesorios -> gDesklets
- Para mas informacion lea: http://gdesklets.org/
Cómo instalar los Compiladores Basicos (build-essential)
sudo apt-get install build-essential
Cómo instalar el Entorno Integrado de Desarrollo (Anjuta)
sudo apt-get install anjuta
- Aplicaciones -> Programacion -> Anjuta IDE
Cómo instalar el Entorno Integrado de Desarrollo para C# (MonoDevelop)
sudo apt-get install mono mono-gmcs mono-gac mono-utils monodevelop
Cómo instalar la herramineta de modelado 3D (Blender 3d)
sudo apt-get install blender
- Aplicaciones -> Graficos -> Blender 3D modeller
Cómo instalar el juego Tuxracer
sudo apt-get install planetpenguin-racer planetpenguin-racer-data planetpenguin-racer-extras
- Aplicaciones -> Juegos -> planetpenguin-racer
Cómo instalar el juego Frozen-Bubble
sudo apt-get install frozen-bubble
- Aplicaciones -> Juegos -> Frozen-Bubble
Cómo instalar el juego Scorched3D
sudo apt-get install scorched3d sudo gedit /usr/share/applications/scorched3d.desktop
- Agregue las sigiuentes lineas al archivo
[Desktop Entry] Name=Scorched 3D Comment=A 3D Remake Of Scorched Earth Exec=scorched3d Icon= Terminal=false Type=Application Categories=Application;Game;ArcadeGame;
- Guarde el archivo
- Lea #Cómo refrescar el panel GNOME
- Aplicaciones -> Juegos -> Scorched 3D
Cómo instalar el Planetario Virtual (Stellarium)
sudo apt-get install stellarium sudo gedit /usr/share/applications/stellarium.desktop
- Agregue las sigiuentes líneas al archivo
[Desktop Entry] Name=Stellarium Comment=Virtual planetarium Exec=stellarium Terminal=false Type=Application Categories=Application;Education;
- Aplicaciones -> Educación -> Stellarium
Cómo instalar Google Toolbar para Firefox
La versión actual de Google Toolbar funciona bien con Firefox 1.5.0.5 en Ubuntu 6.06
Para Firefox, clique el enlace siguiente:
http://www.google.com/tools/firefox/toolbar/FT2/intl/es/
Luego clique en el botón grande de descarga.
Cómo instalar Google Earth
- Lea #Notas Generales
wget -c http://dl.google.com/earth/GE4/GoogleEarthLinux.bin sudo sh GoogleEarthLinux.bin
- Deje /usr/local/google-earth como ruta de instalación
- Después de la instalación clique Exit. Si en lugar de ello escoge ejecutar la aplicación, lea la nota de más abajo.
sudo cp /usr/local/google-earth/googleearth.desktop /usr/share/applications/
- Aplicaciones -> Internet -> Google Earth
- Nota: Si ejecuta Google Earch por primera vez desde el instalador, requerirá privilegios de root para ejecutarse la próxima vez. Para corregir esto:
sudo chmod 777 -R ~/.googleearth
Cómo instalar las aplicaciones del KDE Edutainment
sudo apt-get install kdeedu
- Aplicaciones -> Educacion -> ...
Cómo instalar Internet Explorer + Flash 9
- Lea #Notas Generales
- Lea #Cómo agregar repositorios nuevos
- Lea #Cómo instalar aplicaciones de Windows en Linux (Wine)
Esto instalará una versión wineada de Internet Explorer 6 con Flash 9, y también IE 5.5/5.01 si se quiere.
- Nota: Flash 9 NO estará disponible para otros navegadores que no sean IE.
- Abra un terminal y ejecute esto:
wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-2.0.tar.gz -O - | tar xvzf -
- O, si ese no funciona, use este comando:
wget http://modzer0.cs.uaf.edu/~hardwarehank/files/ies4linux-2.0.tar.gz -O - | tar xvzf -
- Luego, simplemente ejecútelo:
cd ies4linux-2.0 sh ies4linux
No tiene que ejecutarlo como root (sin sudo). Si lo hace, esto hará symlinks globales que está bien si es lo que quiere. Si no, utilizará ~/bin. Lea el README:
less README
Cómo instalar aplicaciones de Windows en Linux (Wine)
Wine no es un emulador (Wine Is Not an Emulator). Wine es una implementación de código abierto de la API de Windows sobre las X y Unix. Piense en Wine como una capa de compatibilidad para programas de Windows que se ejecuten. Wine no requiere Microsoft Windows, ya que es una implementación alternativa completamente libre de la API de Windows consistente en código 100% no-Microsoft. Sin embargo Wine puede utilizar las DLLs nativas de Windows si están disponibles..
En otras palabras, Wine te permite ejecutar aplicaciones de Windows en Linux.
- Primero, añade un repositorio para Wine:
sudo gedit /etc/apt/sources.list
- Añade las siguientes líneas al final de este archivo
# Repositorio para Wine deb http://wine.budgetdedicated.com/apt dapper main deb-src http://wine.budgetdedicated.com/apt dapper main
- Guarda el archivo editado
sudo apt-get update sudo apt-get install wine
- Para más información vea http://www.winehq.com/
Otros entornos de escritorio
Cómo instalar KDE
- Lea #Notas Generales
- Lea #Cómo agregar repositorios nuevos
- Puede ver también algunas Screenshots de KDE
sudo apt-get install kubuntu-desktop
- Nota: Esta instalación requerirá ~400MB de espacio de disco
- Sistema -> Log Out -> Log Out
- Para hacer log in en KDE clic en Sesiones y escoja KDE
Cómo instalar XFCE
- Lea #Notas Generales
- Lea #Cómo agregar repositorios nuevos
- Puede ver también algunas Screenshots de XFCE
sudo apt-get install xubuntu-desktop
- Sistema -> Log Out -> Log Out
- Para hacer log in en XFCE clic en Sesiones y escoja XFCE
Cómo instalar FluxBox
Aquí hay algunas Screenshots. FluxBox es un popular Gestor de Ventanas minimalista.
sudo apt-get install fluxbox
Haga que se ejecute cuando inicie sesión desde GDM
echo "exec startfluxbox" > ~/.xinitrc
Hágale reproducir un sonido agradable al iniciar sesión
sudo apt-get install sox gedit ~/.fluxbox/startup
- Encuentre esta línea:
exec /usr/local/bin/fluxbox
- Ponga esto antes:
play /usr/share/sounds/login.wav > /dev/null 2>&1 &
- Escuche plácidamente.
Eye Candy
Cómo instalar Xgl/Compiz (Nvidia)
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup sudo gedit /etc/X11/xorg.conf
- Encuentre esta sección
Section "Module" Load "i2c" Load "bitmap" ... Load "type1" Load "vbe" EndSection
- Descomente dri y GLcore (si están)
# Load "dri" # Load "GLcore"
- Asegúrese de que el módulo glx está cargado
Load "glx"
- Encuentre esta sección (tus valores pueden variar)
Section "Device" Identifier "NVIDIA Corporation NV34M [GeForce FX Go5200]" Driver "nv" BusID "PCI:1:0:0" EndSection
- Reemplace con las siguientes líneas, dejando el Identificador y el BusID como están
Section "Device" ... Driver "nvidia" ... Option "RenderAccel" "true" Option "AllowGLXWithComposite" "true" EndSection
- Encuentre esta sección
Section "Screen" Identifier "Default Screen" Device "NVIDIA Corporation NV34M [GeForce FX Go5200]" Monitor "Generic Monitor" DefaultDepth 16
- Asegúrese de que DefaultDepth está establecido a 24, si no lo está ya
DefaultDepth 24
- Guarde el archivo editado
- Instale Xgl/Compiz
sudo apt-get install compiz xserver-xgl libgl1-mesa xserver-xorg libglitz-glx1 compiz-gnome sudo cp /etc/gdm/gdm.conf-custom /etc/gdm/gdm.conf-custom-backup sudo gedit /etc/gdm/gdm.conf-custom
- Reemplace todo por las siguientes líneas
# GDM Configuration Customization file. # # This file is the appropriate place for specifying your customizations to the # GDM configuration. If you run gdmsetup, it will automatically edit this # file for you and will cause the daemon and any running GDM GUI programs to # automatically update with the new configuration. Not all configuration # options are supported by gdmsetup, so to modify some values it may be # necessary to modify this file directly by hand. # # To hand-edit this file, simply add or modify the key=value combination in # the appropriate section in the template below. Refer to the comments in the # gdm.conf file for information about each option. Also refer to the reference # documentation. # # If you hand edit a GDM configuration file, you should run the following # command to get the GDM daemon to notice the change. Any running GDM GUI # programs will also be notified to update with the new configuration. # # gdmflexiserver --command="UPDATE_CONFIG <configuration key>" # # For example, the "Enable" key in the "[debug]" section would be specified by # "debug/Enable". # # You can also run gdm-restart or gdm-safe-restart to cause GDM to restart and # re-read the new configuration settings. You can also restart GDM by sending # a HUP or USR1 signal to the daemon. HUP behaves like gdm-restart and causes # any user session started by GDM to exit immediately while USR1 behaves like # gdm-safe-restart and will wait until all users log out before restarting GDM. # # For full reference documentation see the gnome help browser under # GNOME|System category. You can also find the docs in HTML form on # http://www.gnome.org/projects/gdm/ # # NOTE: Lines that begin with "#" are considered comments. # # Have fun! [daemon] [security] [xdmcp] [gui] [greeter] [chooser] [debug] [servers]# Override display 1 to use Xgl 0=Xgl [server-Xgl] name=Xgl server command=/usr/bin/Xgl :0 -fullscreen -ac -accel glx:pbuffer -accel xv:fbo flexible=true
- Cree un script que ejecute Xgl/Compiz al arrancar
sudo gedit /usr/bin/thefuture
- Inserte las siguientes líneas en el nuevo archivo. Reemplace .us con los atajos de teclado apropiados para la región. P.ej. .es para España. Si no está seguro, deje .us.
#!/bin/bash gnome-window-decorator & compiz --replace gconf decoration wobbly fade minimize cube rotate zoom scale move resize place switcher & xmodmap /usr/share/xmodmap/xmodmap.us
- Guarde el archivo
sudo chmod 755 /usr/bin/thefuture
- Para ejecutar compiz para esta sesión
thefuture
- Para tener la carga de compiez al arrancar
- Sistema -> Preferencias -> Sesiones
- Programas de inicio -> Añadir
/usr/bin/thefuture
- Clic Ok, luego Cerrar
- Lea #Cómo reiniciar GNOME sin reiniciar el ordenador
- Resolución de problemas
- Si Xgl/Compiz no parece funcionar, o cometiste errores, simplemente reinicie su máquina después de añadir "thefuture" a los programas de arranque
- Si mover ventanas ralentiza el sistema, ejecute gconf-editor desde el terminal. Encuentre apps/compiz/general/screen0/options. Desactive detect_refresh_rate y establezca la tasa de refresco a 60. Todo debería funcionar bien ahora...
- Si está usando una distribución de teclado teclado no habitual (other idioma), puede que tenga que volver a dejarla como usted necesita si el teclado se comporta erróneamente en Sistema/Configuración/Teclado.
- Puede establecer la super-tecla al botón windows aquí.
- Si no quiere "panel expandido inferior", escriba "killall gnome-panel" en un terminal.
- Consejos
- Cambiar entre ventanas = Alt + Tab
- Ordenar y ver todas las ventanas = F12 enciende o apaga; clicar una ventana la ampliará al frente
- Cambiar entre escritorios en cubo = Ctrl + Alt + Fecha Izquierda/Derecha
- Cambiar entre escritorios en cubo - con seguimiento activo de ventana = Ctrl + Shift + Alt + Flecha Izquierda/Derecha
- Rotar el cubo manualmente = Ctrl + Alt + clic-izquierdo
- Hacer la ventana translúcida/opaca = actualmente sólo posible con la utilidad "transset"
- Ampliar una vez = Super-tecla clic-derecho
- Ampliar manualmente = Super-tecla + subir rueda del ratón
- Reducir manualmente = Super-tecla + bajar rueda del ratón
- Mover ventana = Alt + clic-izquierdo
- Detener el movimiento de la ventana (la clavará en los bordes) = Ctrl + Alt + clic-izquierdo
- Redimensionar la ventana = Alt + clic-derecho
Cómo instalar Xgl/Compiz (ATI)
- Lea #Notas Generales
- Lea #Cómo instalar el Controlador Gráfico (ATI)
- Vea http://wiki.cchtml.com/index.php/Xgl-Compiz-Dapper
Cómo instalar una pantalla de bienvenida alternativa
- Lea #Notas Generales
- Esto instala una pantalla de bienvenida minimalista que aparece cuando el ordenador está arrancando y apagando. Está desprovista de cualquier mensaje de texto.
wget -c http://www.users.on.net/~stubby/usplash-minimalistic_0.1.deb sudo dpkg -i usplash-minimalistic_0.1.deb sudo update-alternatives --config usplash-artwork.so
- Seleccione la alternativa minimalista (/usr/local/lib/usplash/minimalastic.so) introduciendo el número correspondiente. Si alguna vez quiere volver a la pantalla original, seleccione el valor por defecto (/usr/lib/usplash/usplash-default.so)
- Reinicie su ordenador para ver los cambios
- Vea el USplash Customization HOWTO oficial para más personalización.
Aplicaciones Comerciales
Cómo instalar Windows 9X/ME/2000/XP (Win4Lin)
Cómo instalar aplicaciones de Windows (CrossOver Office)
Cómo instalar juegos de Windows (Cedega)
Administración de Usuarios
Cómo fijar/cambiar/habilitar el password del usuario root
- Lea #Notas Generales
sudo passwd root
Cómo deshabilitar la cuenta del usuario root
- Lea #Notas Generales
sudo passwd -l root
Cómo permitir al usuario root logearse a GNOME
- Lea #Notas Generales
- Lea #Cómo fijar/cambiar/habilitar el password del usuario root
- System -> Administration -> Login Screen Setup
- Login Screen Setup
Security Tab -> Security -> Allow root to login with GDM (Checked)
Cómo cambiar al usuario root en modo Consola
- Lea #Notas Generales
sudo -s -H Password: <especificar password de usuario>
Cómo añadir/editar/borrar usuarios en el sistema
- Lea #Notas Generales
- System -> Administration -> Users and Groups
- Users and Groups
Users Tab -> Add User.../Properties/Delete
- ó también
sudo useradd jim sudo userdel jim
- Para más información leer
man usermod
Cómo añadir/editar/borrar grupos en el sistema
- Lea #Notas Generales
- System -> Administration -> Users and Groups
- Users and Groups
Groups Tab -> Add Group.../Properties/Delete
Cómo logearse automáticamente a GNOME (no seguro)
- Lea #Notas Generales
- System -> Administration -> Login Screen Setup
- Login Screen Setup
General Tab -> Automatic Login -> Login a user automatically on first bootup (Checked) Automatic login username: Select "system_username"
NOT General Tab anymore should be security,not sure because I am not using a English Version-----firingstone
Cómo permitir más sudoers
- Lea #Notas Generales
export EDITOR=gedit && sudo visudo
- Agregue la siguiente línea al final del archivo
system_username ALL=(ALL) ALL
- Salve el archivo editado
Cómo utilizar "sudo" sin preguntar por el password (no seguro)
- Lea #Notas Generales
export EDITOR=gedit && sudo visudo
- Encuentre esta línea
... system_username ALL=(ALL) ALL ...
- Reemplacela con la siguiente líneaReplace with the following line
system_username ALL=(ALL) NOPASSWD: ALL
- Salve el archivo editado
Cómo destruir explicitamente la sesión "sudo"
- Lea #Notas Generales
sudo -K
Cómo cambiar los permisos de archivos/folders
- Lea #Notas Generales
Click derecho en archivos/folders -> Properties
Permissions Tab -> Read/Write/Execute (Checked the permissions for Owner/Group/Others)
Cómo cambiar la propiedad de archivos/folders
- Lea #Notas Generales
sudo chown system_username /ubicación_de_archivos_folders
Cómo cambiar el propietario del grupo de archivos/folders
- Lea #Notas Generales
sudo chgrp nombre_grupo /ubicación_de_archivos_o_folders
Hardware
Configurar Ubuntu para ratón multi-botón
Activar los botones laterales del ratón en Firefox
Añadir dos líneas a xorg.conf activará los botones laterales del ratón en Firefox. Esto debería funcionar con la mayoría de los ratones de 5 botones. Aquí hay una lista de los ratones que han funcionado con estas instrucciones.
- Logitech MX510
- Logitech MX518
Haga una copia de seguridad del archivo de configuración de GNOME
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak
Modifique el archivo de configuración de GNOME
sudo gedit /etc/X11/xorg.conf
Encuentre la sección Input Device para su ratón y añada dos líneas como se muestra abajo. Puede también incrementar el número de botones si su ratón tiene más de 7; basta con corregir el resto de la sección basándose en el número de botones (recuerde que atrás/adelante, clic de rueda e inclinación izquierda/derecha cuentan todos como botones)
Cambie:
Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" ... Option "Protocol" "ExplorerPS/2" ... Option "Emulate3Buttons" "true" EndSection
a:
Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" ... Option "Protocol" "ExplorerPS/2" ... Option "Emulate3Buttons" "true" Option "Buttons" "7" Option "ButtonMapping" "1 2 3 6 7" EndSection
En este punto puede reiniciar su ordenador o reiniciar GNOME (Ctrl + Alt + Retroceso) para ver si sus botones atrás/adelante funcionan en Firefox. Seguirán sin funcionar en Nautilus hasta que instale el demonio imwheel.
Instalar y configurar IMWheel
- Instalar IMWheel
sudo apt-get install imwheel
- Modifique el archivo de configuración de IMWheel
sudo gedit /etc/X11/imwheel/imwheelrc
- Inserte lo siguiente al final del archivo existente
".*" None, Up, Alt_L|Left None, Down, Alt_L|Right "(null)" None, Up, Alt_L|Left None, Down, Alt_L|Right
- Cree el script de inicio de IMWheel
sudo mkdir /home/login sudo gedit /home/login/mouse
- Inserte lo siguiente en este nuevo archivo
#!/bin/sh exec xmodmap -e "pointer = 1 2 3 6 7 4 5" & exec imwheel -k -b "67" & exec $REALSTARTUP
- Conceda a todos los usuarios la ejecución de este nuevo script
sudo chmod +x /home/login/mouse
- Configure este script para que sea ejecutado al inicio
- Seleccione 'Sistema' > 'Preferencias' > 'Sesiones'
- Clique en la pestaña Programas de inicio
- Clique Añadir, entonces introduzca: /home/login/mouse
- Clique Aceptar, luego Cerrar
- Reinicie su ordenador o su entorno GNOME y entonces pruebe sus botones del ratón atrás/adelante en Nautilus
Cómo instalar el Controlador Gráfico (NVIDIA)
sudo apt-get install nvidia-glx nvidia-kernel-common
Como inhabilitar el logo del gráfico de NVIDIA en el arranque de GNOME
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup sudo gedit /etc/X11/xorg.conf
- Encuentre esta sección
... Section "Device" Identifier "NVIDIA Corporation NV11 [GeForce2 MX/MX 400]" Driver "nvidia" BusID "PCI:1:0:0" ...
- Añada la siguiente línea debajo de la seccion que encontró
Option "NoLogo"
- Salve el archivo editado
- Lea #Como reiniciar GNOME sin reiniciar el ordenador
Cómo instalar el Controlador Gráfico (ATI)
- Vea Unofficial ATI Linux driver wiki
- O también Ubuntuforums.org
Cómo monitorizar las temperaturas de la CPU y la GPU, las velocidades de los ventiladores y los voltajes (GKrellM)
GKrellM es un monitor de hardware que puede mostrar las temperaturas de la CPU y la GPU, las velocidades de los ventiladores, los voltajes, la carga de la CPU, la carga de red, la actividad del disco, el uso de memoria física y el uso de memoria intercambio. La instalación es muy sencilla, y la configuración son sólo unos clics de ratón. Puedes configurar alertas para avisarte si la CPU está demasiado caliente o si hay un fallo de ventilador.
sudo apt-get install gkrellm
Ejecute el programa
Aplicaciones -> Herramientas del Sistema -> GKrellM
Para configurar los ajustes,
Clic derecho en GKrellM -> Configuración
Añadir una alerta de sonido (paso opcional): Aquí está cómo reproducir un mensaje de sonido cuando la CPU está demasiado caliente o un ventilador falla. Primero necesitas encontrar o grabar tus propios archivos de sonido de alerta. (Uso Audacity para grabar los míos.) Luego ves a:
Configuración -> Builtins folder (Lado izquierdo) -> Sensores -> Temperatures folder (Lado derecho)-> CPU -> Botón Alertas
Pega UNA de las siguientes líneas en un terminal primero para probar el sonido. Si tienes dos tarjetas de sonido, puedes usar la opción "-ao oss:/dev/dsp1" para dirigir el sonido a la segunda tarjeta. Modifica la ruta del archivo y el nombre para que apunten al archivo correcto. Si puedes oír el sonido, entonces copia esa línea a un campo de texto de línea de comando en la ventana de Alertas de GKrellM's.
mplayer /home/myfolder/alert_messages/heat_alert.mp3 mplayer -ao oss:/dev/dsp1 /home/myfolder/alert_messages/heat_alert.mp3
Cómo identificar el chipset del Modem
- Lea #Notas Generales
- Para instalar el identificador del chipset del Modem
- Lea#How to install Basic Compilers (build-essential)
wget -c http://easylinux.info/uploads/scanModem.gz gunzip -c scanModem.gz > scanModem chmod +x scanModem sudo cp scanModem /usr/bin/
- Para identificar el chipset del Modem
sudo scanModem gedit Modem/ModemData.txt
Cómo instalar controladores del Modem (SmartLink)
uname -r (debe ser 2.6.10-5-386) wget -c http://easylinux.info/uploads/sl-modem-modules-2.6.10-5-386_2.9.9a-1ubuntu2+2.6.10-34_i386.deb sudo dpkg -i sl-modem-modules-*.deb sudo apt-get install sl-modem-daemon
Cómo configurar dispositivos PalmOS
- Lea #Notas Generales
sudo gedit /etc/udev/rules.d/10-custom.rules
- Inserte la siguiente línea en el documento
BUS="usb", SYSFS{product}="Palm Handheld*", KERNEL="ttyUSB*", NAME{ignore_remove}="pilot", MODE="666"
- Guarde el documento editado
- Sistema -> Preferencias -> Dispositivos PalmOS
- Siga las instrucciones en pantalla
- Si no aparece esa opcion en el menú puede activarla desde Aplicaciones -> Accesorios -> Editor de menús Alcarate
Como listar la tabla de particiones
- Lea #Notas Generales
sudo fdisk -l
- También puede usar Sistema -> Administración -> Discos
Cómo mostrar el espacio disponible y usado por el sistema
- Lea #Notas Generales
df -T -h
- También puede usar Sistema -> Administración -> Discos
Cómo listar dispositivos montados
- Lea #Notas Generales
mount
Cómo listar dispositivos PCI
- Lea #Notas Generales
lspci
Cómo listar dispositivos USB
- Lea #Notas Generales
lsusb
Cómo acelerar el CD/DVD-ROM
- Lea #Notas Generales
- ej. Suponiendo que /dev/cdrom sea la ubicacion del CD/DVD-ROM
sudo hdparm -d1 /dev/cdrom sudo cp /etc/hdparm.conf /etc/hdparm.conf_backup sudo gedit /etc/hdparm.conf
- Agregue las siguientes lineas al final del fichero
/dev/cdrom {
dma = on
}
- Guarde el fichero editado
Cómo montar/desmontar el CD/DVD-ROM manualmente, y mostrar todos los archivos/carpetas ocultos y asociados
- Lea #Notas Generales
- ej. Suponiendo que /media/cdrom0/ sea la ubicación del CD/DVD-ROM
- Para montar el CD/DVD-ROM
sudo mount /media/cdrom0/ -o unhide
- Para desmontar el CD/DVD-ROM
sudo umount /media/cdrom0/
Cómo forzar el desmonte del CD/DVD-ROM manualmente
- Lea #Notas Generales
- ej. Suponiendo que /media/cdrom0/ dea la ubicacion del CD/DVD-ROM
sudo umount /media/cdrom0/ -l
Cómo remontar /etc/fstab sin reiniciar
- Lea #Notas Generales
sudo mount -a
Cómo instalar una tableta Wacom
Para una descripción detallada con imágenes sobre como configurar los "Dispositivos de entrada extendios" en sus aplicaciones gráficas, por favor siga la guía oficial de Dapper en https://wiki.ubuntu.com//Wacom
Con la versión del driver de Wacom de Linux (0.7.2) en Ubuntu 6.06 Dapper Drake, dejara de funcionar la tableta cuando la desenchufe y la vuelva a enchufar y tendrá que reiniciar X. Por esta razon, es mejor dejar la tableta enchufada. Esta limitación se eliminará cuando la versión 0.7.4 sea incluida en Ubuntu.
- Lea #Notas Generales
- 1. Usando el Gestor de paquetes Synaptic, compruebe que los paquetes xserver-xorg-input-wacom y wacom-tools esten instalados - si no, instalelos. Si prefiere usar la linea de comando puede ejecutar lo siguiente:
sudo apt-get install xserver-xorg-input-wacom wacom-tools
- 2. Guarde una copia de su /etc/X11/xorg.conf :
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
- luego edite con la línea de comando :
sudo gedit /etc/X11/xorg.conf
- y cambie todas las ocurrencias de /dev/wacom a /dev/input/wacom (created by wacom-tools udev scripts), luego guarde el archivo.
- Debería estar todo listo una vez haya reiniciado X. Recuerde configurar los "Dispositivos de entrada extendidos" en su aplicación gráfica (Gimp, Inkscape), no obstante puede comprobar directamente si está funcionando moviendo su lápiz sobre la tableta, debería moverse el cursor del ratón.
Grabación de CD/DVD
Cómo borrar CD-RW/DVD-RW
- Lea #Notas Generales
- p.ej. Asumiendo que /dev/cdrom es la ubicación del CD/DVD-ROM
sudo umount /dev/cdrom cdrecord dev=/dev/cdrom blank=fast
Cómo grabar archivos/carpetas en un CD/DVD
- Lea #Notas Generales
nautilus burn:///
- Navegador de archivos: Creador CD/DVD
- Arrastrar archivos/carpetas a la ventana
Menú Archivo -> Grabar en el disco... -> Grabar
Cómo grabar archivos de imagen (ISO) en un CD/DVD
- Lea #Notas Generales
Clic derecho en Archivo de imagen (ISO) -> Grabar en el disco... -> Grabar
Cómo duplicar CD/DVD
- Lea #Notas Generales
- Lea #Cómo crear archivos de imagen (ISO) a partir de CD/DVD
- Lea #Cómo grabar archivos de imagen (ISO) en un CD/DVD
Cómo crear archivos de imagen (ISO) a partir de CD/DVD
- Lea #Notas Generales
- p.ej. Asumiendo que /dev/cdrom es la ubicación del CD/DVD-ROM
sudo umount /dev/cdrom dd if=/dev/cdrom of=file.iso bs=1024
Cómo crear archivos de imagen (ISO) a partir de carpetas
- Lea #Notas Generales
mkisofs -o file.iso /location_of_folder/
Cómo generar archivos MD5 checksum
- Lea #Notas Generales
md5sum file.iso > file.iso.md5
Cómo comprobar el MD5 checksum de archivos
- Lea #Notas Generales
- p.ej. Asumiendo que ese archivo.iso y archivo.iso.md5 están en la misma carpeta
md5sum -c file.iso.md5
Cómo montar/desmontar archivos de imagen (ISO) sin grabar
- Lea #Notas Generales
- Para montar el archivo de imagen (ISO)
sudo mkdir /media/iso sudo modprobe loop sudo mount file.iso /media/iso/ -t iso9660 -o loop
- Para desmontar el archivo de imagen (ISO)
sudo umount /media/iso/
Cómo establecer/cambiar la velocidad de grabación para un grabadora de CD/DVD
- Lea #Notas Generales
- Aplicaciones -> Herramientas de sistema -> Editor de Configuración
- Editor de Configuración
/ -> apps -> nautilus-cd-burner -> default_speed (set/change the burn speed)
Cómo activar burnproof para grabadora de CD/DVD
- Lea #Notas Generales
- Aplicaciones -> Herramientas de Sistema -> Editor de Configuración
- Editor de Configuración
/ -> apps -> nautilus-cd-burner -> burnproof (Checked)
Cómo activar overburn para grabadora de CD/DVD
- Lea #Notas Generales
- Aplicaciones -> Herramientas de Sistema -> Editor de Configuración
- Editor de Configuración
/ -> apps -> nautilus-cd-burner -> overburn (Checked)
Red
Cómo configurar Google Talk
- Vea la respuesta en Centro de Ayuda de Google Talk
Cómo activar/desactivar conexiones de red
- Lea #Notas Generales
- Sistema -> Administración -> Red
- Configuración de la red
Pestaña Conexiones -> Seleccionar "Conexión Ethernet" -> Activar/Desactivar
Cómo configurar conexiones de red
- Lea #Notas Generales
- Sistema -> Administración -> Red
- Configuración de la red
Pestaña Conexiones -> Seleccionar "Conexión Ethernet" -> Propiedades Conexión -> Activar esta conexión (Marcado) Configuración de la conexión -> Configuración: Seleccionar "DHCP/Dirección IP estática"
Pestaña DNS -> Servidores DNS -> Añadir/Borrar
Cómo configurar conexiones dialup (línea conmutada)
- Lea #Notas Generales
- Cómo configurar dialup
sudo pppconfig
- Para conectar dialup
sudo pon provider_name
- Para desconectar dialup
sudo poff
Cómo configurar conexiones de banda ancha
- Lea #Notas Generales
sudo pppoeconf
Cómo cambiar el nombre del ordenador
- Lea #Notas Generales
- Sistema -> Administración -> Red
- Configuración de la red
Pestaña General -> Configuración del host -> Nombre del equipo: Especificar un nombre para el ordenador
- Guarde y cierre todas las aplicaciones abiertas, Reinicie el ordenador
Cómo cambiar las descripciones del ordenador
- Lea #Notas Generales
- Lea #Cómo instalar el Servidor Samba para el servicio de compartición de archivos/carpetas
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup sudo gedit /etc/samba/smb.conf
- Encuentre esta línea
... server string = %h server (Samba, Ubuntu) ...
- Reemplácela por la siguiente línea
server string = new_computer_descriptions
- Guarde el archivo editado
sudo testparm sudo /etc/init.d/samba restart
Cómo cambiar el Dominio/Grupo de trabajo del ordenador
- Lea #Notas Generales
- Lea #Cómo instalar el Servidor Samba para el servicio de compartición de archivos/carpetas
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup sudo gedit /etc/samba/smb.conf
- Encuentre esta línea
... workgroup = MSHOME ...
- Reemplácela por la siguiente línea
workgroup = new_domain_or_workgroup
- Guarde el archivo editado
sudo testparm sudo /etc/init.d/samba restart
Cómo asignar nombre de host a una máquina local con IP dinámica utilizando el servicio gratuito DynDNS
- Lea #Notas Generales
- Lea #Cómo añadir repositorios nuevos
- Registre una DNS dinámica gratuita en http://www.dyndns.com/services/dns/dyndns
sudo apt-get install ipcheck sudo gedit /etc/ppp/ip-up.d/dyndns_update.sh
- Inserte las siguientes líneas en el nuevo archivo
#!/bin/sh USERNAME=minombredeusuario PASSWORD=micontraseña HOSTNAME=minombredehost.dyndns.org cd /root/ if [ -f /root/ipcheck.dat ]; then ipcheck -r checkip.dyndns.org:8245 $USERNAME $PASSWORD $HOSTNAME else ipcheck --makedat -r checkip.dyndns.org:8245 $USERNAME $PASSWORD $HOSTNAME fi
- Guarde el archivo editado
sudo chmod 700 /etc/ppp/ip-up.d/dyndns_update.sh sudo sh /etc/ppp/ip-up.d/dyndns_update.sh
Cómo compartir carpetas fácilmente
- Lea #Notas Generales
- Lea #Cómo instalar el Servidor Samba para el servicio de compartición de archivos/carpetas
Clic derecho en la carpeta -> Compartir carpeta
Carpeta compartida -> Compartir con: Seleccionar "SMB" Propiedades de arch. compartidos -> Nombre: Especifique el nombre para compartirla
Cómo explorar ordenadores de red
- Lea #Notas Generales
- p.ej. Asumiendo que las conexiones de red han sido configuradas correctamente
- Si los ordenadores o las carpetas de red no pudieran ser encontrados, pruebe a acceder a ellas directamente
- Lea #Cómo acceder a carpetas de red sin montaje
- Lugares -> Servidores de red
Cómo acceder a carpetas de red sin montaje
- Lea #Notas Generales
- p.ej. Asumiendo que las conexiones de red han sido configuradas correctamente
- IP de red del ordenador IP: 192.168.0.1
- Nombre de la carpeta compartida: linux
- Pulse 'Alt+F2' (Ejecutar aplicación...) e introduzca:
smb://192.168.0.1/linux
Cómo montar/desmontar carpetas de red manualmente, y permitir a los usuarios leer
- Lea #Notas Generales
- Lea #Cómo instalar el Servidor Samba para el servicio de compartición de archivos/carpetas
- p.ej. Asumiendo que las conexiones de red han sido configuradas correctamente
- IP del ordenador de red: 192.168.0.1
- Nombre de usuario del ordenador de red: minombredeusuario
- Contraseña del ordenador de red: micontraseña
- Nombre de la carpeta compartida: linux
- Carpeta de montaje local: /media/sharename
- Para montar carpeta de red
sudo mkdir /media/sharename sudo mount //192.168.0.1/linux /media/sharename/ -o username=minombredeusuario,password=micontraseña
- Para desmontar carpeta de red
sudo umount /media/sharename/
Cómo montar/desmontar carpetas de red manualmente, y permitir a los usuarios leer/escribir
- Lea #Notas Generales
- Lea #Cómo instalar el Servidor Samba para el servicio de compartición de archivos/carpetas
- p.ej. Asumiendo que las conexiones de red han sido configuradas correctamente
- IP del ordenador de red: 192.168.0.1
- Nombre de usuario del ordenador de red: minombredeusuario
- Contraseña del ordenador de red: micontraseña
- Nombre de la carpeta compartida: linux
- Carpeta de montaje local: /media/sharename
- Para montar carpeta de red
sudo mkdir /media/sharename sudo mount //192.168.0.1/linux /media/sharename/ -o username=minombredeusuario,password=micontraseña,dmask=777,fmask=777
- To desmontar carpeta de red
sudo umount /media/sharename/
Cómo montar carpetas de red en el arranque, y permitir a los usuarios leer
- Lea #Notas Generales
- Lea #Cómo instalar el Servidor Samba para el servicio de compartición de archivos/carpetas
- p.ej. Asumiendo que las conexiones de red han sido configuradas correctamente
- IP del ordenador de red: 192.168.0.1
- Nombre de usuario del ordenador de red: minombredeusuario
- Contraseña del ordenador de red: micontraseña
- Nombre de la carpeta compartida: linux
- Carpeta de montaje local: /media/sharename
sudo mkdir /media/sharename sudo gedit /root/.smbcredentials
- Inserte las siguientes líneas en el archivo nuevo
username=minombredeusuario password=micontraseña
- Guarde el archivo editado
sudo chmod 700 /root/.smbcredentials sudo cp /etc/fstab /etc/fstab_backup sudo gedit /etc/fstab
- Añada la siguiente línea al final del archivo
//192.168.0.1/linux /media/sharename smbfs credentials=/root/.smbcredentials 0 0
- Guarde el archivo editado
- Lea #Cómo remontar /etc/fstab sin reiniciar
Cómo montar las carpetas de red en el arranque, y permitir a los usuarios leer/escribir
- Lea #Notas Generales
- Lea #Cómo instalar el Servidor Samba para el servicio de compartición de archivos/carpetas
- p.ej. Asumiendo que las conexiones de red han sido configuradas correctamente
- IP del ordenador de red: 192.168.0.1
- Nombre de usuario del ordenador de red: minombredeusuario
- Contraseña del ordenador de red: micontraseña
- Nombre de la carpeta compartida: linux
- Carpeta de montaje local: /media/sharename
sudo mkdir /media/sharename sudo gedit /root/.smbcredentials
- Inserte las siguientes líneas en el archivo nuevo
username=minombredeusuario password=micontraseña
- Guarde el archivo editado
sudo chmod 700 /root/.smbcredentials sudo cp /etc/fstab /etc/fstab_backup sudo gedit /etc/fstab
- Añada la siguiente línea al final del archivo
//192.168.0.1/linux /media/sharename smbfs credentials=/root/.smbcredentials,dmask=777,fmask=777 0 0
- Guarde el archivo editado
- Lea #Cómo remontar /etc/fstab sin reiniciar
Cómo hacer funcionar ipw2200 y wpa
Cómo configurar e iniciar túneles PPTP (VPN)
- Lea #Notas Generales
- Utilice estas instrucciones para instalar el Cliente PPTP automáticamente
- O BIEN
- Instale manualmente
wget -c http://linux.edu.lv/uploads/content/pptp.tar.gz tar zxvf pptp.tar.gz sudo sh ./pptp/install
- Para configurar el Cliente PPTP
sudo gedit /usr/share/applications/pptpconfig.desktop
- Reemplace el contenido de este archivo por las siguientes líneas
[Desktop Entry] Name=Cliente PPTP Comment=Configura e inicia túneles PPTP (VPN) Categories=Application;Network Encoding=UTF-8 Exec=gksudo pptpconfig Icon=gnome-remote-desktop.png StartupNotify=true Terminal=false Type=Application
- Las líneas de arriba cambian el archivo por defecto de tres formas: la aplicación es ubicada en la categoría Aplicaciones/Internet, gksudo hará que la aplicación se ejecute como superusuario y ponemos un bonito icono que aparecerá en el menú.
- Inicie el cliente con Aplicaciones -> Internet -> Cliente PPTP
Cómo configurar Ubuntu/Kubuntu con WPA utilizando Network-Manager
Ubuntu Dapper in normalmente puede configurar WPA para funcionar tal cual con las mínimas molestias. Necesitarás instalar network-manager.
Para Ubuntu:
sudo apt-get install network-manager-gnome
Para Kubuntu (instalará knetworkmanager):
sudo apt-get install network-mananger-kde
Logout/Reinicie.
Los usuarios de Ubuntu deberían ahora ver el Applet de NetworkManager en el área de notificación de Gnome. Los usuarios de Kubuntu probablemente tendrán que ejecutar knetworkmanager antes de ver NetworkManager en la barra de sistema.
Si en lugar de ello, obtiene un mensaje como "El applet NetworkManager no pudo encontrar algunos recursos necesarios. No puede continuar", entonces:
sudo gtk-update-icon-cache -f /usr/share/icons/hicolor
Una vez Network-Manager está instalado, clic en el icono de NM en el área de notificación (por defecto está en el extremo superior derecho de Ubuntu/Gnome). Escoge tu red, entonces introduce tu contraseña. Escribe un password para el anillo de claves (keyring o llavero) y ya estás.
Si no ves tu red, clic en "Crear nueva conexión inalámbrica...", escribe tu essid/nombre de red, entonces escoge "WPA Personal" para seguridad wireless.
- Nota: Si instalaste Kubuntu y luego instalaste installed ubuntu-desktop & network-manager-gnome, puede que no seas capaz de usar network-manager en Gnome, si ocurre. En este caso, puede que tengas que utilizar WPA Supplicant y hacer algunas ediciones manuales de los archivos conf para conseguir activar y hacer funcionar WPA.
- Nota: La primera vez que inicies sesión en Gnome/KDE, la aplicación del anillo de claves preguntará por una contraseña. Futuras revisiones de Network-Manager deberían resolver esto.
Escritorio Remoto
Cómo configurar el escritorio remoto (no seguro)
- Lea #Notas Generales
- Atención! Escritorio remoto sólo funcionará si hay una sesión de GNOME iniciada
- Dejar el ordenador con una sesión de GNOME desatendida iniciada no es seguro
- Utilice Use (Sistema -> Salir -> Bloquear la pantalla) y apague el monitor cuando el ordenador se deje desatendido
- Sistema -> Preferencias -> Escritorio remoto
- Preferencias del escritorio remoto
Compartición -> Permitir a otros usuarios ver mi escritorio (Marcado) Permitir a otros usuarios controlar tu escritorio (Marcado)
Seguridad -> Pedir confirmación (Desmarcado) Requerir que el usuario introduzca una contraseña: (Marcado) Contraseña: Especifique la contraseña
Cómo conectarse a un escritorio de Ubuntu remoto
- Lea #Notas Generales
- p.ej. Asumiendo que la máquina de Ubuntu remota tiene configurada el escritorio remoto
- Lea #Cómo configurar el escritorio remoto (no seguro)
- Dirección IP de la máquina de Ubuntu remota: 192.168.0.1
vncviewer -fullscreen 192.168.0.1:0
- Para cerrar vncviewer
Pulse 'F8' -> Cerrar Viewer
Cómo conectarse a un escritorio Ubuntu remoto vía máquina de Windows
- Lea #Notas Generales
- p.ej. Asumiendo que la máquina de Ubuntu remota tiene configurada el escritorio remoto
- Lea #Cómo configurar el escritorio remoto (no seguro)
- Dirección IP de la máquina de Ubuntu remota: 192.168.0.1
- Si tiene un router recuerde abrir el puerto apropiado. El puerto por defecto es el 5900
- Este proceso es llamado port forwarding
- Descargue DotNetVNC: Aquí
- esta es una versión .NET gratuita que requiere el framework .NET disponible en microsoft aquí
- Recuerde que esto es sólo un cliente VNC que he encontrado en Internet; busque cuál es más adecuado para su interés
- Abra el cliente VNC que ha escogido, e inserte la cadena de conexión formateada como esta <IP ORDENADOR LINUX><:NÚMERO ESCRITORIO>|<::PUERTO>
- Por ejemplo utilice: 192.168.1.2:0 o 192.168.1.2::5900 para conectar al escritorio 0. Para conectar al escritorio 1 use 192.168.1.2:1 o 192.168.1.2::5901 y así sucesivamente
Cómo conectarse a un escritorio remoto vía OSX
- Lea #Notas Generales
- p.ej. Asumiendo que la máquina de Ubuntu remota tiene configurada el escritorio remoto
- Lea #Cómo configurar el escritorio remoto (no seguro)
- Dirección IP de la máquina de Ubuntu remota: 192.168.0.1
- Si tiene un router recuerde abrir el puerto apropiado. El puerto por defecto es el 5900
- Este proceso es llamado port forwarding
- Descargue ChickenOfTheVNC: aquí
- Abra ChickenOfTheVNC, e inserte el host (dirección IP de la máquina remota), el display number (0 por defecto, que es el puerto 5900) y el password.
- Por ejemplo use: Host: 192.168.0.1, Display 0, Password: password
Windows
Cómo montar/desmontar particiones de Windows (NTFS) manualmente, y permitir a todos los usuarios sólo lectura
- p.ej. Suponiendo que /dev/hda1 es la ubicación de la partición de Windows (NTFS)
- Carpeta de montaje local: /media/windows
- Para montar la partición de Windows
sudo mkdir /media/windows sudo mount /dev/hda1 /media/windows/ -t ntfs -o nls=utf8,umask=0222
- Para desmontar la partición de Windows
sudo umount /media/windows/
Cómo montar/desmontar particiones de Windows (FAT) manualmente, y permitir a todos los usuarios lectura/escritura
- p.ej. Suponiendo que /dev/hda1 es la ubicación de la partición de Windows (FAT)
- Carpeta de montaje local: /media/windows
- Para montar la partición de Windows
sudo mkdir /media/windows sudo mount /dev/hda1 /media/windows/ -t vfat -o iocharset=utf8,umask=000
- Para desmontar la partición de Windows
sudo umount /media/windows/
Cómo montar particiones de Windows (NTFS) al arrancar, y permitir a todos los usuarios sólo lectura
- p.ej. Suponiendo que /dev/hda1 es la ubicación de la partición de Windows (NTFS)
- Carpeta de montaje local: /media/windows
sudo mkdir /media/windows sudo cp /etc/fstab /etc/fstab_backup gksudo gedit /etc/fstab
- Añada la siguiente línea al final del archivo
/dev/hda1 /media/windows ntfs nls=utf8,umask=0222 0 0
- Guarde el archivo editado
- Lea #Cómo remontar /etc/fstab sin reiniciar
Cómo montar particiones de Windows (FAT) al arrancar, y permitir a todos los usuarios lectura/escritura
- p.ej. Suponiendo que /dev/hda1 es la ubicación de la partición de Windows (FAT)
- Carpeta de montaje local: /media/windows
sudo mkdir /media/windows sudo cp /etc/fstab /etc/fstab_backup gksudo gedit /etc/fstab
- Añada la siguiente línea al final del archivo
/dev/hda1 /media/windows vfat iocharset=utf8,umask=000 0 0
- Guarde el archivo editado
- Lea #Cómo remontar /etc/fstab sin reiniciar
Cómo montar particiones de Windows (NTFS) al arrancar, y permitir a todos los usuarios lectura/escritura
Atención: El soporte de escritura NTFS es todavía experimental. No deberías activarlo en máquinas de producción y/o volúmenes de los que no tengas copias de seguridad. Hazlo por tu cuenta y riesgo!
- Lea #Notas Generales
sudo apt-get install libfuse2 fuse-utils
- Descargue el último paquete ntfsprogs (están en los repositorios Dapper, por lo que son seguros de instalar.)
libntfs8 ntfsprogs libfuse2 fuse-utils
- Instale los paquetes descargados
sudo dpkg -i libfuse2_*.deb fuse-utils_*.deb ntfsprogs_*.deb libntfs8_*.deb
- Añada fuse a la lista de módulos a cargar
echo fuse | sudo tee -a /etc/modules
- Cree un grupo de usuarios para acceder a los discos NTFS
sudo addgroup ntfs
- La salida (del terminal) debería parecerse a esto -recuerda el GID (el número impreso tras el nombre de grupo) ya que puede ser distinto y es necesario más tarde:
- Adding group `ntfs' (1002)...
- Done.
- Cree la carpeta de montaje local y edite el archivo fstab para montar los discos a esta carpeta.
- p.ej. Suponiendo que /dev/hda1 es la ubicación de la partición de Windows (NTFS)
- Carpeta de montaje local: /media/windows
sudo mkdir /media/windows sudo cp /etc/fstab /etc/fstab.bak gksudo gedit /etc/fstab
- Añada la siguiente línea al final del archivo, utilizando el número GID previo. La umask que sigue a este GID permite acceso de escritura sólo para el propietario (root) y el grupo (ntfs), y acceso de lectura a cualquiera.
/dev/hda1 /media/windows ntfs-fuse auto,gid=1002,umask=0002 0 0
- Guarde el archivo editado.
- Añada usuarios al grupo ntfs, donde "username" es el nombre del usuario al que quiere dar acceso de escritura
sudo adduser username ntfs
- Arregle el paquete linux-ntfs de Dapper bug #29865:
sudo rm /sbin/mount.ntfs-fuse && sudo ln /usr/bin/ntfsmount /sbin/mount.ntfs-fuse
- Si reinicia ahora, el disco será escribible para los usuarios seleccionados cuando inicien sesión. Si quiere que los cambios tengan efecto inmediatamente sin reiniciar, ejecute el siguiente comando, ignorando los errores sobre "/" y otros que no hayan sido desmontados. Tendrá que cerrar la sesión de todos sus usuarios para el nuevo grupo para ser reconocido (normalmente salir de su sesión gráfica y volver a entrar lo hará).
sudo modprobe fuse && sudo umount -a && sudo mount -a
- Más resolución de problemas es listado en este hilo howto exhaustivo.
Seguridad
Qué cosas básicas necesito saber sobre seguridad en mi Ubuntu
- Lea #Notas Generales
- Asegúrese de que el disco duro es el primero en la secuencia de arranque de la BIOS
- Para prevenir que intrusos utilicen el CD de Instalación de Linux, que les permitiría conseguir acceso de usuario root
- Para prevenir que intrusos utilicen un Live CD de Linux (p.ej. UBUNTU/KNOPPIX/MEPIS), que les permitiría destruir/explorar/compartir todo el disco duro
- Para prevenir que intrusos instalen otro Sistema Operativo
- Asegúrese de que hay un password para la BIOS
- Para prevenir que intrusos cambien la secuencia de arranque de la BIOS
- Asegúrese de que el ordenador está ubicado en un lugar seguro
- Para prevenir que intrusos saquen el disco duro, que les permitiría destruir/explorar/compartir todo el disco duro desde otro ordenador
- Para prevenir que intrusos saquen la batería de la placa del ordenador, que resetearía el password de la BIOS
- Asegúrese de que los passwords utilizados en el sistema no pueden ser fácilmente adivinados
- Para prevenir que intrusos traspasen el archivo del password utilizando ataques de fuerza bruta (p.ej. con el programa John the Ripper)
- Cree sus passwords con una longitud mínima de 8 caracteres
- Cree sus passwords mezclando caracteres y números, minúsculas y mayúsculas
- No cree sus passwords sólo con una palabra o sólo con una combinación típica de palabras de los diccionarios de los idiomas más usados (inglés, alemán, francés, castellano...)
- Asegúrese de que el control de edición interactiva para el menú GRUB está desactivado
- Para prevenir que intrusos modifiquen los argumentos de arranque del kernel, que les permitiría tener acceso de usuario root
- Lea #Cómo desactivar todo control de edición interactivo para el menú GRUB
- Asegúrese de que el listado histórico está desactivado en el modo consola
- Para prevenir que intrusos vean comandos utilizados previamente
- Lea #Cómo desactivar el listado histórico en el modo consola
- Asegúrese de que Ctrl+Alt+Supr está desactivado en el modo consola
- Para prevenir que los intrusos reinicien el sistema sin permiso en el modo consola
- Lea #Cómo desactivar Ctrl+Alt+Supr para reiniciar el ordenador en modo consola
- Asegúrese de que la opción interactiva está establecida para quitar, copiar y mover achivos/carpetas en modo consola
- Para prevenir borrados/sobreescrituras accidentales de archivos/carpetas
- Lea #Cómo activar el aviso antes del borrado/sobreescritura de archivos/carpetas en modo consola
- Para el uso diario, inicie sesión como usuario normal
- Para prevenir borrados/modificaciones accidentales de archivos/carpeatas del sistema
- Lea #Cómo añadir/editar/borrar usuarios en el sistema
- Desactive la cuenta de usuario root; utilice "sudo" en su lugar
- Para reducir la cantidad de tiempo pasado con privilegios de root, y por tanto el riesgo de ejecutar un comando como root inadvertidamente
- "sudo" proporciona una pista de auditoría más útil (/var/log/auth.log)
- Lea #Cómo deshabilitar la cuenta del usuario root
- Instale un Firewall
- Un firewall no garantiza seguridad pero en muchos entornos es la primera línea de defensa contra ataques por red
- Lea #Cómo instalar el Firewall (Firestarter)
- Realice un test de vulnerabilidad
- Nessus es una gran herramienta diseñada para automatizar el testeo y descubrimiento de problemas de seguridad conocidos
- Lea #Cómo instalar el Vulnerability Scanner (Nessus)
How to disable all interactive editing control for GRUB menu
- Read #General Notes
- Run This:
grub-md5-crypt
Password: Retype password: $1$tumnZ1$xB/shuXs7MlawZXkLiBDV/
- Backup your current configuration file
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup gksudo gedit /boot/grub/menu.lst
- Find this section
... ## password ['--md5'] passwd # If used in the first section of a menu file, disable all interactive editing # control (menu entry editor and command-line) and entries protected by the # command 'lock' # e.g. password topsecret # password --md5 $1$tumnZ1$xB/shuXs7MlawZXkLiBDV/ # password topsecret ...
- Add the following line below it
password --md5 $1$tumnZ1$xB/shuXs7MlawZXkLiBDV/ (encrypted password above)
- Find the section(s) that look like this (note the 'recovery mode' and the word 'single'):
... title Ubuntu, kernel 2.6.10-5-386 (recovery mode) root (hd0,1) kernel /boot/vmlinuz-2.6.10-5-386 root=/dev/hda2 ro single initrd /boot/initrd.img-2.6.10-5-386 savedefault boot ...
- Add lock between the title and root lines:
... title Ubuntu, kernel 2.6.10-5-386 (recovery mode) lock root (hd0,1) ...
- Save the edited file
This will make it so your grub console will require a password to edit the lines, and the recovery modes won't work unless the password is typed. To access the other grub options at the menu, follow the instructions at the bottom of the screen. It will be something like pressing p and typing your password.
How to disable history listing in Console mode
- Read #General Notes
- From Gentoo Wiki:
rm -f .bash_history gedit ~/.bash_profile
- Add the following:
export HISTFILESIZE=4 unset HISTFILE=5 # Change this to a reasonable number of lines to save, I like to save only 100. export HISTSIZE=1 # Ignores duplicate lines next to each other export HISTCONTROL=ignoredups
This will disable Bash history for the user, retaining keystroke history and recall to use while limiting recall history to 100 lines. This will also not record duplicate lines next to each other.
How to disable Ctrl+Alt+Del from restarting computer in Console mode
- Read #General Notes
sudo cp /etc/inittab /etc/inittab_backup gksudo gedit /etc/inittab
- Find this line
... ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now ...
- Replace with the following line
#ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
- Save the edited file
sudo telinit q
How to enable prompt before removal/overwritten of files/folders in Console mode
- Read #General Notes
sudo cp /etc/bash.bashrc /etc/bash.bashrc_backup gksudo gedit /etc/bash.bashrc
- Append the following lines at the end of file
alias rm='rm -i' alias cp='cp -i' alias mv='mv -i'
- Save the edited file
How to setup a LoJack system for your laptop
- Read #General Notes
- Read #How to add extra repositories
- Read #How to assign Hostname to local machine with dynamic IP using free DynDNS service
What: Quote from Wikipedia: "LoJack is an aftermarket vehicle tracking system that allows cars to be tracked by police after being stolen. The manufacturer claims a 90% recovery rate. The name "LoJack" is a play on the word "hijack," meaning the theft of a vehicle through force."
Why: If your laptop is ever stolen and connected to the Internet. You will be able to find out from what IP it connects to the Internet from and contact the authorities.
How:
- Get a free dynamic IP account from one of the many providers. Here we will use DynDNS.
- Install ddclient. In the section #How to assign Hostname to local machine with dynamic IP using free DynDNS service we installed the package ipcheck, here we prefer to use ddclient because it can get the IP from an external source on the Internet instead of getting it from a network adapter.
sudo apt-get install ddclient
- Edit the configuration file /etc/ddclient.conf using you fevorite text editor (emacs, gedit, kedit or even vi)
sudo emacs /etc/ddclient.conf
- Make it look like this:
# Configuration file for ddclient generated by debconf # # /etc/ddclient.conf pid=/var/run/ddclient.pid protocol=dyndns2 use=web server=members.dyndns.org login=YourNameHere password='YourPasswordHere' YourHostNameHere.gotmyip.com
- NOTE:
- * Make sure that you use the web IP detection method.
- * Specify your own user id instead of the place holder YourNameHere.
- * Specify your own password instead of the place holder YourPasswordHere, make sure to surround it with single quotes.
- * The last line should specify the hostname you registered with the dynamic IP service.
- You can now start the ddclient daemon, or wait until your next reboot.
sudo /etc/init.d/ddclient start
- The hostname you registered with your dynamic IP service should be updated. You can test it with the ping command:
ping YourHostNameHere.gotmyip.com
- Even if your laptop has a firewall that prevents pings the hostname should resolve to the IP of the network gateway that your laptop is connected to.
- Now all that is left is for someone to steal your laptop.....
References:
Rescue Mode
How to gain root user access without login
- Read #General Notes
- Easiest method (will not work if GRUB menu password is set)
- Boot-up computer
- If GRUB menu is hidden, press 'Esc' to enter the GRUB menu
- Select
Ubuntu, kernel 2.6.10-5-386 (recovery mode)
- Press 'Enter' to boot
- Other methods
How to modify kernel boot-up arguments, to gain root user access
- Read #General Notes
- Boot-up computer
- If GRUB menu is hidden, press 'Esc' to enter the GRUB menu
- If GRUB password is set, press 'p' to unlock the GRUB menu
- Select
Ubuntu, kernel 2.6.10-5-386
- Press 'e' to edit the commands before booting
- Select
kernel /boot/vmlinuz-2.6.10-5-386 root=/dev/hda2 ro quiet splash
- Press 'e' to edit the selected command in the boot sequence
- Add "rw init=/bin/bash" to the end of the arguments
grub edit> kernel /boot/vmlinuz-2.6.10-5-386 root=/dev/hda2 ro quiet splash rw init=/bin/bash
- Press 'b' to boot
How to use Ubuntu Installation CD, to gain root user access
- Read #General Notes
- Boot-up computer into Ubuntu Installation CD
- At "boot:" prompt, add "rescue" to the argument
boot: rescue
- Follow the instructions on screen
How to change root user/main user password if forgotten
- Read #General Notes
- Read #How to gain root user access without login
- To change root user password
# passwd root
- To change main user password
# passwd system_main_username
How to change GRUB menu password if forgotten
- Read #General Notes
grub
grub> md5crypt Password: ****** (ubuntu) Encrypted: $1$ZWnke0$1fzDBVjUcT1Mpdd4u/T961 (encrypted password) grub> quit
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup sudo gedit /boot/grub/menu.lst
- Find this line
... password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/ ...
- Replace with the following line
password --md5 $1$ZWnke0$1fzDBVjUcT1Mpdd4u/T961 (encrypted password above)
- Save the edited file
How to restore GRUB menu after Windows installation
- e.g. Assumed that /dev/hda is the location of /boot partition
# grub-install /dev/hda
How to add Windows entry into GRUB menu
- Read #General Notes
- Read #How to list partition tables
- e.g. Assumed that /dev/hda1 is the location of Windows partition
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup sudo gedit /boot/grub/menu.lst
- Append the following lines at the end of file
title Microsoft Windows root (hd0,0) savedefault makeactive chainloader +1
- Save the edited file
How to read Linux partitions (ext2, ext3) in Windows machine
- Read #General Notes
- Download Explore2fs: Here
- OR
Tips & Tricks
Cómo reiniciar GNOME sin reiniciar el ordenador
- Lea #Notas Generales
- Salve y cierre todas las aplicaciones abiertas
Presione 'Ctrl + Alt + Backspace'
- o bien
sudo /etc/init.d/gdm restart
How to turn on Num Lock on GNOME startup
sudo apt-get install numlockx sudo cp /etc/X11/gdm/Init/Default /etc/X11/gdm/Init/Default_backup sudo gedit /etc/X11/gdm/Init/Default
- encuentre esta línea
... exit 0
- Agregue las siguientes lineas sobre esta
if [ -x /usr/bin/numlockx ]; then /usr/bin/numlockx on fi
- Guarde el archivo editado
- Lea #Cómo reiniciar GNOME sin reiniciar la computadora
How to run programs on startup when login into GNOME
- Read #General Notes
- System -> Preferences -> Sessions
- Sessions
Startup Programs Tab -> Add/Edit/Delete
How to speed-up your Ubuntu box
- Read the following post: http://ubuntuforums.org/showthread.php?t=189192
How to switch to Console mode in GNOME
- Read #General Notes
- To switch to Console mode
Press 'Ctrl + Alt + F1' (F2 - F6)
- To switch between consles in Console mode
Press 'Alt + F1' (F2 - F6)
- To switch back to GNOME mode
Press 'Alt + F7'
How to disable Ctrl+Alt+Backspace from restarting X in GNOME
- Read #General Notes
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup sudo gedit /etc/X11/xorg.conf
- Append the following lines at the end of file
Section "ServerFlags" Option "DontZap" "yes" EndSection
- Save the edited file
- Read #How to restart GNOME without rebooting computer
How to enable Ctrl+Alt+Del to open System Monitor in GNOME
- Read #General Notes
gconftool-2 -t str --set /apps/metacity/global_keybindings/run_command_9 "<Control><Alt>Delete" gconftool-2 -t str --set /apps/metacity/keybinding_commands/command_9 "gnome-system-monitor"
How to refresh GNOME desktop
- Read #General Notes
killall nautilus
Cómo refrescar el panel GNOME
- Read #General Notes
killall gnome-panel
How to enable autosave in Gedit and disable creation of some_file~ files
- Read #General Notes
- Applications -> System Tools -> Configuration Editor
- Configuration Editor
/ -> apps -> gedit-2 -> preferences -> editor -> save -> create_backup_copy (Unchecked) / -> apps -> gedit-2 -> preferences -> editor -> save -> auto_save (Checked)
How to show all hidden files/folders in Nautilus
- Read #General Notes
- Places -> Home Folder
- To temporary show all hidden files/folders in Nautilus
Press 'Ctrl + H'
- To permanently show all hidden files/folders in Nautilus
Edit Menu -> Preferences
Views Tab -> Default View -> Show hidden and backup files (Checked)
How to browse files/folders as root user in Nautilus
- Read #General Notes
- To install File Browser (Root)
sudo gedit /usr/share/applications/Nautilus-root.desktop
- Insert the following lines into the new file
[Desktop Entry] Name=File Browser (Root) Comment=Browse the filesystem with the file manager Exec=gksudo "nautilus --browser %U" Icon=file-manager Terminal=false Type=Application Categories=Application;System;
- Save the edited file
- Read #Cómo refrescar el panel GNOME
- To browse files/folders as root user in Nautilus
- Applications -> System Tools -> File Browser (Root)
How to show Desktop Icons (Computer, Home, Trash)
Not for dapper---firingstone
- Read #General Notes
- Applications -> System Tools -> Configuration Editor
- Configuration Editor
/ -> apps -> nautilus -> desktop -> computer_icon_visible (Checked) home_icon_visible (Checked) trash_icon_visible (Checked)
How to change default file type "Open with" program
- Read #General Notes
Right click on file -> Properties
Open With Tab -> Add Select "Open with" program
Select "Open with" program (Checked)
How to change preferred email client to Mozilla Thunderbird
- Read #General Notes
- Read #How to install Email Client (Mozilla Thunderbird)
- System -> Preferences -> Preferred Applications
- Preferred Applications
Mail Reader Tab -> Default Mail Reader -> Command: mozilla-thunderbird %s
How to open files as root user via right click
- Read #General Notes
gedit $HOME/.gnome2/nautilus-scripts/Open\ as\ root
- Insert the following lines into the new file
for uri in $NAUTILUS_SCRIPT_SELECTED_URIS; do gksudo "gnome-open $uri" & done
- Save the edited file
chmod +x $HOME/.gnome2/nautilus-scripts/Open\ as\ root
Right click on file -> Scripts -> Open as root
How to disable beep sound in Terminal mode
Not for Dapper---- firingstone
- Read #General Notes
- Applications -> System Tools -> Terminal
- Terminal
Edit Menu -> Current Profile...
General Tab -> General -> Terminal bell (Un-Checked)
How to load Web site faster in Mozilla Firefox
- Read #General Notes
- Applications -> Internet -> Firefox Web Browser
- Mozilla Firefox
Address Bar -> about:config
Filter: -> network.dns.disableIPv6 -> true network.http.pipelining -> true network.http.pipelining.maxrequests -> 8 network.http.proxy.pipelining -> true
- Restart Mozilla Firefox
How to disable beep sound for link find function in Mozilla Firefox
- Read #General Notes
- Applications -> Internet -> Firefox Web Browser
- Mozilla Firefox
Address Bar -> about:config
Filter: -> accessibility.typeaheadfind.enablesound -> false
- Restart Mozilla Firefox
How to apt-get the easy way (Synaptic)
- Read #General Notes
- System -> Administration -> Synaptic Package Manager
- To enable the extra Universe and Multiverse repositories
- Settings -> Repositories
- In the Installation Media tab, click Add. There are three separate repositories; Dapper Drake, Security Updates and Updates. Select each repository and check Officially supported, Restricted copyright, Community maintained (Universe) and Non-free (Multiverse). Ensure you click OK between each repository to save your changes
- You should now see those three repositories under Channels. Make sure Officially supported, Restricted copyright, Community maintained (Universe) and Non-free (Multiverse) appears under each repository
- To add backports and PLF (new versions of many applications. Unsupported. May contain illegal packages. Use at own risk.)
- Settings -> Repositories
- Click on Add and then Custom
- Paste the following four lines into the box and click Add Repository, one line at a time:
deb http://archive.ubuntu.com/ubuntu dapper-backports main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu dapper-backports main restricted universe multiverse
deb http://packages.freecontrib.org/ubuntu/plf breezy free non-free deb-src http://packages.freecontrib.org/ubuntu/plf breezy free non-free
- To refresh the list of known packages (equivalent to apt-get update)
Edit Menu -> Reload Package Information
- To install all possible upgrades (equivalent to apt-get upgrade)
Edit Menu -> Mark All Upgrades... -> Default Upgrade Edit Menu -> Apply Marked Changes
- To search for a package (equivalent to apt-cache search package_name)
Edit Menu -> Search... Specify the package name
- To install the selected package (equivalent to apt-get install package_name)
Select "package_name" Package Menu -> Mark for Installation Edit Menu -> Apply Marked Changes
- To remove installed package (equivalent to apt-get remove package_name)
Select "package_name" Package Menu -> Mark for Removal Edit Menu -> Apply Marked Changes
What packages do the extra repositories provide
- The PLF repository provides
- DVD playback support (libdvdcss2)
- Skype
- Sun Java SDK (Software Development Kit) and JRE (Java Runtime Environment)
- Opera Web browser
- RealPlayer 10
- Win32 binary multimedia codecs
How to install/uninstall .deb files
- Read #General Notes
- To install .deb file
sudo dpkg -i package_file.deb
- To uninstall .deb file
sudo dpkg -r package_name
How to convert .rpm files to .deb files
- Read #General Notes
sudo alien package_file.rpm
How to rename all files in directory at once
- Read #General Notes
- To install "mvb" file name renamer
wget -c http://easylinux.info/uploads/mvb_1.6.tgz sudo tar zxvf mvb_1.6.tgz -C /usr/share/ sudo chown -R root:root /usr/share/mvb_1.6/ sudo ln -fs /usr/share/mvb_1.6/mvb /usr/bin/mvb
- To rename all files in directory at once
mvb NEW_NAME
How to manipulate all image files in directory at once
- Read #General Notes
- To install bash batch image processing script
sudo apt-get install imagemagick wget -c http://easylinux.info/uploads/bbips.0.3.2.sh sudo cp bbips.0.3.2.sh /usr/bin/bbips sudo chmod 755 /usr/bin/bbips
- To manipulate all image files in directory at once
bbips
How to set System-wide Environment Variables
- Read #General Notes
sudo cp /etc/bash.bashrc /etc/bash.bashrc_backup sudo gedit /etc/bash.bashrc
- Append the System-wide Environment Variables at the end of file
- Save the edited file
How to save "man" outputs into files
- Read #General Notes
man command | col -b > file.txt
How to hide GRUB menu on boot-up
- Read #General Notes
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup sudo gedit /boot/grub/menu.lst
- Find this line
... #hiddenmenu ...
- Replace with the following line
hiddenmenu
- Save the edited file
How to change the timeout seconds for GRUB menu on boot-up
- Read #General Notes
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup sudo gedit /boot/grub/menu.lst
- Find this line
... timeout 3 ...
- Replace with the following line
timeout X_seconds
- Save the edited file
How to change default Operating System boot-up for GRUB menu
- Read #General Notes
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup sudo gedit /boot/grub/menu.lst
- Find this line
... default 0 ...
- Replace with the following line
default X_sequence
- Save the edited file
How to display Splash Image for GRUB menu on boot-up
- Read #General Notes
- e.g. Assumed that hd0,1 is the location of Ubuntu boot partition
wget -c http://easylinux.info/uploads/ubuntu.xpm.gz chmod 644 ubuntu.xpm.gz sudo mkdir /boot/grub/images sudo cp ubuntu.xpm.gz /boot/grub/images/ sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup sudo gedit /boot/grub/menu.lst
- Find this section
# menu.lst - See: grub(8), info grub, update-grub(8) # grub-install(8), grub-floppy(8), # grub-md5-crypt, /usr/share/doc/grub # and /usr/share/doc/grub-doc/. ...
- Add the following line below it
splashimage (hd0,1)/boot/grub/images/ubuntu.xpm.gz
- Save the edited file
How to convert Wallpaper to Splash Image for GRUB menu
- Read #General Notes
- e.g. Assumed that wallpaper.png is the Wallpaper to be converted to Splash Image
- splashimage.xpm.gz is the Splash Image for GRUB menu
convert -resize 640x480 -colors 14 wallpaper.png splashimage.xpm && gzip splashimage.xpm
- Read #How to display Splash Image for GRUB menu on boot-up (use splashimage.xpm.gz instead of ubuntu.xpm.gz)
How to temporary skip boot-up services
- Read #General Notes
Press 'Ctrl + C'
How to permanently disable/enable boot-up services
How to clean /tmp/ folder contents on shutdown
- Read #General Notes
sudo cp /etc/init.d/sysklogd /etc/init.d/sysklogd_backup sudo gedit /etc/init.d/sysklogd
- Find this section
... stop) log_begin_msg "Stopping system log daemon..." start-stop-daemon --stop --quiet --oknodo --exec $binpath --pidfile $pidfile log_end_msg $? ...
- Add the following line below it
rm -fr /tmp/* /tmp/.??*
- Save the edited file
How to scroll up and down to view previous outputs in Console mode
- Read #General Notes
- To scroll up to view previously outputs
Press 'Shift + Page Up'
- To scroll down to view previously outputs
Press 'Shift + Page Down'
How to find out which version of Ubuntu I am using
cat /etc/issue
How to set up automatic background change (GNOME)
- Read #General Notes
mkdir ~/.backgrounds cd ~/.backgrounds wget -c http://easylinux.info/uploads/change_background.py chmod +x change_background.py
- To change desktop background every time you reboot your computer
export EDITOR=gedit && crontab -e
- Add the following line at the end of file
@reboot ~/.backgrounds/change_background.py
- For more information about periodic processes see
man 5 crontab
- ~/.backgrounds is hidden directory, see #How to show all hidden files/folders in Nautilus
- Copy images you wish to see on your background to ~/.backgrounds directory
How to set up automatic background change (KDE)
- Read #General Notes
- Go to K-menu -> System Settings -> Desktop -> Background
- Choose Slide Show
- Press Setup...
- Press Add... to add pictures you wish to see as desktop background
- Set 'Change picture after' to desired picture rotation interval.
- Press 'OK'
How to add keyboard layouts for other languages
- Read #General Notes
- Go to System -> Preferences -> Keyboard
- Choose Layouts
- Press Add... to add the secondary keyboard layout. It is simpler to have two layouts; the maximum is currently four for Xorg.
- Choose Layout Options
- Expand option Group Shift/Lock behaviour
- Choose the key combination that enables you to switch between keyboard layouts. The default is by pressing both Alt keys at the same time. A common alternative is to use Alt+Shift.
- Press Close.
See #How to add the Keyboard (Layout) Indicator applet to add the Keyboard Indicator applet.
How to add the Keyboard (Layout) Indicator applet
- Right-click on empty space on the top panel so that you see the pop-up menu.
- Click Add to Panel...
- Choose Keyboard Indicator (it is under the Utilities section, at the end)
The Keyboard Indicator applet appears on the panel. The default language should be USA for U.S. English. You can either right-click on this applet for more options or see above on how to configure.
How to type extended characters
- Read #General Notes
- Read #How to add keyboard layouts for other languages
- Read #How to add the Keyboard (Layout) Indicator applet
- Add the keyboard layout US English International (with dead keys)
- Make US English International (with dead keys) the default keyboard layout.
The key marked ['"] is now a dead key. When you press it, nothing happens. However if you press a consonant immediately afterwards, the consonant appears with an accent.
- ' + a = á
- ' + e = é
- and so on for i-í, o-ó, y-ý, c-ć, z-ź, n-ń, l-ĺ, u-ú, r-ŕ
- " + a = ä
- " + e = ë
- and so on for y-ÿ, u-ü, i-ï, o-ö
Similarly, ` and a consonant generates à, è, ù, ì, ò. Similarly, ~ and a consonant generates ã, ũ, ĩ, õ, ñ.
To type ' and ", press RightAlt+' and RightAlt+" respectively. To type ' and ", you may also press '+<space> and "+<space> respectively.
There are more characters available by keeping RightAlt pressed and typing a character. Therefore,
- RightAlt+q = ä
- RightAlt+w = å
- RightAlt+e = é
- RightAlt+r = ®
- RightAlt+t = þ
- RightAlt+y = ü
- RightAlt+u = ú
- RightAlt+i = í
- RightAlt+o = ó
- RightAlt+p = ö
- RightAlt+[ and ] for « and » respectively.
- RightAlt+a = á
- RightAlt+s = ß
- RightAlt+d = ð
- RightAlt+l = ø
- RightAlt+; = ¶
- RightAlt+: = °
- RightAlt+z = æ
- RightAlt+c = ©
- RightAlt+n = ñ
- RightAlt+m = µ
- RightAlt+, = ç
- RightAlt+/ = ¿
- RightAlt+1 = ¡
- RightAlt+2 = ²
- RightAlt+3 = ³
- RightAlt+4 = ¤
- RightAlt+5 = €
- RightAlt+6 = ¼
- RightAlt+7 = ½
- RightAlt+8 = ¾
- RightAlt+9 = ‘
- RightAlt+0 = ’
- RightAlt+- = ¥
- RightAlt+= = ×
- RightAlt+! = ¹
- RightAlt+@, then o = ő (and Ő).
- RightAlt+#, then a = ā (and Ā). Similarly for ēĒ, ūŪ, īĪ, ōŌ.
- RightAlt+$ = £
- RightAlt+% =
- RightAlt+^ =
- RightAlt+& =
- RightAlt+*, then a = ą (and Ą). Similarly for ęĘ, įĮ.
- RightAlt+(, then a = ă (and Ă)
- RightAlt+(, then g = ğ (and Ğ)
- RightAlt+), then a = å (and Å)
- RightAlt+_ =
- RightAlt++ = ÷
How to set the Compose key to type special characters
- Read #General Notes
- Read #How to add keyboard layouts for other languages
- Read #How to add the Keyboard (Layout) Indicator applet
- Click System, Preferences, Keyboard.
- Under Layout Options, expand on Compose key position.
- Choose Right-Win key is compose, click Close.
Now you can type extended characters using the RightWin key (next to AltGr), according to this keyboard settings file. Specifically, the lines that start with GDK_Multi_key are those that we can use here. The Compose key is actually GDK_Multi_key.
Some examples,
- RightWin + C + = produces €
- RightWin + = + C produces €
- RightWin + C + O produces ©
- RightWin + O + C produces ©
- RightWin + a + ' produces á
- RightWin + a + " produces ä
- RightWin + a + ` produces à
- RightWin + a + ~ produces ã
- RightWin + a + * produces å
- RightWin + a + ^ produces â
- RightWin + a + > produces â
- RightWin + a + , produces ą
- RightWin + e + - produces ē
- RightWin + S + 1 produces ¹
- RightWin + S + 2 produces ²
- RightWin + S + 3 produces ³
Servers
AntiVirus Server
How to install ClamAV AntiVirus Server
- Read #General Notes
- Read #How to add extra repositories
sudo apt-get install clamav
How to manually update virus databases
sudo freshclam
How to manually scan files/folders for viruses
sudo clamscan -r /location_of_files_or_folders
How to automatically scan files/folders for viruses
- e.g. Automatically scan files/folders for viruses at midnight everyday
- * * * * * means minute hour date month year
export EDITOR=gedit && sudo crontab -e
- Append the following line at the end of file
00 00 * * * sudo clamscan -r /location_of_files_or_folders
- Save the edited file
Print Server (cupsd)
- Read #General Notes
- Read #How to add extra repositories
How to install cupsd
- Cupsd should be automatically installed during standart instaltion. Checkout if there is a file "/etc/init.d/cupsys". If you want to manually instal it, do
sudo apt-get install cupsys*
How to add a printer
- In gnome click on "System/Administration/Printing. And choose "Add printer". A "add printer wizard" should start and tell you what to do.
How to print on remote Ubuntu machine from another Ubuntu machine
- Make sure your local printer is well configured.
- Server ip address: 192.168.0.1
- Client ip address: 192.168.0.23
- Server configuration
sudo cp /etc/cups/cupsd.conf /etc/cups/cupsd.conf.backup sudo gedit /etc/cups/cupsd.conf
- find the block
<Location /> ... Allow localhost ... </Location>
- and add the following line into it.
Allow 192.168.0.23
- Restart cups.
sudo /etc/init.d/cupsys restart
- Client configuration
sudo cp /etc/cups/client.conf /etc/cups/client.conf.backup sudo gedit /etc/cups/client.conf
- And add the following line into it.
ServerName 192.168.0.1
- Restart cups.
sudo /etc/init.d/cupsys restart
- Now try "lpq" and you should see something like
vitek@lightfox:~$ lpq HPLJ6P is ready no entries
How to print on remote Ubuntu machine from a Windows machine
- Read #How to install Samba Server for files/folders sharing service
- Read #How to print on remote Ubuntu machine via samba
Servidor Samba
Como instalar el servidor Samba para el servicio de compartir archivos/carpetas
sudo apt-get install samba sudo apt-get install smbfs
Cómo agregar/editar/eliminar usuarios de la red
- Leer #Notas Generales
- Leer #Cómo instalar el Servidor Samba para el servicio de archivos/carpetas compartidas
- Agregar usuario de red
sudo smbpasswd -a system_username sudo gedit /etc/samba/smbusers
- Insertar la siguiente línea en el archivo nuevo
system_username = "network username"
- Guardar el archivo editado
- Editar el usuario de red
sudo smbpasswd -a system_username
- Eliminar el usuario de red
sudo smbpasswd -x system_username
Cómo compartir carpetas con sólo permiso de lectura (Autentificación = Sí )
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup sudo gedit /etc/samba/smb.conf
- Find this line
... ; security = user ...
- Replace with the following lines
security = user username map = /etc/samba/smbusers
- Save the edited file
- Read #How to add/edit/delete network users
sudo testparm sudo /etc/init.d/samba restart
How to share home folders with read/write permissions (Authentication=Yes)
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup sudo gedit /etc/samba/smb.conf
- Find this line
... ; security = user ...
- Replace with the following lines
security = user username map = /etc/samba/smbusers
- Find this section
... # By default, the home directories are exported read-only. Change next # parameter to 'yes' if you want to be able to write to them. writable = no ...
- Replace with the following lines
# By default, the home directories are exported read-only. Change next # parameter to 'yes' if you want to be able to write to them. writable = yes
- Save the edited file
- Read #How to add/edit/delete network users
sudo testparm sudo /etc/init.d/samba restart
How to share group folders with read only permission (Authentication=Yes)
sudo mkdir /home/group sudo chmod 777 /home/group/ sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup sudo gedit /etc/samba/smb.conf
- Find this line
... ; security = user ...
- Replace with the following lines
security = user username map = /etc/samba/smbusers
- Append the following lines at the end of file
[Group] comment = Group Folder path = /home/group public = yes writable = no valid users = system_username1 system_username2 create mask = 0700 directory mask = 0700 force user = nobody force group = nogroup
- Save the edited file
- Read #How to add/edit/delete network users
sudo testparm sudo /etc/init.d/samba restart
How to share group folders with read/write permissions (Authentication=Yes)
sudo mkdir /home/group sudo chmod 777 /home/group/ sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup sudo gedit /etc/samba/smb.conf
- Find this line
... ; security = user ...
- Replace with the following lines
security = user username map = /etc/samba/smbusers
- Append the following lines at the end of file
[Group] comment = Group Folder path = /home/group public = yes writable = yes valid users = system_username1 system_username2 create mask = 0700 directory mask = 0700 force user = nobody force group = nogroup
- Save the edited file
- Read #How to add/edit/delete network users
sudo testparm sudo /etc/init.d/samba restart
How to share public folders with read only permission (Authentication=Yes)
sudo mkdir /home/public sudo chmod 777 /home/public/ sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup sudo gedit /etc/samba/smb.conf
- Find this line
... ; security = user ...
- Replace with the following lines
security = user username map = /etc/samba/smbusers
- Append the following lines at the end of file
[public] comment = Public Folder path = /home/public public = yes writable = no create mask = 0777 directory mask = 0777 force user = nobody force group = nogroup
- Save the edited file
- Read #How to add/edit/delete network users
sudo testparm sudo /etc/init.d/samba restart
How to share public folders with read/write permissions (Authentication=Yes)
sudo mkdir /home/public sudo chmod 777 /home/public/ sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup sudo gedit /etc/samba/smb.conf
- Find this line
... ; security = user ...
- Replace with the following lines
security = user username map = /etc/samba/smbusers
- Append the following lines at the end of file
[public] comment = Public Folder path = /home/public public = yes writable = yes create mask = 0777 directory mask = 0777 force user = nobody force group = nogroup
- Save the edited file
- Read #How to add/edit/delete network users
sudo testparm sudo /etc/init.d/samba restart
How to share public folders with read only permission (Authentication=No)
sudo mkdir /home/public sudo chmod 777 /home/public/ sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup sudo gedit /etc/samba/smb.conf
- Find this line
... ; security = user ...
- Replace with the following line
security = share
- Append the following lines at the end of file
[public] comment = Public Folder path = /home/public public = yes writable = no create mask = 0777 directory mask = 0777 force user = nobody force group = nogroup
- Save the edited file
sudo testparm sudo /etc/init.d/samba restart
How to share public folders with read/write permissions (Authentication=No)
sudo mkdir /home/public sudo chmod 777 /home/public/ sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup sudo gedit /etc/samba/smb.conf
- Find this line
... ; security = user ...
- Replace with the following line
security = share
- Append the following lines at the end of file
[public] comment = Public Folder path = /home/public public = yes writable = yes create mask = 0777 directory mask = 0777 force user = nobody force group = nogroup
- Save the edited file
sudo testparm sudo /etc/init.d/samba restart
How to print on remote Ubuntu machine via samba
- Read #Print Server (cupsd)
- Make sure your Ubuntu printers are configured properly.
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.backup gedit /etc/samba/smb.conf
- Find the following lines
... # printing = cups # printcap name = cups ...
- and uncomment them.
printing = cups printcap name = cups
- Restart cups server
sudo /etc/init.d/cupsys restart
- Now printers working on your Ubuntu machine should be acessible via samba.
SSH Server
How to install SSH Server for remote administration service
- Read #General Notes
- Read #How to add extra repositories
sudo apt-get install ssh
How to SSH into remote Ubuntu machine
- Read #General Notes
- e.g. Assumed that remote Ubuntu machine have installed SSH Server service
- Read #How to install SSH Server for remote administration service
- Remote Ubuntu machine: 192.168.0.1
ssh username@192.168.0.1
How to copy files/folders from remote Ubuntu machine into local machine (scp)
- Read #General Notes
- e.g. Assumed that remote Ubuntu machine have installed SSH Server service
- Read #How to install SSH Server for remote administration service
- Remote Ubuntu machine: 192.168.0.1
- Remote files/folders location: /home/username/remotefile.txt
- Local machine save location: . (current directory)
scp -r username@192.168.0.1:/home/username/remotefile.txt .
How to copy files/folders from local machine into remote Ubuntu machine (scp)
- Read #General Notes
- e.g. Assumed that remote Ubuntu machine have installed SSH Server service
- Read #How to install SSH Server for remote administration service
- Local files/folders location: localfile.txt
- Remote Ubuntu machine: 192.168.0.1
- Remote Ubuntu machine save location: /home/username/
scp -r localfile.txt username@192.168.0.1:/home/username/
How to copy files/folders from remote Ubuntu machine into local machine (rsync)
- Read #General Notes
- e.g. Assumed that remote Ubuntu machine have installed SSH Server service
- Read #How to install SSH Server for remote administration service
- Remote Ubuntu machine: 192.168.0.1
- Remote files/folders location: /home/username/remotefile.txt
- Local machine save location: . (current directory)
rsync -v -u -a --delete --rsh=ssh --stats username@192.168.0.1:/home/username/remotefile.txt .
How to copy files/folders from local machine into remote Ubuntu machine (rsync)
- Read #General Notes
- e.g. Assumed that remote Ubuntu machine have installed SSH Server service
- Read #How to install SSH Server for remote administration service
- Local files/folders location: localfile.txt
- Remote Ubuntu machine: 192.168.0.1
- Remote Ubuntu machine save location: /home/username/
rsync -v -u -a --delete --rsh=ssh --stats localfile.txt username@192.168.0.1:/home/username/
How to mount remote folders into local Ubuntu machine (sshfs)
- Read #General Notes
- e.g. Assumed that remote machine has installed SSH Server service
- Read #How to install SSH Server for remote administration service
- Remote machine: 192.168.0.1
- Remote machine folder location: /media/music
- Install sshfs
sudo apt-get install sshfs
- Load kernel driver for sshfs
sudo modprobe fuse
- For permanent use add 'fuse' at the end of /etc/modules
sudo gedit /etc/modules
- Join the 'fuse' user group
sudo adduser your_user_name fuse
- Create local mountpoint in your home directory
mkdir ~/remote_music
- Mount the remote folder into ~/remote_music
sshfs 192.168.0.1:/meida/music ~/remote_music
How to SSH into remote Ubuntu machine via Windows machine
- Read #General Notes
- e.g. Assumed that remote Ubuntu machine have installed SSH Server service
- Read #How to install SSH Server for remote administration service
- Download PuTTY: Here
How to copy files/folders from/into remote Ubuntu machine via Windows machine
- Read #General Notes
- e.g. Assumed that remote Ubuntu machine have installed SSH Server service
- Read #How to install SSH Server for remote administration service
- Download FileZilla: Here
How to limit the user accounts that can connect through ssh remotely
- Read #General Notes
- e.g. If you enable the SSH server, then any user with a valid account can connect remotely
- This can lead to security risks, as there exist remote password cracking tools that
- try common username/password pairs.
- Keep a backup of the ssh server configuration file with
sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config.ORIGINAL
- Edit the configuration file
sudo gedit /etc/ssh/sshd_config
- Change the parameter PermitRootLogin from yes to no. The superuser must not be able to connect directly from remote.
- Add the parameter AllowUsers and specify the usernames (space separated) that can connect remotely.
- You can also use DenyUsers for fine-grained selection of users.
- If you enable the openssh server and you have no intention for now to enable remote connections, you may add AllowUsers nosuchuserhere to disable anyone connecting.
DHCP Server
How to install DHCP Server for automatic IP addresses assignment
- Read #General Notes
- Read #How to add extra repositories
- e.g. Assumed that "eth0" is the interface for network card
- IP Address Range: 192.168.0.100 to 192.168.0.200
- Subnet Mask: 255.255.255.0
- DNS Servers: 202.188.0.133, 202.188.1.5
- Domains: tm.net.my
- Gateway Address: 192.168.0.1
sudo apt-get install dhcp3-server sudo cp /etc/default/dhcp3-server /etc/default/dhcp3-server_backup sudo gedit /etc/default/dhcp3-server
- Find this line
... INTERFACES=""
- Replace with the following line
INTERFACES="eth0"
- Save the edited file
sudo cp /etc/dhcp3/dhcpd.conf /etc/dhcp3/dhcpd.conf_backup sudo gedit /etc/dhcp3/dhcpd.conf
- Find this section
... # option definitions common to all supported networks... option domain-name "example.org"; option domain-name-servers ns1.example.org, ns2.example.org;
default-lease-time 600; max-lease-time 7200; ...
- Replace with the following lines
# option definitions common to all supported networks... #option domain-name "example.org"; #option domain-name-servers ns1.example.org, ns2.example.org;
#default-lease-time 600; #max-lease-time 7200;
- Find this section
...
# A slightly different configuration for an internal subnet.
#subnet 10.5.5.0 netmask 255.255.255.224 {
# range 10.5.5.26 10.5.5.30;
# option domain-name-servers ns1.internal.example.org;
# option domain-name "internal.example.org";
# option routers 10.5.5.1;
# option broadcast-address 10.5.5.31;
# default-lease-time 600;
# max-lease-time 7200;
#}
...
- Replace with the following lines
# A slightly different configuration for an internal subnet.
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.100 192.168.0.200;
option domain-name-servers 202.188.0.133, 202.188.1.5;
option domain-name "tm.net.my";
option routers 192.168.0.1;
option broadcast-address 192.168.0.255;
default-lease-time 600;
max-lease-time 7200;
}
- Save the edited file
sudo /etc/init.d/dhcp3-server restart
Database Server
How to install MYSQL Database Server
- Read #General Notes
- Read #How to add extra repositories
sudo apt-get install mysql-server mysqladmin -u root password db_user_password
How to install MYSQL Administrator
sudo apt-get install mysql-admin
- Read #Cómo refrescar el panel GNOME
- Applications -> System Tools -> MySQL Administrator
Apache HTTP Server
How to install Apache HTTP Server for HTTP (Web) Server service
- Read #General Notes
- Read #How to add extra repositories
sudo apt-get install apache2
How to install PHP for Apache HTTP Server
- Read #General Notes
- Read #How to add extra repositories
- Read #How to install Apache HTTP Server for HTTP (Web) Server service
sudo apt-get install php4 sudo /etc/init.d/apache2 restart sudo gedit /var/www/testphp.php
- Insert the following line into the new file
<?php phpinfo(); ?>
- Save the edited file
- http://localhost/testphp.php
How to install MYSQL for Apache HTTP Server
- Read #General Notes
- Read #How to add extra repositories
- Read #How to install Apache HTTP Server for HTTP (Web) Server service
- Read #How to install PHP for Apache HTTP Server
- Read #How to install MYSQL Database Server
sudo apt-get install libapache2-mod-auth-mysql sudo apt-get install php4-mysql sudo /etc/init.d/apache2 restart
How to map URLs to folders outside /var/www/
sudo gedit /etc/apache2/conf.d/alias
- Insert the following lines into the new file
Alias /URL-path /location_of_folder/
<Directory /location_of_folder/> Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory>
- Save the edited file
sudo /etc/init.d/apache2 restart
How to change the default port number for Apache HTTP Server
- e.g. Assumed that new port number is 78
sudo cp /etc/apache2/ports.conf /etc/apache2/ports.conf_backup sudo gedit /etc/apache2/ports.conf
- Find this line
Listen 80
- Replace with the following line
Listen 78
- Save the edited file
sudo /etc/init.d/apache2 restart
How to parse RSS into PHP for Apache HTTP Server
- Read #General Notes
- Read #How to install Apache HTTP Server for HTTP (Web) Server service
- Read #How to install PHP for Apache HTTP Server
- e.g. Assumed that RSS is DistroWatch.com - News
wget -c http://easylinux.info/uploads/magpierss-0.71.1.tar.gz sudo mkdir /var/www/feeds sudo tar zxvf magpierss-0.71.1.tar.gz -C /var/www/feeds/ sudo mv /var/www/feeds/magpierss-0.71.1/* /var/www/feeds/ sudo rm -fr /var/www/feeds/magpierss-0.71.1/ sudo chown -R www-data:root /var/www/feeds/ sudo gedit /var/www/feeds/index.php
- Insert the following lines into the new file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>DistroWatch.com - News</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<style type="text/css">
/*<![CDATA[*/
/*
DEFAULT TAG STYLES
*/
body {
background: #ffffff;
margin-left: 20px;
font-family: bitstream vera sans,sans-serif;
font-size: 9pt;
}
h1 {
font-family: luxi sans,sans-serif;
font-size: 15pt;
}
/*]]>*/
</style>
</head>
<body>
<?php
require_once 'rss_fetch.inc';
error_reporting(E_ERROR);
$url = 'http://distrowatch.com/news/dw.xml';
$rss = fetch_rss($url);
if ($rss) {
echo "<h1>";
echo "<a href=$url>", $rss->channel[title], "</a><br/>";
echo "</h1>";
foreach ($rss->items as $item ) {
$url = $item[link];
$title = $item[title];
$description = $item[description];
echo "<li>";
echo "<b>Topic:</b> <a href=$url><b><u>$title</u></b></a><br/><br/>";
echo "$description<br/><br/>";
echo "</li>";
}
}
else {
echo "<a href=$url>", $url, "</a> - Server Down!<br/>";
}
?>
</body>
</html>
- Save the edited file
- http://localhost/feeds/index.php
FTP Server
How to install FTP Server for File Transfer service
- Read #General Notes
- Read #How to add extra repositories
sudo apt-get install proftpd
How to configure FTP user to be "jailed" (chrooted) into their home directory
sudo cp /etc/proftpd.conf /etc/proftpd.conf_backup sudo gedit /etc/proftpd.conf
- Find this section
... DenyFilter \*.*/ ...
- Add the following line below it
DefaultRoot ~
- Save the edited file
sudo /etc/init.d/proftpd restart
How to configure FTP Server to allow anonymous FTP user to read only
sudo cp /etc/proftpd.conf /etc/proftpd.conf_backup sudo gedit /etc/proftpd.conf
- Append the following lines at the end of file
<Anonymous ~ftp> User ftp Group nogroup UserAlias anonymous ftp DirFakeUser on ftp DirFakeGroup on ftp RequireValidShell off MaxClients 10 DisplayLogin welcome.msg DisplayFirstChdir .message <Directory *> <Limit WRITE> DenyAll </Limit> </Directory> </Anonymous>
- Save the edited file
sudo /etc/init.d/proftpd restart
How to configure FTP Server to allow anonymous FTP user to read/write
sudo cp /etc/proftpd.conf /etc/proftpd.conf_backup sudo gedit /etc/proftpd.conf
- Append the following lines at the end of file
<Anonymous ~ftp> User ftp Group nogroup UserAlias anonymous ftp DirFakeUser on ftp DirFakeGroup on ftp RequireValidShell off MaxClients 10 DisplayLogin welcome.msg DisplayFirstChdir .message </Anonymous>
- Save the edited file
sudo /etc/init.d/proftpd restart
How to map anonymous FTP user to folders outside /home/ftp/
sudo cp /etc/proftpd.conf /etc/proftpd.conf_backup sudo gedit /etc/proftpd.conf
- Append the following lines at the end of file
<Anonymous /location_of_folder/> User ftp Group nogroup UserAlias anonymous ftp DirFakeUser on ftp DirFakeGroup on ftp RequireValidShell off MaxClients 10 DisplayLogin welcome.msg DisplayFirstChdir .message <Directory *> <Limit WRITE> DenyAll </Limit> </Directory> </Anonymous>
- Save the edited file
sudo /etc/init.d/proftpd restart
How to change the default port number for FTP Server
- e.g. Assumed that new port number is 77
sudo cp /etc/proftpd.conf /etc/proftpd.conf_backup sudo gedit /etc/proftpd.conf
- Find this line
Port 21
- Replace with the following line
Port 77
- Save the edited file
sudo /etc/init.d/proftpd restart
How to ftp into remote Ubuntu machine via Windows machine
- Read #General Notes
- e.g. Assumed that remote Ubuntu machine have installed FTP Server service
- Read #How to install FTP Server for File Transfer service
- Download FileZilla: Here
Streaming Media Server
How to install GNUMP3d for Streaming Media Server service
- Read #General Notes
- Read #How to add extra repositories
- Read #How to install Apache HTTP Server for HTTP (Web) Server service
- e.g. /var/music/ is the directory containing multimedia files
sudo apt-get install gnump3d
How to change the default directory containing multimedia files for GNUMP3d
- e.g. Assumed that new directory containing multimedia files is /home/music/
sudo cp /etc/gnump3d/gnump3d.conf /etc/gnump3d/gnump3d.conf_backup sudo gedit /etc/gnump3d/gnump3d.conf
- Find this line
root = /var/music
- Replace with the following line
root = /home/music
- Find this line
user = gnump3d
- Replace with the following line
user = root
- Save the edited file
sudo /etc/init.d/gnump3d restart
How to change the default port number for GNUMP3d
- por ej. Asumiendo que el nuevo número de puerto es is 7878
sudo cp /etc/gnump3d/gnump3d.conf /etc/gnump3d/gnump3d.conf_backup sudo gedit /etc/gnump3d/gnump3d.conf
- Encontrar esta línea
port = 8888
- Reemplazarla con la siguiente línea
port = 7878
- Guardar el archivo editado
sudo /etc/init.d/gnump3d restart
Image Gallery Server
How to install Gallery for Image Gallery Server service
- Leer #Notas Generales
- Leer #Cómo agregar repositorios extras
- Leer #Cómo instalar el Servidor HTTP Server Apache para servicio de Servidor de HTTP (Web)
- Leer #Cómo instalar PHP para Servidor HTTP Apache
sudo apt-get install gallery (when prompted to restart Apache, choose No or Cancel) sudo apt-get install imagemagick sudo apt-get install jhead sudo apt-get install libjpeg-progs sudo /etc/init.d/apache2 restart sudo sh /usr/share/gallery/configure.sh
- http://localhost/gallery/setup/index.php
- Gallery Configuration
Gallery Configuration Wizard: Step 1 Next Step ->
Gallery Configuration Wizard: Step 2 General settings Tab -> Admin password: Specify the password Locations and URLs Tab -> Album directory: /var/www/albums/ Temporary directory: /tmp/ Gallery URL: http://localhost/gallery Albums URL: http://localhost/albums Next Step -->
Gallery Configuration Wizard: Step 3 Next Step -->
Gallery Configuration Wizard: Step 4 Save Config ->
How to configure Gallery to be accessible via Internet (Hostname or fix IP) or LAN (fix IP)
- e.g. Assumed that network and internet connections have been configured properly
- Internet (Hostname or fix IP) or LAN (fix IP): http://www.url.com
sudo cp /etc/gallery/config.php /etc/gallery/config.php_backup sudo gedit /etc/gallery/config.php
- Find this section
... $gallery->app->photoAlbumURL = "http://localhost/gallery"; $gallery->app->albumDirURL = "http://localhost/albums"; ...
- Replace with the following lines
$gallery->app->photoAlbumURL = "http://www.url.com/gallery"; $gallery->app->albumDirURL = "http://www.url.com/albums";
- Save the edited file
- http://www.url.com/gallery/albums.php
How to configure Gallery to be accessible via LAN (dynamic IP)
- e.g. Assumed that network connections have been configured properly
- LAN (dynamic IP): 192.168.0.1
sudo cp /etc/gallery/config.php /etc/gallery/config.php_backup sudo gedit /etc/gallery/config.php
- Find this section
... $gallery->app->photoAlbumURL = "http://localhost/gallery"; $gallery->app->albumDirURL = "http://localhost/albums"; ...
- Replace with the following lines
$gallery->app->photoAlbumURL = "/gallery"; $gallery->app->albumDirURL = "/albums";
- Save the edited file
- http://192.168.0.1/gallery/albums.php
How to backup/restore Gallery data
- Read #General Notes
- To backup Gallery data
sudo tar zcvf gallery.tgz /var/www/albums/ /etc/gallery/
- To restore Gallery data
sudo tar zxvf gallery.tgz -C /
Resolución de problemas
Configuración de las tarjetas de red
Sincronizando el reloj a ntp.ubuntulinux.org
- Lea #Notas Generales
- Read #How to temporary skip boot-up services
- Read #How to permanently disable/enable boot-up services
service_name = ntpdate
Cómo evitar que la hora/fecha del sistema sean reseteados a UTC (GMT)
- Lea #Notas Generales
sudo cp /etc/default/rcS /etc/default/rcS_backup sudo gedit /etc/default/rcS
- Encuentre esta línea
... UTC=yes ...
- Reemplácela con la siguiente línea
UTC=no
- Guarde el archivo editado
- Sistema -> Administración -> Hora y Fecha
Ajuste la hora/fecha correcta
sudo /etc/init.d/hwclock.sh restart
Cómo configurar el sonido para que funcione correctamente en GNOME
sudo killall esd sudo cp /etc/esound/esd.conf /etc/esound/esd.conf_backup sudo gedit /etc/esound/esd.conf
- Encuentre esta sección
... auto_spawn=0 spawn_options=-terminate -nobeeps -as 5 ...
- Reemplace con las siguientes líneas
auto_spawn=1 spawn_options=-terminate -nobeeps -as 2 -d default
- Salve el archivo editado
sudo apt-get install libesd-alsa0 sudo gedit /etc/asound.conf
- Inserte las siguientes líneas en el nuevo archivo
pcm.card0 {
type hw
card 0
}
pcm.!default {
type plug
slave.pcm "dmixer"
}
pcm.dmixer {
type dmix
ipc_key 1025
slave {
pcm "hw:0,0"
period_time 0
period_size 2048
buffer_size 32768
rate 48000
}
bindings {
0 0
1 1
}
}
- Guarde el archivo editado
sudo ln -fs /usr/lib/libesd.so.0 /usr/lib/libesd.so.1
Sistema -> Preferencias -> Sonido Configuración de sonido
Pestaña General -> Sonidos para eventos (Desmarcado)
- Guarde y cierre todas las aplicaciones abiertas, Reinicie el ordenador
Cómo forzar el vaciado de la papelera en GNOME
- Lea #Notas Generales
sudo rm -fr $HOME/.Trash/
Cómo quitar menus/items del menú en GNOME
- Lea #Notas Generales
rm -f $HOME/.config/menus/applications.menu
Cómo refrescar el menu de Lugares en GNOME (si lo montado a /media/ en /etc/fstab no aparece)
- Lea #Notas Generales
sudo /etc/init.d/dbus-1 restart
Actualizando Ubuntu
Cómo actualizar desde Hoary Hedgehog -> Breezy Badger -> Dapper Drake
- Primero, asegúrate de que estás completamente actualizado:
sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade
- Si no tienes un CD disponible ASEGÚRATE de que comentas/quitas la línea correspondiente a tu CD
sudo gedit /etc/apt/sources.list
/etc/apt/sources.list
para una actualización a breezy tu sources.list debería ser algo similar a esto:
## Descomenta las siguientes dos líneas para coger software actualizado de la red deb http://es.archive.ubuntu.com/ubuntu breezy main restricted deb-src http://es.archive.ubuntu.com/ubuntu breezy main restricted ## Descomenta las siguientes dos líneas para coger las actualizaciones de corrección de fallos mayores producidas ## después de la liberación final de la distribución. deb http://es.archive.ubuntu.com/ubuntu breezy-updates main restricted deb-src http://es.archive.ubuntu.com/ubuntu breezy-updates main restricted ## Descomenta las siguientes dos líneas para añadir software del repositorio 'universe' ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## universe WILL NOT receive any review or updates from the Ubuntu security ## team.
deb http://es.archive.ubuntu.com/ubuntu breezy universe deb-src http://es.archive.ubuntu.com/ubuntu breezy universe deb http://security.ubuntu.com/ubuntu breezy-security main restricted deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted deb http://security.ubuntu.com/ubuntu breezy-security universe deb-src http://security.ubuntu.com/ubuntu breezy-security universe</div>
- Para actualizar desde breezy a dapper, simplemente reemplaza (ctrl+h) todas las instancias de 'breezy' con 'dapper' de dentro de /etc/apt/sources.list
- Guarda este archivo.
sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade
- Guarda tu sesión, reinicia, y disfruta.
NOTA:
- NO aconsejaría el actualizar directamente desde hoary a dapper. Actualiza: hoary->breezy->dapper
Cómo actualizar desde Dapper Drake a Edgy Eft (experimental)
- próximamente...
Temas Removidos
- Los Temas que han sido removidos de esta guía pueden ser encontrados aquí
BlogMarks
del.icio.us
digg
Fark
Furl
Newsvine
reddit
Segnalo
Simpy
Slashdot
smarking
Spurl
Wists
