› Foros › PC › Software libre
Donato escribió:Hola a todos!
El otro dia me dio por sacar mi xbox1 del armario y darle una segunda vida. Para ello, he instalado la distribucion gentoox, que es gentoo pero adaptada para la xbox. Solo la tengo en modo consola, no he instalado servidor X (es un celeron 733 mhz y 64 megas de ram). He instalado la version pro, que instala lo basico, como no tengo raton ni teclado para esta, accedo por ssh. Aqui tengo muchas dudas, la primera: solo puedo acceder como root pues es el unico usuario que tengo, como creo otro para no estar siempre como admintrador? Luego, si por ejemplo inicio sesion como root, ejecuto un proceso, por ejemplo emerge y mientras compila cierro MI terminal, el proceso sigue funcionando no? Como puedo ver como sigue el proceso cuando inicie nuevamente sesion? Es que los tiempos de compilacion son muy largos y no voy a estar con el ordenador encendido hasta que termine.
Ahora la segunda parte que es donde empieza lo que quiero montar. Quiero montar un servidor ftp para compartir archivos con los pc's de casa, quiero meterle el amule o cliente de esta red que funcione sobre consola (lei que podia funcionar como daemon)y que ademas, tenga servidor web para poder configurarlo desde el pc (por ejemplo, eso se que lo tiene el emule normal de winxp) y tres cuartos de lo mismo con un cliente bittorrent. Alguna sugerencia para esto?
Una vez hecho esto, me gustaria poner autologin y que inicien automaticamente ambos programas (vamos, encender la maquina y fuera).
Creeis que es factible?
useradd -m -G «grupos» -s /bin/bash «nombre_de_usuario»
useradd -m -G wheel,network,video,audio,optical,storage,power,users -s /bin/bash xbox
man screen
Darkcaptain escribió:Solo un apunte: También tienes "Xebian" (Un Debian para Xbox)
* IMPORTANT: 5 config files in '/etc' need updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.
CONFIGURATION FILES
Portage has a special feature called "config file protection". The pur-
pose of this feature is to prevent new package installs from clobbering
existing configuration files. By default, config file protection is
turned on for /etc and the KDE configuration dirs; more may be added in
the future.
When Portage installs a file into a protected directory tree like /etc,
any existing files will not be overwritten. If a file of the same name
already exists, Portage will change the name of the to-be-installed
file from 'foo' to '._cfg0000_foo'. If '._cfg0000_foo' already exists,
this name becomes '._cfg0001_foo', etc. In this way, existing files are
not overwritten, allowing the administrator to manually merge the new
config files and avoid any unexpected changes.
In addition to protecting overwritten files, Portage will not delete
any files from a protected directory when a package is unmerged. While
this may be a little bit untidy, it does prevent potentially valuable
config files from being deleted, which is of paramount importance.
Protected directories are set using the CONFIG_PROTECT variable, nor-
mally defined in /etc/make.globals. Directory exceptions to the CON-
FIG_PROTECTed directories can be specified using the CONFIG_PRO-
TECT_MASK variable. To find files that need to be updated in /etc, type
find /etc -iname '._cfg????_*'.
You can disable this feature by setting CONFIG_PROTECT="-*" in
/etc/make.conf. Then, Portage will mercilessly auto-update your config
files. Alternatively, you can leave Config File Protection on but tell
Portage that it can overwrite files in certain specific /etc subdirec-
tories. For example, if you wanted Portage to automatically update your
rc scripts and your wget configuration, but didn't want any other
changes made without your explicit approval, you'd add this to
/etc/make.conf:
CONFIG_PROTECT_MASK="/etc/wget /etc/rc.d"
Tools such as dispatch-conf, cfg-update, and etc-update are also avail-
able to aid in the merging of these files. They provide interactive
merging and can auto-merge trivial changes.
Donato escribió:bueno, ya de regreso de las fiestas (me lo pase increiblemente bien por cierto) me voy a poner con el tema.
A ver, he actualizado el sistema como un "emerge --sync" (creo que es a debian con apt-get update) y luego "emerge --update world". Se ha actualizado el sistema (ha tardado un huevo) y ahora me aparece esto:* IMPORTANT: 5 config files in '/etc' need updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.
Hago un man emerge y...CONFIGURATION FILES
Portage has a special feature called "config file protection". The pur-
pose of this feature is to prevent new package installs from clobbering
existing configuration files. By default, config file protection is
turned on for /etc and the KDE configuration dirs; more may be added in
the future.
When Portage installs a file into a protected directory tree like /etc,
any existing files will not be overwritten. If a file of the same name
already exists, Portage will change the name of the to-be-installed
file from 'foo' to '._cfg0000_foo'. If '._cfg0000_foo' already exists,
this name becomes '._cfg0001_foo', etc. In this way, existing files are
not overwritten, allowing the administrator to manually merge the new
config files and avoid any unexpected changes.
In addition to protecting overwritten files, Portage will not delete
any files from a protected directory when a package is unmerged. While
this may be a little bit untidy, it does prevent potentially valuable
config files from being deleted, which is of paramount importance.
Protected directories are set using the CONFIG_PROTECT variable, nor-
mally defined in /etc/make.globals. Directory exceptions to the CON-
FIG_PROTECTed directories can be specified using the CONFIG_PRO-
TECT_MASK variable. To find files that need to be updated in /etc, type
find /etc -iname '._cfg????_*'.
You can disable this feature by setting CONFIG_PROTECT="-*" in
/etc/make.conf. Then, Portage will mercilessly auto-update your config
files. Alternatively, you can leave Config File Protection on but tell
Portage that it can overwrite files in certain specific /etc subdirec-
tories. For example, if you wanted Portage to automatically update your
rc scripts and your wget configuration, but didn't want any other
changes made without your explicit approval, you'd add this to
/etc/make.conf:
CONFIG_PROTECT_MASK="/etc/wget /etc/rc.d"
Tools such as dispatch-conf, cfg-update, and etc-update are also avail-
able to aid in the merging of these files. They provide interactive
merging and can auto-merge trivial changes.
A ver si algun iluminado de gentoo me echa un cable. Con respecto a lo que pregunte de montar el servidor ftp, amule y bittorrent, alguna sugerencia? graciasss
Donato escribió:perfecto. Y lo del servidor ftp, amule y bittorrent??? Thanx
Snakefd99cb escribió:Donato escribió:perfecto. Y lo del servidor ftp, amule y bittorrent??? Thanx
Pues igual también. Nunca se machaca.