Code Monkey home page Code Monkey logo

dotfiles's Introduction

New Machine Setup

Create SSH directory if it doesn’t exist already

mkdir ~/.ssh

Copy SSH Keys to new machine

scp username@OtherMachineAddress:/mnt/user/username/Documents/.ssh/* ~/.ssh/

Fix SSH permissions

chmod 700 ~/.ssh
chmod 644 ~/.ssh/authorized_keys
chmod 644 ~/.ssh/known_hosts
chmod 644 ~/.ssh/config
chmod 600 ~/.ssh/id_rsa
chmod 644 ~/.ssh/*.pub

Clone dotfiles repo to ~/repos/dotfiles

git clone [email protected]:BenSchmidtTech/dotfiles.git ~/repos/dotfiles/

Create dotfiles symlinks

Needs to be updated to check if running under WSL, and if so grab the correct profile name.

. ~/repos/dotfiles/create_symlinks.sh

Remove old emacs version

If you have an older Emacs version you will need to purge it before proceeding:

Purge Emacs

sudo apt --purge remove emacs
sudo apt autoremove

Install Emacs

Check that emacs version 27+ is available in your distro’s package repos:

sudo apt update
apt-cache policy emacs

If that isn’t Emacs27 or newer, then install it from Kevin Kelly’s PPA:

Installing Emacs27 from Kevin Kelley PPA

sudo add-apt-repository ppa:kelleyk/emacs
sudo apt install emacs27

If you get an error about emacs27_common during the install process:

Errors were encountered while processing:
 /tmp/apt-dpkg-install-RVK8CA/064-emacs27-common_27.1~1.git86d8d76aa3-kk2+20.04_all.deb

run

sudo apt --purge remove emacs-common
sudo apt --fix-broken install

Install other required packages for my config

# Org Roam requires sqlite3.
sudo apt install sqlite3
# VTerm requirements:
sudo apt install cmake
sudo apt install libtool-bin

Install Doom Emacs

git clone --depth 1 https://github.com/hlissner/doom-emacs ~/.emacs.d
~/.emacs.d/bin/doom install

Doom Sync - Configure Doom

doom sync

Run emacs

emacs &

Build Org Roam Cache

<spc> n r f

dotfiles's People

Contributors

bjschmidt avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.