Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Tutorials
Making a web server with Raspberry Pi!
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="DaLightz" data-source="post: 207137" data-attributes="member: 17436"><p><img src="http://www.raspberrypi.org/wp-content/uploads/2011/07/7513051848_9a6ef2feb8_o.jpeg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p> </p><p> </p><p><em>Raspberry Pi is a 35$ credit card sized "computer". It uses an SD card as it's primary storage, and boots off of Linux distro's.</em></p><p> </p><p>Asuming you already have the RPi setup, I'm skipping the general setup bit.</p><p> </p><p>I am going to teach you how to make your Raspberry Pi into a fully functioning web server! This server is know as a <strong>LAMP</strong> server.</p><p> </p><p><strong>L</strong>inux</p><p><strong>A</strong>pache</p><p><strong>M</strong>ySQL</p><p><strong>P</strong>HP</p><p> </p><p>Let's start. first you'll want to open up your<strong> LXTerminal</strong> as shown below.</p><p><img src="http://img10.imageshack.us/img10/1866/lgtdf91w.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p> </p><p>Then type this into your console: This will update your download respitories.</p><p>[CODE]sudo apt-get update[/CODE]</p><p> </p><p>Once that is updated, you can now start installing <strong>Apache</strong>. Do so by entering this into your console:</p><p>[CODE]sudo apt-get install apache2[/CODE]</p><p>Let it download and when it asks you if you'd like to continue, hit y and [enter].</p><p> </p><p>Now you can install <strong>MySQL</strong>. Do so by entering this into your console:</p><p>[CODE]sudo apt-get install mysql-server[/CODE]</p><p>Same thing will happen as Apache <img src="/styles/default/xenforo/smilies/emojione/smile.png" class="smilie" loading="lazy" alt=":)" title="Smile :)" data-shortname=":)" /></p><p> </p><p>Finally, you can install <strong>PHP(5)</strong> and <strong>Perl</strong>. Do so by entering this into your console:</p><p>[CODE]sudo apt-get install php5[/CODE]</p><p>And once that's done:</p><p>[CODE]sudo apt-get install php5-mysql[/CODE]</p><p>^ Those are the <strong>MySQL php libraries</strong>.</p><p> </p><p>Installation complete! You've transformed your Pi into a hosting machine!</p><p> </p><p>Notable commands that could come in handy:</p><p>[CODE]start Apache:</p><p>/etc/init.d/apache2 start</p><p> </p><p>stop Apache:</p><p>/etc/init.d/apache2 stop</p><p> </p><p>restart Apache:</p><p>/etc/init.d/apache2 restart[/CODE]</p></blockquote><p></p>
[QUOTE="DaLightz, post: 207137, member: 17436"] [IMG]http://www.raspberrypi.org/wp-content/uploads/2011/07/7513051848_9a6ef2feb8_o.jpeg[/IMG] [I]Raspberry Pi is a 35$ credit card sized "computer". It uses an SD card as it's primary storage, and boots off of Linux distro's.[/I] Asuming you already have the RPi setup, I'm skipping the general setup bit. I am going to teach you how to make your Raspberry Pi into a fully functioning web server! This server is know as a [B]LAMP[/B] server. [B]L[/B]inux [B]A[/B]pache [B]M[/B]ySQL [B]P[/B]HP Let's start. first you'll want to open up your[B] LXTerminal[/B] as shown below. [IMG]http://img10.imageshack.us/img10/1866/lgtdf91w.png[/IMG] Then type this into your console: This will update your download respitories. [CODE]sudo apt-get update[/CODE] Once that is updated, you can now start installing [B]Apache[/B]. Do so by entering this into your console: [CODE]sudo apt-get install apache2[/CODE] Let it download and when it asks you if you'd like to continue, hit y and [enter]. Now you can install [B]MySQL[/B]. Do so by entering this into your console: [CODE]sudo apt-get install mysql-server[/CODE] Same thing will happen as Apache :) Finally, you can install [B]PHP(5)[/B] and [B]Perl[/B]. Do so by entering this into your console: [CODE]sudo apt-get install php5[/CODE] And once that's done: [CODE]sudo apt-get install php5-mysql[/CODE] ^ Those are the [B]MySQL php libraries[/B]. Installation complete! You've transformed your Pi into a hosting machine! Notable commands that could come in handy: [CODE]start Apache: /etc/init.d/apache2 start stop Apache: /etc/init.d/apache2 stop restart Apache: /etc/init.d/apache2 restart[/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Tutorials
Making a web server with Raspberry Pi!
Top