Linux

From Sinfronteras
Revision as of 22:35, 18 January 2016 by Adelo Vieira (talk | contribs) (Proceso de instalación)
Jump to: navigation, search

Instalación de Ubuntu

Creating a bootable Ubuntu USB flash drive from Ubuntu:

Install and run Startup Disk Creator alias usb-creator https://help.ubuntu.com/community/Installation/FromUSBStick

usb-creator-gtk
usb-creator-kde

1. Insert and mount the USB drive no puede ser ntfs. El sistema de archivos debe ser FAT o creo que también EXT.

2. Start usb-creator.


Al parecer también se puede utilizar: UnetBootin, LiliUSB or Universal USB Installer https://help.ubuntu.com/community/Boot-Repair


En la siguiente página se explica como podemos crear el bootable Ubuntu USB flash drive desde la línea de comandos. Sin embargo, no pude crearlo con éxito. Cuando arranqué desde el disco USB que creé, el SO no cargó correctamente. Cuando intenté crear el bootable USB encontré el siguiente error:

cp: no se puede crear el enlace simbólico «/media/adelo/D853-0856/./dists/stable»: Operación no permitida

Creo que fue porque lo hice con un USB FAT32, y las particiones FAT32 no soportan la creación de enlace simbólicos.

http://askubuntu.com/questions/372607/how-to-create-a-bootable-ubuntu-usb-flash-drive-from-terminal

How can I create a Windows bootable USB stick with Ubuntu:

http://askubuntu.com/questions/289559/how-can-i-create-a-windows-bootable-usb-stick-with-ubuntu winusb


Proceso de instalación

En el proceso de instalación de Ubuntu 15.10 se propone de una vez la instalación de "Third-party sortwares" (algunos de estos son propietarios). Así, el sistema fue capaz de habilitar directamente el WiFi en mi computadora.

Creación y elección de la partición donde será instalado el SO

La parte más delicada es cuando debemos crear (si no existe ya) y seleccionar la partición en la que se instalará el SO.

Todo disco duro permite un número máximo de particiones primarias. Por tanto, si el programa de creación de particiones no nos da la opción de crear una nueva partición es porque el número máximo de particiones fue alcanzado. Los disco duros permiten un máximo de cuatro (4) particiones primarias.

https://es.wikipedia.org/wiki/Partici%C3%B3n_de_disco


La partición swap

What is swap?

Swap space is the area on a hard disk which is part of the Virtual Memory of your machine, which is a combination of accessible physical memory (RAM) and the swap space. Swap space is used when your system decides that it needs physical memory for active processes and there is insufficient unused physical memory available. https://help.ubuntu.com/community/SwapFaq

Que tamaño debe tener la partición swap

How much swap do I need?

For less then 1GB of physical memory (RAM), it's highly recommended that the swap space should, as a base minimum, be equal to the amount of RAM. Also, it's recommended that the swap space is maximum twice the amount of RAM

For more modern systems (>1GB), your swap space should be at a minimum minimum be equal to your physical memory (RAM) size "if you use hibernation", otherwise you need a minimum of round(sqrt(RAM)) and a maximum of twice the amount of RAM. https://help.ubuntu.com/community/SwapFaq


I have 16GB RAM. Do I need 32GB swap?

It entirely depends on what you plan to do with the machine. For example if it were a Sap server then yes, I would add 32gb swap (we have boxes at work with 128gb ram and 32gb swap). If you were manipulating massive pictures and video then it makes sense to have a little swap. 32gb is probably overkill. http://askubuntu.com/questions/49109/i-have-16gb-ram-do-i-need-32gb-swap

Amount of RAM in the system   Recommended swap space         Recommended swap space 
                                                            if allowing for hibernation
---------------------------   ----------------------------   ---------------------------
2GB of RAM or less            2 times the amount of RAM      3 times the amount of RAM
2GB to 8GB of RAM             Equal to the amount of RAM     2 times the amount of RAM
8GB to 64GB of RAM            0.5 times the amount of RAM    1.5 times the amount of RAM
64GB of RAM or more           4GB of swap space              No extra space needed

Cosas que hacer después de instalar Ubuntu

Comandos Linux

Para saber las características del hardware y del SO

Desplegar el SO instalado (detallando la versión)

lsb_release -a

http://askubuntu.com/questions/55609/how-do-i-check-system-specifications


Para saber si el SO instalado es 32 o 64bit

uname -a

Result for 32-bit Ubuntu:

   Linux discworld 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 i686 i386 GNU/Linux

whereas the 64-bit Ubuntu will show:

   Linux discworld 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux


O a través del comando:

getconf LONG_BIT


Para crear un archivo html detallado con todas las características del harware

sudo apt-get install sysinfo

then run something like

sudo lshw -html > mySpecs.html

then check the html file.


Para ver las particiones y dispositivos montados

lsblk
df -h
sudo fdisk -l

A través del comando mount podemos saber el tipo de sistemas de archivos de cada partición (check filesystem type):

 mount

Al parecer el tipo fuseblk se refiere a una partición ntfs ver http://ubuntuforums.org/showthread.php?t=1096841


Formatear una unidad Flash USB

http://tecadmin.net/format-usb-in-linux/#

https://ksearch.wordpress.com/2010/09/29/format-usb-in-linux/


$ sudo umount /dev/sdc1

Format with vFat FileSystem

$ sudo mkfs.vfat /dev/sdc1

Format with NTFS FileSystem

$ sudo mkfs.ntfs /dev/sdc1

Format with EXT4 FileSystem

$ sudo mkfs.ext4 /dev/sdc1


Screenshot Tool in Ubuntu

Aplicación para imprimir pantalla

Gnome Screenshot

https://doc.ubuntu-fr.org/gnome-screenshot

Gnome Screenshot est déjà installé par défaut sur Ubuntu

Lancer l'interface depuis le tableau de bord d'Unity à l'aide des mots-clés "capture d'écran" ou pour les menus classiques, Applications → Accessoires → Capture d'écran. Ou encore depuis un terminal avec la commande suivante:

gnome-screenshot -i


À l'aide de raccourcis: La convinación de tecla normal no me funciona, la siguiente sí: [ALT]+[IMPR] → Capturer la fenêtre active. En la página Web se pueden ver las otras convinaciones de tecla disponibles



Shutter