From owner-freebsd-questions@FreeBSD.ORG Mon May 2 18:23:33 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F5361065670 for ; Mon, 2 May 2011 18:23:33 +0000 (UTC) (envelope-from barry.byrne@wbtsystems.com) Received: from hermes.wbtsystems.com (hermes.wbtsystems.com [87.198.244.212]) by mx1.freebsd.org (Postfix) with ESMTP id EC1028FC0C for ; Mon, 2 May 2011 18:23:32 +0000 (UTC) Received: from [10.12.4.120] (unknown [10.12.4.120]) by hermes.wbtsystems.com (Postfix) with ESMTPA id 81116F740E; Mon, 2 May 2011 19:06:23 +0100 (IST) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Barry Byrne In-Reply-To: Date: Mon, 2 May 2011 19:06:23 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Mohammed Gamal X-Mailer: Apple Mail (2.1084) Cc: freebsd-questions@freebsd.org Subject: Re: Ports and Packages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 May 2011 18:23:33 -0000 On 2 May 2011, at 18:46, Mohammed Gamal wrote: > 1-where to get php-5.3.6.tbz and mysql cuz my ports collections = doesn't exist. > /usr/ports Install the ports tree. # portsnap fetch install > i have done installing apache2.2.17 from source but it doesn't start = on boot , i also added=20 > apache22_enable=3D"YES" to rc.conf but no effect. The port version installs a startup script in /usr/local/etc/rc.d/ If you don't use the port version, you'll need to create your own Better to use the port version > 2- why i can not access root account through ssh2 ? Because it's disabled in the config as it's a security risk. Better to ssh as a normal user and use sudo/su as appropriate. If you really must, you can edit the config # vi /etc/ssh/sshd_config - barry