Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Commit

Permalink
Linux build: Fix some text formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
ariya committed Jan 25, 2013
1 parent 5a20b4f commit c7a247c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions build.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,7 @@ <h2 id="linux">Linux</h2>
./build.sh
</pre>

<p>For Amazon EC2 AMI (tested on AMI release 2011.09 and 2012.03):</p>
<p> * will also work on Centos & RHEL 6, tested on Centos 6.3 </p>
<p>For Amazon EC2 AMI (release 2011.09, 2012.03) and CentOS/RHEL 6:</p>
<pre>
sudo yum install gcc gcc-c++ make git openssl-devel freetype-devel fontconfig-devel
git clone git://github.com/ariya/phantomjs.git
Expand All @@ -105,9 +104,8 @@ <h2 id="linux">Linux</h2>

<p><strong>Note 2</strong>: After finishing the build, run <code>deploy/package.sh</code> which creates PhantomJS binary tarball that can be moved around and/or extracted to a different location. This is the correct way to install the built binary into an arbitrary directory, i.e. do not simply copy the executable as it won't work.</p>

<p> If you'd like to make an RPM:</p>
<p>For creating RPM package (EC2 AMI, CentOS, or RHEL), after building it then run:</p>
<pre>
(Follow the Amazon / Centos /RHEL instructions to build first. Then:)
cd rpm
./mkrpm.sh phantomjs
</pre>
Expand Down

0 comments on commit c7a247c

Please sign in to comment.