
C H A P T E R 1 0
T H E P I A S A W E B S E R V E R
153
Replace
ipaddress
in this code with the IP address of your Raspberry Pi. If you’ve given the
Raspberry Pi a hostname in DNS, you can also create a configuration file for that hostname
using the same command, but replacing
ipaddress
with the chosen hostname. If you do
not have a hostname, simply use the Pi’s IP address. For example, the command for a Pi on
IP address 192.168.0.115 would be as follows:
sudo ln -s /etc/wordpress/config-localhost.php
↵
/etc/wordpress/config-192.168.0.115.php
To complete configuration for external access, choose General from the Settings menu that’s
located on the left side of the WordPress Dashboard, and change the URL to match either
the IP address of the Pi or the chosen hostname (see Figure 10-8).
Figure 10-8:
Altering the
URL in the
WordPress
General Settings
menu
TIP
WordPress is very memory intensive. For best results, use the Pi as a
headless server
, which
is a system that runs without a graphical user interface loaded. Then use a web browser on
another computer connected to the network to access the WordPress Dashboard at
http://
ipaddress
/wordpress/wp-login.php
. Accessing the WordPress Dashboard directly on
the Pi can result in a very long wait!
Summary of Contents for A
Page 1: ......
Page 2: ......
Page 3: ...Raspberry Pi User Guide 2nd Edition...
Page 4: ......
Page 5: ...Raspberry Pi User Guide 2nd Edition Eben Upton and Gareth Halfacree...
Page 10: ......
Page 26: ...R A S P B E R R Y P I U S E R G U I D E S E C O N D E D I T I O N 10...
Page 28: ......
Page 29: ...Chapter 1 Meet the Raspberry Pi...
Page 37: ...Chapter 2 Getting Started with the Raspberry Pi...
Page 56: ......
Page 57: ...Chapter 3 Linux System Administration...
Page 79: ...Chapter 4 Troubleshooting...
Page 89: ...Chapter 5 Network Configuration...
Page 109: ...Chapter 6 The Raspberry Pi Software Configuration Tool...
Page 122: ......
Page 123: ...Chapter 7 Advanced Raspberry Pi Configuration...
Page 140: ......
Page 141: ...Chapter 8 The Pi as a Home Theatre PC...
Page 151: ...Chapter 9 The Pi as a Productivity Machine...
Page 160: ......
Page 161: ...Chapter 10 The Pi as a Web Server...
Page 172: ......
Page 173: ...Chapter 11 An Introduction to Scratch...
Page 189: ...Chapter 12 An Introduction to Python...
Page 216: ......
Page 218: ......
Page 219: ...Chapter 13 Learning to Hack Hardware...
Page 234: ......
Page 235: ...Chapter 14 The GPIO Port...
Page 249: ...Chapter 15 The Raspberry Pi Camera Module...
Page 265: ...Chapter 16 Add on Boards...
Page 280: ......
Page 281: ...Appendix A Python Recipes...
Page 287: ...Appendix B Raspberry Pi Camera Module Quick Reference...
Page 293: ...Appendix C HDMI Display Modes...