Ubuntu дээр LAMP суулгах

Ubuntu дээр LAMP суулгах

7

LAMP гэдэг нь Linux, Apache, MySQL, Php гэсэн нэгдлийн товчлол болно. Энэхүү суулгах процесс нь Apache2, PHP5, MySQL5, phpmyadmin2 зэргийг ubuntu 9.04 үйлдлийн систем дээр суулгаж байгаа болно.

Apache суулгах:

Командын мөрнөөс доорх командыг өгсөнөөр Apache2 суух болно.

*

sudo apt-get install apache2

Веб толилуураа нээгээд http://localhost/ гээд үзэхэд It works! гэж гарч байвал суужээ гэж ойлгож болохнээ.

PHP суулгах:

Доорх командаар php-г apache-ын нэг модул хэлбэрээр суулгах болно.

*

sudo apt-get install php5 libapache2-mod-php5

Apache-аа дараах командаар дахин ачаална:

*

sudo /etc/init.d/apache2 restart

Доорх командаар testphp.php файлыг үүсгэн <?php phpinfo(); ?> бичээд хадгална.

*

sudo gedit /var/www/testphp.php

Веб толилуураасаа http://localhost/testphp.php гээд үзэхэд phpinfo гарч ирнэ.

MySQL суулгах

*

sudo apt-get install mysql-server

суулгах явцдаа нууц үгээ асуугаад сууна. Доорх командаар mysql сервер рүү нэвтрэн орно.

* mysql -u root -p

PHP-гээ MySQl-тэй холбохын тулд php.ini файлд бага зэрэг засвар оруулна.

*

gksudo gedit /etc/php5/apache2/php.ini

* ;extension=mysql.so өмнөх ; авна. Apache-аа дахин ачаална.

phpMyAdmin суулгах

*

sudo apt-get install libapache2-mod-auth-mysql php5-mysql phpmyadmin

gksudo gedit /etc/apache2/apache2.conf командаар apache.conf файлд засвар хийнэ.
Файлын төгсгөлд:

Include /etc/phpmyadmin/apache.conf

мөрийг нэмээд Apache-аа дахин ачааллаад http://localhost/phpmyadmin/ хаягаар ороход phpmyadmin таныг угтах болно.

1,356 Responses to Ubuntu дээр LAMP суулгах

    Hi, its pleasant paragraph regarding media print, we all understand media is a enormous source of data.|

    Good replies in return of this query with real arguments and explaining everything concerning that.|

    Nice blog here! Also your site loads up very fast! What web host are you using? Can I get your affiliate link to your host? I wish my web site loaded up as quickly as yours lol|

    I’m not sure why but this blog is loading very slow for me. Is anyone else having this problem or is it a issue on my end? I’ll check back later on and see if the problem still exists.|

    I’m really enjoying the design and layout of your website. It’s a very easy on the eyes which makes it much more enjoyable for me to come here and visit more often. Did you hire out a designer to create your theme? Fantastic work!

    This is a great tip especially to those new to the blogosphere. Simple but very accurate information… Appreciate your sharing this one. A must read post!|

    I’m really enjoying the design and layout of your website. It’s a very easy on the eyes which makes it much more pleasant for me to come here and visit more often. Did you hire out a developer to create your theme? Superb work!|

    Just desire to say your article is as astonishing. The clarity for your put up is simply great and that i could suppose you are an expert on this subject. Fine together with your permission let me to snatch your RSS feed to keep up to date with approaching post. Thank you 1,000,000 and please continue the enjoyable work.|

    Hi, Neat post. There is a problem with your web site in internet explorer, could check this¡K IE nonetheless is the marketplace chief and a good portion of other people will miss your excellent writing because of this problem.

    Great blog here! Also your site loads up very fast! What host are you using? Can I get your affiliate link to your host? I wish my website loaded up as quickly as yours lol|

    wonderful points altogether, you simply gained a new reader. What would you suggest about your post that you made some days ago? Any positive?

    I simply couldn’t leave your website before suggesting that I really enjoyed the standard information a person provide for your visitors? Is going to be again regularly in order to investigate cross-check new posts|

    When I originally left a comment I appear to have clicked on the -Notify me when new comments are added- checkbox and from now on each time a comment is added I receive 4 emails with the exact same comment. Is there a means you are able to remove me from that service? Thanks!|

    Hi, I do believe this is an excellent site. I stumbledupon it 😉 I may revisit once again since I book-marked it. Money and freedom is the greatest way to change, may you be rich and continue to guide others.

    I love reading an article that will make men and women think. Also, many thanks for permitting me to comment!|

    Can I simply just say what a relief to discover someone who actually understands what they are talking about on the internet. You certainly realize how to bring an issue to light and make it important. More and more people really need to read this and understand this side of your story. It’s surprising you are not more popular since you surely have the gift.|

    An impressive share! I’ve just forwarded this onto a co-worker who had been conducting a little research on this. And he in fact bought me lunch due to the fact that I found it for him… lol. So let me reword this…. Thanks for the meal!! But yeah, thanx for spending the time to talk about this matter here on your site.|

    I really like looking through a post that will make men and women think. Also, many thanks for allowing me to comment!

    I know this if off topic but I’m looking into starting my own weblog and was curious what all is required to get set up? I’m assuming having a blog like yours would cost a pretty penny? I’m not very web smart so I’m not 100 positive. Any suggestions or advice would be greatly appreciated. Appreciate it|

    Good post. I learn something new and challenging on blogs I stumbleupon everyday. It will always be useful to read content from other authors and practice something from other sites. |

    Hi there, You’ve done a fantastic job. I’ll definitely digg it and personally recommend to my friends. I am confident they’ll be benefited from this web site.

    I love it whenever people get together and share ideas. Great site, continue the good work!

    Hi to every body, it’s my first pay a visit of this weblog; this web site consists of remarkable and really good material in support of readers.|

    Excellent post. I was checking constantly this blog and I’m inspired! Extremely helpful info specifically the ultimate phase 🙂 I handle such information a lot. I used to be looking for this certain information for a very lengthy time. Thanks and best of luck.

    Hello there, You’ve done an excellent job. I will certainly digg it and personally suggest to my friends. I am sure they will be benefited from this site.|

    Hi, I do think this is an excellent web site. I stumbledupon it 😉 I may return yet again since i have book marked it. Money and freedom is the greatest way to change, may you be rich and continue to guide other people.

    Can you tell us more about this? I’d care to find out some additional information.|

    Hello! I could have sworn I’ve visited this web site before but after going through some of the articles I realized it’s new to me. Regardless, I’m certainly pleased I stumbled upon it and I’ll be bookmarking it and checking back often!

    This blog was… how do I say it? Relevant!! Finally I have found something which helped me. Appreciate it!|

    Somebody essentially lend a hand to make critically articles I would state. This is the very first time I frequented your website page and thus far? I amazed with the analysis you made to create this actual submit amazing. Fantastic process!|

    I truly love your blog.. Very nice colors & theme. Did you create this amazing site yourself? Please reply back as Iím hoping to create my own site and would like to know where you got this from or what the theme is called. Cheers!

    Excellent post. Keep posting such kind of info on your blog. Im really impressed by it.

    When I initially commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment is added I get four emails with the same comment. Is there any way you can remove me from that service? Thanks!|

    My partner and I stumbled over here from a different web address and thought I might check things out. I like what I see so now i’m following you. Look forward to looking into your web page for a second time.|

    Hi everyone, it’s my first go to see at this site, and paragraph is in fact fruitful designed for me, keep up posting these types of content.|

    I haven’t checked in here for a while since I thought it was getting boring, but the last few posts are great quality so I guess I will add you back to my daily bloglist. You deserve it my friend 🙂

    Having read this I thought it was extremely enlightening. I appreciate you taking the time and effort to put this content together. I once again find myself spending way too much time both reading and posting comments. But so what, it was still worth it!

    how to get cialis cialis cheap cialis website

    Non-specific Message Far this outcome
    https://albuterolday.com albuterol

    how to avoid cialis side effects\ cialis side effects otc cialis

    When I originally left a comment I appear to have clicked on the -Notify me when new comments are added- checkbox and from now on whenever a comment is added I recieve four emails with the same comment. Is there a means you can remove me from that service? Kudos!|

    I really love your blog.. Very nice colors & theme. Did you develop this site yourself? Please reply back as I’m trying to create my own personal blog and would love to learn where you got this from or what the theme is called. Appreciate it!

    cialis 20 mg price walmart does cialis lowers blood pressure does cialis make you bigger

    Informative article, exactly what I needed.|

    Spot on with this write-up, I actually assume this website wants way more consideration. I’ll most likely be once more to read far more, thanks for that info.

    When I initially commented I appear to have clicked on the -Notify me when new comments are added- checkbox and now whenever a comment is added I get four emails with the exact same comment. Perhaps there is a way you can remove me from that service? Appreciate it!

    fantastic points altogether, you just received a emblem new reader. What may you recommend in regards to your publish that you simply made some days ago? Any sure?|

    Hello are using WordPress for your blog platform? I’m new to the blog world but I’m trying to get started and set up my own. Do you need any coding expertise to make your own blog? Any help would be really appreciated!|

Leave a Reply

Message:*

Name:

Email:

Website: