Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 May 2011 19:06:23 +0100
From:      Barry Byrne <barry.byrne@wbtsystems.com>
To:        Mohammed Gamal <mohammed.gamal@live.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Ports and Packages
Message-ID:  <AAC2BC5F-5394-4F8F-8429-F36ECC32CADE@wbtsystems.com>
In-Reply-To: <SNT127-W41280E0278C6E597AFB6C3E19F0@phx.gbl>
References:  <SNT127-W41280E0278C6E597AFB6C3E19F0@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AAC2BC5F-5394-4F8F-8429-F36ECC32CADE>