Skip to content

Mastering PHP and Laravel

Never stop learning!

Menu

  • Home
  • Blog Posts
  • Humor

Linux

WordPress permalinks not working

WordPress permalinks not working? I feel your pain. Read on… Recently, after setting up another virtual host on my Linux server, for a WordPress site, permalinks were not working. Any page other than home was getting a 404 error. I

Kenny January 20, 2019September 27, 2023 Blog Posts, Learning, Linux Read more

chmod

chmod is short for change mode. It is the linux command used to change file permissions. The basic format of the command is like this: chmod options permissions filename There are a number of options, but one of the more

Kenny July 17, 2018September 27, 2023 Blog Posts, Learning, Linux Read more

What does > /dev/null 2>&1 mean?

I came across this recently in a script, so I searched for it to gain an understanding of what it means. Here’s what I found: http://www.xaprb.com/blog/2006/06/06/what-does-devnull-21-mean/  

Kenny December 18, 2014September 27, 2023 Blog Posts, Linux Read more

SSH on Debian: Allow public key access only – no passwords

cd /etc/ssh cp sshd_config sshd_config.orig nano sshd_config Make sure the following three lines are set to “no”. They may be in various locations throughout the file: PermitRootLogin no PasswordAuthentication no UsePAM no Then restart the service: /etc/init.d/ssh restart I learned

Kenny December 16, 2014September 27, 2023 Blog Posts, Debian Read more

Archives

Categories

Copyright © 2025 Mastering PHP and Laravel. All rights reserved. Theme Spacious by ThemeGrill. Powered by: WordPress.