From owner-freebsd-ports@FreeBSD.ORG Sat Jan 1 14:39:08 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8740106564A for ; Sat, 1 Jan 2011 14:39:08 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3fd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 39A9B8FC0C for ; Sat, 1 Jan 2011 14:39:08 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id p01Ed31n004666 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sat, 1 Jan 2011 14:39:04 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk p01Ed31n004666 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1293892744; bh=VSEBSp9e1R7uv4pwXznoie9gqexeHwxTMvuXeVR1kWA=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4D1F3C7E.1000905@infracaninophile.co.uk>|Date:=20S at,=2001=20Jan=202011=2014:38:54=20+0000|From:=20Matthew=20Seaman= 20|User-Agent:=20Mozilla/5.0=20(M acintosh=3B=20U=3B=20Intel=20Mac=20OS=20X=2010.6=3B=20en-US=3B=20r v:1.9.2.13)=20Gecko/20101207=20Thunderbird/3.1.7|MIME-Version:=201 .0|To:=20majid=20fooladpour=20|CC:=20freebsd- ports@freebsd.org|Subject:=20Re:=20Installing=20FreeBSD=20from=20i so=20without=20CD,=20and=20one=20more=20question|References:=20|In -Reply-To:=20|X-Enigmail-Version:=201.1.1|OpenPGP:=20id=3D60AE908C |Content-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha1=3B=0D=0A= 20protocol=3D"application/pgp-signature"=3B=0D=0A=20boundary=3D"-- ----------enig05A6735B974BBFC5F2963EA5"; b=KOXwPvGBrj8i4NV7379klBJ+iUTOo9ZDwKG3QPBMTfSprMzM8dezd56KWpMUe9/Hl RH4KHzdmGa+gKB9lkcvqFw8YLIoqjuAkM4hFOK9huh3PtLRmVlgVUZeAmQr4J5CIMP XCj3WR0/to8nEHflXpWujrARP6W/zgeiMKooYtl4= Message-ID: <4D1F3C7E.1000905@infracaninophile.co.uk> Date: Sat, 01 Jan 2011 14:38:54 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: majid fooladpour References: In-Reply-To: X-Enigmail-Version: 1.1.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig05A6735B974BBFC5F2963EA5" X-Virus-Scanned: clamav-milter 0.96.5 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_05,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-ports@freebsd.org Subject: Re: Installing FreeBSD from iso without CD, and one more question X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jan 2011 14:39:08 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig05A6735B974BBFC5F2963EA5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 01/01/2011 12:23, majid fooladpour wrote: > Hi all, >=20 > I am new to FreeBSD and I have a few questions which may or may not be > related directly to ports. >=20 > I have downloaded FreeBSD-8.1-RELEASE-i386-bootonly.iso, is there > anyway to install FreeBSD with this on a Flash memory (without burning > a CD)? You want one of the USB memory-stick images for that -- eg. http://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/8.2/FreeBSD-8.2-RC1-i3= 86-memstick.img Actually, if you're running a reasonably up-to-date CPU, then you're probably better of with a 64bit system: http://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-amd64/8.2/FreeBSD-8.2-RC1-a= md64-memstick.img > - I have installed FreeBSD 6.2 from a bootable CD, =2E.. which is quite a long time out of support now: you really want 8.x for a new install. > - I know how to mount the usb flash in FreeBSD 6.2 > - I have Windows XP on another hard drive and I can open the iso file > inin there with 7zip and extract the files/folders to rearrange them > and save the result back to flash disk. You can do everything you need from Unix -- it will take a little time before you learn all the commands and so forth you need, but it will ultimately give you better results. > I thought when you install a *nix like system you are ready to go with > all you need for web development. This does not seem to be true. I Correct. Installing the OS is just the beginning. FreeBSD is not supplied pre-configured to perform any particular role: while it can do just about anything, it takes the admin (ie. you) to put the necessary pieces together. > need to set up a LAMP environment. In Windows I got that in two steps: > 1. Downloaded XAMPP from Apache Friends and installed (and got Apache > + PHP + MySQL), > 2. Downloaded Notepad++ and installed > What should I do in FreeBSD to get the same envo? - And I really want > the ability to have debugging on PHP which I missed on Windows. Well, LAMP =3D=3D> Linux + Apache + MySQL + PHP. Forget the Linux part -= - you've already chosen a superior alternative. The other three components you'll need to install from ports. The following commands should get you pretty much where you need to be: # portsnap fetch install # cd /usr/ports/ports-mgmt/portmaster # make all install clean # rehash # portmaster databases/mysql55-server # portmaster www/apache22 # portmaster lang/php5 You'll get a number of OPTIONs dialogues during the course of that: for the most part, you can just take the defaults *but* when installing lang/php5 make sure you check the option 'Build Apache Module'. You will also need to install various other PHP, pear and pecl modules to give you all the required PHP functionality -- it's best to use the ports to do that where the appropriate bits are available from ports. Now, that, plus a bit of work on configuration files is what you need to build a production webserver. For development support, you'll need to install a bunch of other software. Precisely what to install is a matter of personal taste. There are a number of different ones available. Given you're coming from a Windows environment, you'll probably find one of the all-singing, all-dancing IDEs closest to what you're used to. Probably java/phpeclipse would be a good one to try, but it needs you to install a lot of other stuff, including java. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig05A6735B974BBFC5F2963EA5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk0fPIcACgkQ8Mjk52CukIxhpgCfXe4DYeTwVn358BFBdDwdkPM3 P10AniwxwRzkQ5iHhabo7IqHqndHk8Bn =VQd1 -----END PGP SIGNATURE----- --------------enig05A6735B974BBFC5F2963EA5--