Installing LAMP On Ubuntu For Newbies HowtoForge - Linux Howtos and Tutorials, co i jak w Ubuntu

[ Pobierz całość w formacie PDF ]
Installing LAMP On Ubuntu For Newbies | HowtoF...
Howtos
Forums
News
Search
Contribute
Subscription
Options For This Howto
Free Support
Paid Support
Navigation
Howtos
Linux
CentOS
Debian
Fedora
Kernel
Mandriva
PCLinuxOS
SuSE
Ubuntu
Apache
Backup
Control Panels
DNS
Desktop
Email
Anti-Spam/Virus
Postfix
Procmail
Sendmail
FTP
High-Availability
Lighttpd
Monitoring
MySQL
Programming
C/C++
PHP
Samba
Security
Anti-Spam/Virus
Virtualization
Other
FreeBSD
1 of 12
26.10.2008 17:08
Installing LAMP On Ubuntu For Newbies | HowtoF...
Commercial
Mini-Howtos
Forums
Contribute
Subscription
Login
Site Map/RSS Feeds
User login
Username:
Password:
Remember Me?
Create a new account
Request new password
Who's online
There are currently 14 users and 2026 guests online.
HowtoForge Forums
Show usernames on
SARG reports
ISPconfig install
archive virus
godaddy migration
to postfix
IspConfig Remoting
Framework
Installation
postfix error
The Perfect
Desktop - OpenSUSE
11 (GNOME)
Problem postfix
How about a thank
you area?
Vista sidebar
gadget
IP and DNS
2 of 12
26.10.2008 17:08
Installing LAMP On Ubuntu For Newbies | HowtoF...
Assistance
required
News
The Great 3G Letdown
Ridiculous Resumes - Unix, Linux and everything in between
What the High Priority Free Software Projects Should Be
Test Firefox 3.1 Beta 1 Without Changing Your Existing Installation
Microsoft makes mockery of interoperability
My Firefox 3 experience
Linux incognito part two: Windows XP
Jilted Lover Jailed for Rubbing Out Ex's Avatar
Fedora 10 beta snapshot 2: Screenshots
3 Classic First-Person Shooter Games for Linux
more
Recent comments
changes in apache2.2
3 hours 57 min ago
gracias
10 hours 41 min ago
i had a problem
11 hours 52 min ago
Install 64-bit Ubuntu HH PV DomU with VNC at Ubuntu HH Dom0
1 day 33 min ago
Great tutorial
1 day 1 hour ago
Flash Player 10 on Ubuntu 64
1 day 11 hours ago
Re: Why not use 8.10's flashplugin-nonfre e package for 64-bit?
1 day 16 hours ago
try..echo "deb
1 day 16 hours ago
Re: Why not use 8.10's flashplugin-nonfre e package for 64-bit?
1 day 18 hours ago
Secure Proxy
1 day 23 hours ago
Newsletter
Subscribe to
HowtoForge
Newsletter
and stay informed
3 of 12
26.10.2008 17:08
Installing LAMP On Ubuntu For Newbies | HowtoF...
about our latest
HOWTOs and
projects.
(To unsubscribe
from our newsletter
send a blank email
with the subject
'unsubscribe' to:
newsletter
@howtoforge.com
.)
Syndicate
HowtoForge Feed for Facebook®
"Facebook" is a registered trademark of Facebook, Inc. All rights reserved.
English |
Deutsch
|
Site Map/RSS Feeds
|
Advertise
You are here:
Home
»
Howtos
»
Linux
»
Ubuntu
» Installing LAMP On Ubuntu For Newbies
Installing LAMP On Ubuntu For Newbies
Submitted by
Cargoship
(
Contact Author
) (
Forums
) on Fri, 2007-07-13 15:57. ::
Ubuntu
Installing LAMP On Ubuntu For Newbies
In this guide I will show you how to install a LAMP system. LAMP stands for Linux, Apache,
MySQ L, PHP. The guide is intended to help those who have very little knowlegde of using
Linux.
Install Apache
To start off we will install Apache.
1. O pen up the Terminal (
Applications > Accessories > Terminal
).
2. Copy/Paste the following line of code into Terminal and then press enter:
sudo apt-get install apache2
4 of 12
26.10.2008 17:08
Installing LAMP On Ubuntu For Newbies | HowtoF...
3. The Terminal will then ask you for you're password, type it and then press enter.
Testing Apache
To make sure everything installed correctly we will now test Apache to ensure it is working
properly.
1. O pen up any web browser and then enter the following into the web address:
You should see a folder entitled
apache2-default/
. O pen it and you will see a message saying
"It works!" , congrats to you!
Install PHP
In this part we will install PHP 5.
Step 1. Again open up the Terminal (
Applications > Accessories > Terminal
).
Step 2. Copy/Paste the following line into Terminal and press enter:
sudo apt-get install php5 libapache2-mod-php5
Step 3. In order for PHP to work and be compatible with Apache we must restart it. Type the
following code in Terminal to do this:
sudo /etc/init.d/apache2 restart
Test PHP
To ensure there are no issues with PHP let's give it a quick test run.
Step 1. In the terminal copy/paste the following line:
sudo gedit /var/www/testphp.php
This will open up a file called
phptest.php
.
Step 2. Copy/Paste this line into the phptest file:
<?php phpinfo(); ?>
Step 3. Save and close the file.
Step 4. Now open you're web browser and type the following into the web address:
5 of 12
26.10.2008 17:08
[ Pobierz całość w formacie PDF ]

  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • queen1991.htw.pl