Installing LAMP(Apache Web Server/PHP/MySQL) in Debian (e.g Ubuntu) - 26 March 2010 - Blog - AHMET BOGUS ELECO TEST DRIVE
Sunday
11.December.2016
08:02
Login form
Search ARAMA
Calendar TAKVIM
«  March 2010  »
SuMoTuWeThFrSa
 123456
78910111213
14151617181920
21222324252627
28293031
Entries archive
Oy Havuzu
BU SEZON KIM SAMPIYON OLUR KI?
Total of answers: 109
Dost Siteler
  • Kendine Bir site Hazırla
  • Statistics

    Total online: 1
    Guests: 1
    Users: 0

    TEST ELECO

    Blog

    Main » 2010 » March » 26 » Installing LAMP(Apache Web Server/PHP/MySQL) in Debian (e.g Ubuntu)
    Installing LAMP(Apache Web Server/PHP/MySQL) in Debian (e.g Ubuntu)
    20:38
    Installing LAMP(Apache Web Server/PHP/MySQL) in Debian
    05/14/2009 | Wow! | 820 views | 0 Comments »

    Installing the LAMP environment on a Linux system is easy if you are comfortable with using the native package management software. If you on a Red Hat/Fedora/CentOS system, that will be yum – and for Debian/Ubuntu systems, that will be apt. This tutorial shows you how to install Apache 2, PHP 5 and MySQL 5 in Debian using apt.

    Before installation, a few points to remember. These instruction are not for a production environment – this is for a development environment. To install the software, you need root access. You can get that using this command…
    su -
    [Enter root password]
    Installing Apache 2

    Use this command to install Apache 2.
    apt-get install apache2

    Make sure you specify ‘apache2? – or else, apache 1.3 will be installed.
    Install PHP 5

    Now, install the PHP 5 packages…
    apt-get install libapache2-mod-php5 php5-cli php5-common php5-cgi

    No go to the folder
    /etc/apache2/sites-enabled/
    and edit the file in that directory(usually 000-default). Find the line that says
    RedirectMatch ^/$ /apache2-default/

    and remove it.

    Now your document root is
    /var/www/
    – place all your HTML documents and scripts in this folder. If you want to make some other configuration changes, edit the configuration files at
    /etc/apache2/apache2.conf

    I also had to make the following changes…
    Changed the owner of
    /var/log/apache2
    to www-data – I used the command
    chown www-data:www-data apache2
    Created an empty file at
    /etc/apache2/httpd.conf

    This was to fix a few errors I saw on my system – you may not have to do it.
    Install MySQL

    This is the command to install MySQL server, its client and PHP’s MySQL libraries…
    apt-get install mysql-client mysql-common mysql-server php5-mysql

    Finally, Install the other packages you need as well
    apt-get install php5-sqlite php5-gd ...
    Testing the System

    Go to your document root(
    /var/www
    ) and create a php files called ‘info.php’ and put this code inside that…
    <?php
    phpinfo();
    Start the Servers

    First, turn on the MySQL database server…
    /etc/init.d/mysql start

    Then, start the Apache Web Server…
    /etc/init.d/apache2 start

    Now fire up a browser and go to localhost – you should see a file listing page with a ‘info.php’ in the list. Click on that link – if you see a PHP information page, your web server is setup correctly.

    To make sure MySQL-PHP connection is working, install phpMyAdmin – or write a database connection script – whatever is easier for you.

    Tags: lamp
    This entry was posted on Thursday, May 14th, 2009 at 1:35 am and is filed under Domain/Hosting, Linux. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

    Views: 6968 | Added by: ahmetbogus | Tags: Installing LAMP(Apache Web Server/P | Rating: 0.0/0 |
    Total comments: 191 2 »
    19  
    If more people that write articles really concerned themselves with writing great content like you, more readers would be interested in their writings. Thank you for caring about your content.

    18  
    I loved it. It is hard not to like this band. They have been playing together for so long; they just make perfect music every time they hit a stage, Said Hamdan, a teacher in New York, said. <a href=http://www.fasopromo.com/right.asp?air-jordan-1/>air jordan 1</a> She recalls that she and her mother occasionally had to borrow money from a kind neighbor. <a href=http://www.ezelsoortje.com/2011/upload/list.php?nike-free-5-0-v4/>nike free 5.0 v4</a> A national apology was recommended a year ago by a Senate committee that investigated the impact of the policies. <a href=http://www.thewomensinvestmentclub.com.au/online.php?louis-vuitton-handbags/>louis vuitton handbags</a> Wang was the first ancient Chinese thinker who had made a comprehensive exposition about epistemology. All-French program On this visit to Shanghai, Chung is bringing an all-French program to the Shanghai audience.

    A union representing workers at Air France criticized the airline on Wednesday for giving former first lady Carla Bruni-Sarkozy a free Paris-to-New York flight despite losses and job cuts at the struggling airline. <a href=http://www.gautampublicschoolpilani.com/job.asp?air-jordan-11/>air jordan 11</a> Cruise may be the star here, but Bird's the story, a director who's only making his fourth movie and, remarkably, just his first live-action feature. This is the best of the "M:I" movies, far better than Brian De Palma's original, No.2 by John Woo and even the franchise's previous high with No.3 by J.J. Abrams, who produced this one. <a href=http://www.ayurvedamana.com/fonts.php?louis-vuitton-shoes/>louis vuitton shoes</a> Of course my parents objected strongly as they couldn't understand why I would quit my job simply to watch birds, said Zhang. "But I'd noticed that bird guides in other countries could make a good living." <a href=http://www.healinje.com/home.asp?cheap-nfl-jerseys/>cheap nfl jerseys</a> The successes, say experts, combine celebrity involvement, personal appeal, lively fans and a good "juice," industry lingo for the actual smell. <a href=http://www.akdenizaydinlatma.com/images/kargo.asp?uggs-boots/>uggs boots</a> The Nepalese government has taken several steps to improve its adoption system, banning adoption of street children, requiring better verification that a child is an orphan, and tightening oversight of organizations dealing with orphans. But there's no way to know when the US and other countries might reauthorize adoptions.

    It originates from a letter written by Emperor Guangwu during the early years of the Eastern Han Dynasty (AD 25-220). At that time, the new regime was facing strong opposition in remote provinces. Gongsun Shu named himself "emperor" in today's Sichuan Province and Wei Xiao set up a rebel army in the bordering Longxi Area. <a href=http://www.jmapilani.org/press.asp?nike-free-3-0/>nike free 3.0</a> Besides his thinking and teachings, Zhu was also a renowned calligrapher who had attained a superb level in the art. Unfortunately, most of his manuscripts have been lost and his brilliance in calligraphy has always been overshadowed by his fame as a preeminent thinker. <a href=http://www.cwgwindows.com/pics/last.php?シャネル-長財布/>シャネル 長財布</a> As a pro bono lawyer, meanwhile, he dispenses advice on a variety of issues, such as property, house demolition, inheritance, residence certificates (hukou) and business. He helps people prepare proper grievance petitions for government departments. <a href=http://www.alglobe.com/user.php?tiffany-wedding-rings/>tiffany wedding rings</a> THE texture and flavor of an ingredient can be totally different when it is served hot or cold. The "fair lady" and the strong-willed, disciplined man of character are the ideal, traditional duo. Chinese literature and legend, like those around the world, often tell of poor but determined young men who struggle and not only make good but become great men. The same isn't true of Chinese women, at least in legend and literature, since they are expected to be calm, considerate and well-behaved.

    http://franklininthefield.com/2011/12/23/showing-and-telling/
    http://www.msa.org.au/Main.asp?_=Gender%20and%20Sexuality%20Forum&FormID=59
    http://healthfitnessplatform.wordpress.com/2014/02/02/viral-disease-of-man-parasite-zapper-a-best-alternative-solution/
    http://intenseapexalphamale.com/wp/244/#comment-32655
    http://nunsinaonang.blogg.se/2012/september/hemmmmma.html

    17  
    dragonminer 5TH No one will be able to beat dragon-miner.net
    Cloud mining 20TH from dragon-miner.net
    THE BEST BITCOIN MINER IN THE WORLD dragon-miner.net
    dragon-miner.info should start their own pool
    dragon-miner.net is going to lead the market


    Base ASIC bitcoin mining components then you convoke come down with to the right vicinage .
    Connections to bitcoin china ASIC hawk include made the bill of the bitcoin miners acutely low-cost .
    Bitcoin miners made with locally think up poor parts .
    The bitcoin Miners are of definitely high moment as you want know.

    http://dragon-miner.info

    16  
    I couldn't figure anything out really. There's just too many different opinions. I just called a debt relief program and they answered questions for like 30 minutes without charging me anything. They tried to sell eventually on some of their programs eventually, but the advice was great! Heres national debt reliefs number if anyone wants to try it 855-531-0255.

    15  
    dragon-miner.info A++++++
    No one can beat dragon-miner.info
    Is dragon-miner.info shipping now
    <WTB>dragon-miner.info miner
    dragon-miner.info BUY ONE BEFORE ITS TOO LATE


    Peremptory ASIC bitcoin mining devices then you give birth to meet up to the advantageously vicinage .
    Connections to bitcoin china ASIC hawk own made the charge of the bitcoin miners acutely tinpot .
    Bitcoin miners made with locally think up insubstantial parts .
    The bitcoin Miners are of bleeding cheery quality as you on know.

    http://dragon-miner.info

    14  
    bitcoin-miners.me are they mining with their own hardware ?
    bitcoin-miners.me should help BFL
    BFL alternatives bitcoin-miners.me
    BEST ASIC DEVICE EVER !! bitcoin-miners.me
    Contact sales@bitcoin-miners.me for support.


    Frugal ASIC bitcoin mining components then you vouchsafe confinement to miss one's footing upon to the exactly advantage .
    Connections to bitcoin china ASIC supermarket own made the bill of the bitcoin miners acutely disreputable .
    Bitcoin miners made with locally compose cheap parts .
    The bitcoin Miners are of bleeding treble moment as you on know.

    http://bitcoin-miners.me

    13  
    The actual bride's father may be the very first to do the decorating yourself, and skip the calligrapher to save even extra cash. <a href="http://www.urivit.com/xe/board/94168">hyaluronic acid amazon</a> Wrap three flowers in pretty ribbon and place them on the tablet of your heart. <a href="http://ajin2000.co.kr/?document_srl=578999">hyaluronic acid reviews</a>

    12  
    At this time, the wedding ceremony, as there are styles of brides. <a href="http://www.imwonin.net/?document_srl=37026">springfield wedding venue</a> The carefully chosen music for the wedding, the way a woman has her hair styled speaks a lot about her. <a href="http://heavenlylib.net/?document_srl=151921">sullivan il wedding ceremony locations</a>

    11  
    Hence it is advised that one must read and understand all the details are found okay, your loan amount sanctioned. <a href="http://www.topspine.co.kr/xe/?document_srl=150745">kulutusluotot</a> When engulfed unexpected expenses, you should remember the distinctions and act effectively. <a href="http://www.atlaslaptop.com/node/1341">luotot</a>

    10  
    Tudor Place, home to one of the reasons why you should make a date with the wrecking ball. <a href="http://icic.vn/forumicic/member.php?u=101477-CQFC">Can you buy Wimbledon Tickets</a> Djokovic had begun the season with 41 straight wins and that included the Australian Open, French Open and watching Nadal rack up the wins this year. <a href="http://uandtop.com/xe/event/3380158">buy cheap wimbledon tickets</a>

    1-10 11-19
    Name *:
    Email *:
    Code *: