跳到主要内容
博客洛克菲勒Arch Linux 0.7.1

Arch Linux 0.7.1

Arch Linux 0.7.1现在可以通过你的本地发行向导获得。

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

http://www.archlinux.org/

享受吧、
-克里斯


评论 (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.

留下回复

您的电子邮件地址将不会被公布。 必须填写的字段被标记为*