Snippet : Add Your SSH Public Key To A Distant Server

I think I could cover the ssh login subject in a longer article, for now here is a quick snippet to create and add your public ssh key to your server, so you can login into it without typing your password again (and then disable the password login ability to increase your security) : Pop-upContinue reading “Snippet : Add Your SSH Public Key To A Distant Server”

Advertisement

Snippet: How To Show Hidden Files on Mac OSX

Pop-up a Terminal (Applications > Terminal, Cmd+Space : “Terminal”) Paste the line below : defaults write com.apple.finder AppleShowAllFiles 1 Reload Finder (Apple logo > Force Quit > Select “Finder” > Reload) That’s it ! You’ll see (most of) all the hidden files in Finder. Even the not so sexy .DS_Store files that stores the customContinue reading “Snippet: How To Show Hidden Files on Mac OSX”

Faking PHP version for Composer

Sometimes Composer doesn’t fetch the right PHP version for some reasons : Using Plesk for exemple, or some other server management tool, the way websites are handled is so that multiple websites are into containers with their own configurations. This way, the “stock” PHP version installed into the server could be one version, but ApacheContinue reading “Faking PHP version for Composer”

Easy way to remove “/public” in the URL path in Laravel 5.2

How to remove the /public path from your URL in Laravel 5.2 the easiest way if you can’t or don’t want to modify the Apache document root ? In a fresh Laravel 5.2 install, the public frontend is located in example.com/public/index.php To remove the /public/ part of your URL, simply copy-paste /public/index.php and /public/.htaccess toContinue reading “Easy way to remove “/public” in the URL path in Laravel 5.2″

How To Install XDebug on MAMP (OSX)

Xdebug is debugger and profiler that will prettify your errors by printing out stack traces in case of errors or exceptions, with a timestamp showing the duration of each step of the stack. There are a lot of benefits to have it activated, even on a production server, even more on your development environment. Here isContinue reading “How To Install XDebug on MAMP (OSX)”

Looking for a Server Administration Interface: Ajenti V

Few weeks ago, I entered the world of server administration when I’ve ordered my VPS at OVH. Since I already have skills in Unix systems, the load of work to administrate a server was by far, less than I’ve expected. Actually, it is pretty easy : install, configure and secure your Apache/MySQL/PHP stack, secure yourContinue reading “Looking for a Server Administration Interface: Ajenti V”