This is helpful if you've previously installed git from source on OSX, and other compilers can't find the correct path. You need to remove the current version of git, then re-install with brew.
- Check which git you're running:
which git
This is helpful if you've previously installed git from source on OSX, and other compilers can't find the correct path. You need to remove the current version of git, then re-install with brew.
which git
This is a short overview on how to completely remove any old mysql server installs in OSX and upgrade to MariaDB without conflicts. Things can get a bit weird when you have various old installs of MySQL server floating around, and utilizing homebrew to install and upgrade MariaDB as a drop in replacement for MySQL has worked well, especially if you're used to managing MySQL installs via yum in linux.
Backup all of your current databases with mysqldump
This isn't a tutorial on backups, and there are many ways to do it. You should know how to backup your data anyway. For this example, we'll do a full backup of our InnoDB databases.
webpack.mix.js
file in root directory:const { mix } = require('laravel-mix');
mix.js('resources/assets/js/app.js', 'public/js')
.sass('resources/assets/sass/app.scss', 'public/css');
/* Optional: uncomment for bootstrap fonts */
// mix.copy('node_modules/bootstrap-sass/assets/fonts/bootstrap/','public/fonts/bootstrap');
<!--- Provide a general summary of your changes in the Title above --> | |
<!--- If there is no changelog entry, label this PR as trivial to bypass the Danger warning --> | |
## Description | |
<!--- Describe your changes in detail --> | |
## Motivation and Context | |
<!--- Why is this change required? What problem does it solve? --> |
#!/bin/sh | |
# Backup linux server via rsync to remote backup NAS drive | |
# | |
# Run this from a root cronjob at whatever intervals you need | |
# | |
# example: | |
# # backup server at 4am | |
# 0 4 * * * sh /root/rsync_server_backup.sh > /dev/null; | |
# |
#!/bin/bash | |
# sync mysql tables from dev server to production server quickly via command line | |
# specify the list of tables to sync below | |
dev_host="127.0.0.1" | |
dev_user="root" | |
dev_pass="K#oDAk6AF@GumR7" | |
dev_db_name="local_dev" |
Login as root and create directory for mail server files to be created. Rename "mail.mailserver.com" for your mail server you're trying to connect to.
mkdir ~/mail.mailserver.com
cd ~/mail.mailserver.com
Get certificate file contents from mail server on port 995:
[mysql] | |
# CLIENT # | |
port = 3306 | |
socket = /var/lib/mysql/mysql.sock | |
[mysqld] | |
# GENERAL # | |
user = mysql |
server { | |
listen 80; | |
server_name symfony.dev; | |
root /var/www/vhosts/symfony.dev/web; | |
rewrite ^/app\.php/?(.*)$ /$1 permanent; | |
try_files $uri @rewriteapp; | |
location @rewriteapp { |