Vai al contenuto principale
BlogLinuxArch Linux 0.7.1

Arch Linux 0.7.1

Arch Linux 0.7.1 è ora disponibile attraverso la procedura guidata di distribuzione locale.

[img]http://www.archlinux.org/logos/sml-archstar.jpg[/img]

http://www.archlinux.org/

Divertitevi,
-Chris

Commenti (2)

  1. Author Photo

    This is great.

    FYI, the hosts.deny file defaults to ALL and SSH isn’t installed by default so you will have to ssh into via hostX.linode.com

  2. Author Photo

    ssh user@hostXX.linode.com
    login as root

    [code]pacman -Sy # synchronise the package databases
    pacman -S openssh # install opensshd
    echo sshd: ALL >>/etc/hosts.allow # allow access to it[/code]

    alternatively, you could replace that last line with:
    [code]echo ALL: ALL: ALLOW >>/etc/hosts.allow # allow all hosts through (essentially disabling the check)[/code]

    then you’re going to want to edit /etc/rc.conf and find the daemons array close to the bottom (line 85), and edit it to include sshd, for example:
    [code]DAEMONS=(syslog-ng !hotplug !pcmcia network netfs crond sshd)[/code]

    You can also add your other daemons to that array (httpd, mysqld, etc) as long as it (or you) puts an rc script in /etc/rc.d/ that launches with the standard ‘[i]scriptname[/i] start’. You can put [i]scriptname[/i] into the daemons array to have it start/stopped on boot/shutdown.

Lascia una risposta

Il vostro indirizzo e-mail non sarà pubblicato. I campi obbligatori sono contrassegnati da *