Skip to content

Mastering PHP and Laravel

Never stop learning!

Menu

  • Home
  • Blog Posts

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, 2019January 21, 2023 Blog Posts, Learning, Linux No Comments 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, 2018January 21, 2023 Blog Posts, Learning, Linux No Comments 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, 2014January 21, 2023 Blog Posts, Linux No Comments 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, 2014January 21, 2023 Blog Posts, Debian No Comments Read more

Archives

Categories

  • Blog Posts (90)
  • iPhone (2)
  • Learning (42)
  • Linux (4)
    • Debian (1)
  • Mac Terminal / Linux (6)
  • Other Stuff (1)
  • Programming (68)
    • .NET (1)
      • C# (1)
    • Java (1)
    • Javascript (6)
      • AngularJS (1)
      • Node.js (2)
    • MySQL (3)
    • Objective C (1)
    • PHP (45)
      • Community (5)
      • Laravel (9)
        • Eloquent (3)
    • SQL (7)
    • Tools (2)
      • PHP Storm (1)
  • Slim Framework (1)
  • Uncategorized (9)
  • WordPress (3)
Copyright © 2023 Mastering PHP and Laravel. All rights reserved. Theme Spacious by ThemeGrill. Powered by: WordPress.