1.1 Connect via SSH. Mysql root password is shown on login. Run mysql
.
1.2 Create a new database with CREATE DATABASE db_name;
.
1.3 Create a new user with CREATE USER 'username'@'localhost' IDENTIFIED BY 'password'
.
1.4 Grant permissions to user with GRANT ALL PRIVILEGES ON db_name.* TO 'username'@'localhost';
.
1.5 When finished run FLUSH PRIVILEGES;
.
-
Download the latest Raspbian. Get the "lite" image if you don't require a GUI.
-
Burn the image to your SD card as you normally would depending on your OS. Etcher is a good tool for all systems.
-
Open the boot volume in finder and create a new file called "wpa_supplicant.conf".
-
Write your network config like this: (That's for WPA2 Personal with AES)
network={
ssid="YOUR_SSID"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
#Redirect http://yourDomain.com to https://yourDomain.com | |
ServerName yourDomain.com | |
Redirect permanent / https://yourDomain.com/ | |
</VirtualHost> | |
<VirtualHost *:80> | |
#Redirect http://www.yourDomain.com to https://yourDomain.com | |
ServerName www.yourDomain.com | |
Redirect permanent / https://yourDomain.com/ | |
</VirtualHost> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Angular2 with TypeScript .gitignore | |
typings | |
app/**/*.js | |
app/**/*.map | |
app/npm-debug.log | |
npm-debug.log | |
node_modules | |
jspm_packages | |
bower_components |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Activates the animated wallpaper temporarily | |
alias playWP='/System/Library/Frameworks/ScreenSaver.framework/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine -background' | |
#Activates the animated wallpaper until it's stopped. You can close the terminal window. | |
alias startWP='nohup /System/Library/Frameworks/ScreenSaver.framework/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine -background > /dev/null &' | |
#Stops the animated wallpaper by killing the screensaver engine. | |
alias stopWP='killall ScreenSaverEngine' |
NewerOlder