Skip to content

Instantly share code, notes, and snippets.

Login To Server

  • ssh root@ipaddress
  • enter password

Update packages

  • sudo apt update
  • sudo apt upgrade

Add ssh keys to server

  1. mkdir -p ~/.ssh && chmod 700 ~/.ssh

MySQL Cheat Sheet

Help with SQL commands to interact with a MySQL database

MySQL Locations

  • Mac /usr/local/mysql/bin
  • Windows /Program Files/MySQL/MySQL version/bin
  • Xampp /xampp/mysql/bin

Add mysql to your PATH

@francisJun
francisJun / laravel_xampp_setup.md
Last active April 29, 2022 03:33 — forked from bradtraversy/laravel_xampp_setup.md
Laravel Xampp setup on Mac and Windows

Laravel Xampp Setup (Windows & Mac)

Install Xampp

Install Xampp from https://www.apachefriends.org/index.html

  • Run the Xampp installer and open the Xampp control panel
  • Make sure that you enable the Apache and MySQL services
  • On mac you need to click "Start" on the Home tab, "Enable" on the Network tab and "Mount" on the Location Tab. Click "Explore" on the location tab to open your Xampp/Lampp folder

Install Composer