Skip to content

Instantly share code, notes, and snippets.

@JBlackCat
Last active May 1, 2019 20:14
Show Gist options
  • Save JBlackCat/5543914060b365294189 to your computer and use it in GitHub Desktop.
Save JBlackCat/5543914060b365294189 to your computer and use it in GitHub Desktop.
Stuff to setup on raspberry pi

Text Editors

VIM

sudo apt-get install vim

Here is a nice list containing other flavors of vim that may better suit your needs. http://askubuntu.com/questions/281886/what-is-the-difference-between-the-different-vim-packages-available-in-ubuntu

To set persistent settings/preferences for vim, edit your .vimrc file in your root directory.

If you are not in your root directory or are unsure just type

cd

Now you are in the root directory go ahead an open the .vimrc file.

vim .vimrc

Now that the file is open you can edit the file by typing

i

This will put you in insert mode. You can move the cursor using the arrow keys. To true syntax highlighting on type

syntax on

The to exit insert mode, press the esc key.

Then type the following and press enter

:wq

: the colon proceeds all writing and quitting commands. w this says write the file(save your changes). q this tells the program to quit.

If you want to exit without saving use

:q

##Networking ###Set Static IP Address Ethernet connection http://www.modmypi.com/blog/tutorial-how-to-give-your-raspberry-pi-a-static-ip-address Note: While I didn't need to manually set the DNS server for the raspberry pi, I did end up needed to do it for my unraid server, so I thought I would add this. For DNS server we are going to use the Google Public DNS Servers. For IPvb4 these are 8.8.8.8 and 8.8.4.4. If you need IPv6, they are also listed on the page listed.

WiFi Connection https://kerneldriver.wordpress.com/2012/10/21/configuring-wpa2-using-wpa_supplicant-on-the-raspberry-pi/ NOTE: You only need to do the first two steps, but I would complete the first step using the WiFi Configuration Tool under Menu-->Preferences of Raspbien(if that is you OS). This forum post helps if you have issues, https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=22660

http://askubuntu.com/questions/197628/how-do-i-find-my-network-ip-address-netmask-and-gateway-info

###Setup SSH https://learn.adafruit.com/adafruits-raspberry-pi-lesson-6-using-ssh

###Setup VNC Need to flesh this out. http://elinux.org/RPi_VNC_Server https://www.raspberrypi.org/documentation/remote-access/vnc/ http://gettingstartedwithraspberrypi.tumblr.com/post/24142374137/setting-up-a-vnc-server https://learn.adafruit.com/adafruit-raspberry-pi-lesson-7-remote-control-with-vnc/using-a-vnc-client

###Start-Up Warnings http://raspberrypi.stackexchange.com/questions/22242/remove-maynard-and-cgroups https://www.raspberrypi.org/forums/viewtopic.php?t=87080

###Set Correct HDMI Resolution http://weblogs.asp.net/bleroy/getting-your-raspberry-pi-to-output-the-right-resolution http://elinux.org/RPiconfig#Video

###Install Chromium-Browser

  1. http://elinux.org/RPi_Chromium
  2. SamyPesse/tv.js#19

todo

###Note-To-Self

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment