Showing posts with label Wordpress. Show all posts
Showing posts with label Wordpress. Show all posts

2019/08/11

Q&A relevant to AWS Lightsail

This post contains the Q&A relevant to AWS Lightsail.

Restart Apache Server

bitnami@ip-172-26-2-143:~$ sudo /opt/bitnami/ctlscript.sh restart apache
Unmonitored apache
Syntax OK
/opt/bitnami/apache2/scripts/ctl.sh : httpd stopped
Syntax OK
/opt/bitnami/apache2/scripts/ctl.sh : httpd started at port 80
Monitored apache
bitnami@ip-172-26-2-143:~$

How to solve the problem of unable to reboot

Use this command: "sudo systemctl --force --force reboot"

bitnami@ip-172-26-2-143:~$ sudo reboot
Failed to start reboot.target: Connection timed out
See system logs and 'systemctl status reboot.target' for details.
bitnami@ip-172-26-2-143:~$ sudo shutdown -r now
Failed to start reboot.target: Connection timed out
See system logs and 'systemctl status reboot.target' for details.
bitnami@ip-172-26-2-143:~$ sudo systemctl --force --force reboot
Rebooting.


2019/06/08

Wordpress on Raspberry Pi - Solving the page not found issue when using permalink

This post is about how to solve the page not found problem when using the Permalinks feature of Wordpress.



My Environment

pi@raspberrypi:/ $ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 9.9 (stretch)
Release:        9.9
Codename:       stretch
pi@raspberrypi:/ $