字體:小 中 大 | |
|
|
2016/10/01 20:56:39瀏覽373|回應0|推薦2 | |
[夏肇毅知識運算網 Mark Hsia's Knowledge Computing Web]在IoT物聯網樹莓派Raspberry Pi上設立WordPress伺服器(夏肇毅 雲端教學台)在IoT物聯網樹莓派上設立WordPress伺服器(夏肇毅 雲端教學台)
Setup a WordPress LAMP Web Server on your Raspberry Pi My Summarized Notes:Install Apache
Changing the default web pagecd /var/www/html ls -al sudo chown pi: index.html
Install PHPsudo apt-get install php5 libapache2-mod-php5 -y
Install MySQLsudo apt-get install mysql-server php5-mysql -y
Download and Extract WordPresscd /var/www/html/ sudo chown pi: . sudo rm * wget http://wordpress.org/latest.tar.gz
Set up your WordPress Databasemysql -uroot -ppassword mysql> create database wordpress; Exit out of the MySQL prompt with Ctrl + D . WordPress ConfigurationFind out your Pi's IP addresshostname -I Navigate to http://YOUR-IP-ADDRESS
|
|
( 知識學習|隨堂筆記 ) |