When using ZSH with oh-my-zsh and iTerm, I noticed some URLs or strings I pasted in were escaped with a \ on special characters. I wasn’t sure if it was an iTerm or a feature tied to oh-my-zsh but adding: DISABLE_MAGIC_FUNCTIONS=true to my .zshrc and then source the file again...
Read More...If you check your /etc/apache2/apache2.conf and look for User and Group: # These need to be set in /etc/apache2/envvars User ${APACHE_RUN_USER} Group ${APACHE_RUN_GROUP} Let’s replace User and Group variable in /etc/apache2/envvars. export APACHE_RUN_USER=user-you-want-to-use export APACHE_RUN_GROUP=user-you-want-to-use Restart Apache. sudo service apache2 restart And you are done!
Read More...I got a message like “Server refused our key” when I tried to SSH my server using a PuTTY with a RSA key. After a log check in /var/log/auth.log (Ubuntu): sshd[2910]: Authentication refused: bad ownership or modes for file /home/user/.ssh/authorized_keys Ownership of .ssh folder and authorized_keys file should be: drwx------...
Read More...Read More...