{"id":1775,"date":"2015-02-10T22:26:00","date_gmt":"2015-02-11T04:26:00","guid":{"rendered":"http:\/\/linuxitos.com\/main\/instalar-guest-additions-para-fedora-21-en-virtualbox\/"},"modified":"2015-02-10T22:26:00","modified_gmt":"2015-02-11T04:26:00","slug":"instalar-guest-additions-para-fedora-21-en-virtualbox","status":"publish","type":"post","link":"https:\/\/linuxitos.com\/main\/instalar-guest-additions-para-fedora-21-en-virtualbox\/","title":{"rendered":"Instalar Guest Additions para Fedora 21 en VirtualBox"},"content":{"rendered":"<div dir=\"ltr\" style=\"text-align: left;\">\n<div style=\"text-align: justify;\">En algunas ocasiones es necesario instalar una m\u00e1quina virtual para realizar pruebas que no se har\u00edan en nuestra pc de manera normal, sobre todo si se trata de alguna modificaci\u00f3n de archivos del sistema.<\/div>\n<div style=\"text-align: justify;\"><\/div>\n<div style=\"text-align: justify;\">Una completa utilizaci\u00f3n de una m\u00e1quina virtual fedora 21 requiere instalaci\u00f3n de algunos paquetes para que funcione de manera adecuada.<\/div>\n<div style=\"text-align: justify;\"><\/div>\n<div style=\"text-align: justify;\">La instalaci\u00f3n se realiza de la siguiente manera:<\/div>\n<div style=\"text-align: justify;\"><\/div>\n<div style=\"text-align: justify;\">Paso 1:&nbsp; Agregar la unidad de GuestAddition desde la interfaz de VirtualBox<\/div>\n<div style=\"clear: both; text-align: center;\"><a href=\"http:\/\/4.bp.blogspot.com\/-gJmnH8-26QY\/VNrIfG-Dz9I\/AAAAAAAAAdA\/9c8sDrciRF0\/s1600\/Captura%2Bde%2Bpantalla%2Bde%2B2015-02-10%2B21%3A06%3A58.png\" style=\"margin-left: 1em; margin-right: 1em;\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" height=\"369\" src=\"http:\/\/4.bp.blogspot.com\/-gJmnH8-26QY\/VNrIfG-Dz9I\/AAAAAAAAAdA\/9c8sDrciRF0\/s640\/Captura%2Bde%2Bpantalla%2Bde%2B2015-02-10%2B21%3A06%3A58.png\" width=\"640\" \/><\/a><\/div>\n<div style=\"text-align: justify;\">Paso 2: Copiar VBoxLinuxAdditions.run a Descargas<\/div>\n<pre style=\"background: 0% 0% no-repeat rgb(0, 0, 0); border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(0, 0, 0); color: whitesmoke; font-family: 'Droid Sans Mono', Consolas, monospace; font-size: 13px; line-height: 20px; margin: 8px 15px; opacity: 0.85; padding: 9.5px; text-align: start; text-shadow: none; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;\">cp \/run\/media\/usuario\/VirtualBoxGuestAddtions\/VBoxLinuxAdditions \/home\/usuario\/Descargas<\/pre>\n<p>Paso 3: Ir al directorio de Descargas<\/p>\n<pre style=\"background: 0% 0% no-repeat rgb(0, 0, 0); border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(0, 0, 0); color: whitesmoke; font-family: 'Droid Sans Mono', Consolas, monospace; font-size: 13px; line-height: 20px; margin: 8px 15px; opacity: 0.85; padding: 9.5px; text-align: start; text-shadow: none; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;\">&nbsp;cd \/home\/usuario\/Descargas<\/pre>\n<p>Paso 4: Actualizar el kernel<\/p>\n<pre style=\"background: 0% 0% no-repeat rgb(0, 0, 0); border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(0, 0, 0); color: whitesmoke; font-family: 'Droid Sans Mono', Consolas, monospace; font-size: 13px; line-height: 20px; margin: 8px 15px; opacity: 0.85; padding: 9.5px; text-align: start; text-shadow: none; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;\">&nbsp;sudo yum -y update kernel*<\/pre>\n<p>Paso 5: Reiniciar en caso de que haya actualizado paquetes, en caso contrario continuar al paso 6.<\/p>\n<pre style=\"background: 0% 0% no-repeat rgb(0, 0, 0); border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(0, 0, 0); color: whitesmoke; font-family: 'Droid Sans Mono', Consolas, monospace; font-size: 13px; line-height: 20px; margin: 8px 15px; opacity: 0.85; padding: 9.5px; text-align: start; text-shadow: none; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;\">&nbsp;sudo reboot<\/pre>\n<p>Paso 6: Instalar paquetes necesarios<\/p>\n<pre style=\"background: 0% 0% no-repeat rgb(0, 0, 0); border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(0, 0, 0); color: whitesmoke; font-family: 'Droid Sans Mono', Consolas, monospace; font-size: 13px; line-height: 20px; margin: 8px 15px; opacity: 0.85; padding: 9.5px; text-align: start; text-shadow: none; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;\">&nbsp;sudo yum -y install gcc kernel-devel kernel-headers dkms make bzip2 perl<\/pre>\n<p>Paso 7: Agregar variable de entorno del Kernel<\/p>\n<pre style=\"background: 0% 0% no-repeat rgb(0, 0, 0); border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(0, 0, 0); color: whitesmoke; font-family: 'Droid Sans Mono', Consolas, monospace; font-size: 13px; line-height: 20px; margin: 8px 15px; opacity: 0.85; padding: 9.5px; text-align: start; text-shadow: none; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;\">&nbsp;export KERN_DIR=\/usr\/src\/kernels\/`uname -r`<\/pre>\n<p>Paso 8: Comprobar que la variable de entorno funciona:<\/p>\n<pre style=\"background: 0% 0% no-repeat rgb(0, 0, 0); border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(0, 0, 0); color: whitesmoke; font-family: 'Droid Sans Mono', Consolas, monospace; font-size: 13px; line-height: 20px; margin: 8px 15px; opacity: 0.85; padding: 9.5px; text-align: start; text-shadow: none; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;\">echo $KERN_DIR<\/pre>\n<p>Debe mostrar el kernel actual que se instal\u00f3 o que se actualiz\u00f3 en el paso 4, si no muestra nada, repetir los pasos 7 y 8.<br \/>La salida debe ser parecida a esta:<br \/><b><span style=\"color: #38761d;\">\/usr\/src\/kernels\/3.18.5-201.fc21.x86_64<\/span><\/b><\/p>\n<p>Paso 9: Ir al directorio en el que se copio VBoxLinuxAdditions.run en este caso a Descargas<\/p>\n<pre style=\"background: 0% 0% no-repeat rgb(0, 0, 0); border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(0, 0, 0); color: whitesmoke; font-family: 'Droid Sans Mono', Consolas, monospace; font-size: 13px; line-height: 20px; margin: 8px 15px; opacity: 0.85; padding: 9.5px; text-align: start; text-shadow: none; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;\">cd \/home\/usuario\/Descargas<\/pre>\n<p>Paso 10: Instalar GuestAddition<\/p>\n<pre style=\"background: 0% 0% no-repeat rgb(0, 0, 0); border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(0, 0, 0); color: whitesmoke; font-family: 'Droid Sans Mono', Consolas, monospace; font-size: 13px; line-height: 20px; margin: 8px 15px; opacity: 0.85; padding: 9.5px; text-align: start; text-shadow: none; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;\">sudo .\/VBoxLinuxAdditions.run<\/pre>\n<p>Si la instalaci\u00f3n va todo bien, debe mostrar la siguiente informaci\u00f3n:<\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"http:\/\/2.bp.blogspot.com\/-lzJnHxwpCgo\/VNrLu-jfVrI\/AAAAAAAAAdM\/XigSeVLWruQ\/s1600\/Captura%2Bde%2Bpantalla%2Bde%2B2015-02-10%2B20%3A58%3A52.png\" style=\"margin-left: 1em; margin-right: 1em;\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" height=\"324\" src=\"http:\/\/2.bp.blogspot.com\/-lzJnHxwpCgo\/VNrLu-jfVrI\/AAAAAAAAAdM\/XigSeVLWruQ\/s640\/Captura%2Bde%2Bpantalla%2Bde%2B2015-02-10%2B20%3A58%3A52.png\" width=\"640\" \/><\/a><\/div>\n<p>Fuente:<\/p>\n<div style=\"text-align: right;\"><span style=\"font-size: xx-small;\"><a href=\"http:\/\/www.if-not-true-then-false.com\/2010\/install-virtualbox-guest-additions-on-fedora-centos-red-hat-rhel\/\">http:\/\/www.if-not-true-then-false.com\/2010\/install-virtualbox-guest-additions-on-fedora-centos-red-hat-rhel\/<\/a><\/span><\/div>\n<div style=\"text-align: right;\"><span style=\"font-size: xx-small;\"><a href=\"http:\/\/gamblisfx.com\/how-to-install-virtualbox-guest-additions-on-fedora-21\/\">http:\/\/gamblisfx.com\/how-to-install-virtualbox-guest-additions-on-fedora-21\/<\/a><\/span><\/div>\n<div style=\"text-align: right;\"><span style=\"font-size: xx-small;\"><a href=\"http:\/\/www.sysprobs.com\/install-fedora-15-virtualbox-steps-install-virtualbox-guest-additions-fedora-15\">http:\/\/www.sysprobs.com\/install-fedora-15-virtualbox-steps-install-virtualbox-guest-additions-fedora-15<\/a><\/span><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>En algunas ocasiones es necesario instalar una m\u00e1quina virtual para realizar pruebas que no se har\u00edan en nuestra pc de manera normal, sobre todo si se trata de alguna modificaci\u00f3n de archivos del sistema. Una completa utilizaci\u00f3n de una m\u00e1quina virtual fedora 21 requiere instalaci\u00f3n de algunos paquetes para que funcione de manera adecuada. La [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,476,1344,1345,4,153],"tags":[],"class_list":["post-1775","post","type-post","status-publish","format-standard","hentry","category-fedora","category-guestadition","category-instalar-guest-addition-en-fedora-21","category-install-guest-addition-for-fedora-21","category-linux","category-virtualbox"],"_links":{"self":[{"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/posts\/1775","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/comments?post=1775"}],"version-history":[{"count":0,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/posts\/1775\/revisions"}],"wp:attachment":[{"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/media?parent=1775"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/categories?post=1775"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxitos.com\/main\/wp-json\/wp\/v2\/tags?post=1775"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}