ການອັບເດດ
1. click start menu icon2. on the search BOX type "terminal"
3. click on terminal to open
4. type "sudo apt-get update" then press enter(it will prompt password enter ur pass)
5. wait untill finish (you will see "reading package lists...Done")
ການຕິດຕັ້ງ Apache2
6. type "sudo apt-get install apache2"7. it ask you to continue Now type "Y" and press enter
8. Now your server host is 127.0.0.1 (let's try with your firefox)
9. if you see massage "It Works!" it mean your Done with Apache2
ການຕິດຕັ້ງ PHP5
10. type "sudo apt-get install php5" then press Enter=== Restart apache2====
11. Type "sudo /etc/init.d/apache2 restart" then press Enter
ລອງສ້າງໜ້າເວັບ PHP ເທິງ Ubuntu
12. Type "sudo gedit /var/www/info.php" then press ENTER13. The gedit(Like Notepad on Windows) will appear
14. Now Write some PHP ---> <?php phpinfo(); ?>
15. Press Save button then Try to open Browser and http://127.0.0.1/info.php
16. Done
ການຕິດຕັ້ງ Install mysql server
17. type "sudo apt-get install mysql-server" then press ENTER18. it will prompt ask you. Just Type "Y" and press Enter to confirm
19. wait for serveral time it will ask you for PASSWORD mySQL Just SET your password
ການຕັ້ງຄ່າໃຫ້ PHP ສາມາດໃຊ້ງານກັບ MySQL
20. type "gksudo gedit /etc/php5/apache2/php.ini" then press ENTER21. CHANGE ;extension=msql.so INTO extension=msql.so (JUST REMOVE THIS " ; " )
22. save and close it
23. Now Restart Apache2 with "sudo /etc/init.d/apache2 restart"
ການຕິດຕັ້ງ phpMyadmin ສຳລັບຈັດການຖານຂໍ້ມູນ
24. type "sudo apt-get install phpmyadmin" then press ENTER25. it will ask you just Type "Y" to continue
26. wait serveral time choose APACHE2 then ENTER
27. it will ask you for password MAKE sure your password is same all
28. type "exit" to exit from TERMINAL
29. after finish try to open browser then type http://127.0.0.1/phpmyadmin
30. DONE EVERYTHING
ລົງບໍ່ໄດ້ອາຈານ ລະມື້ວັນສຸກສຶເອົາໄປໃຫ້ເບິ່ງນຳ
ReplyDelete