mirror of
https://github.com/BradNut/computer-setup-info
synced 2025-09-08 17:40:23 +00:00
Moving things adding grapheneos.
This commit is contained in:
parent
4419338c64
commit
60e576830f
4 changed files with 137 additions and 18 deletions
32
README.md
32
README.md
|
|
@ -16,22 +16,20 @@ List of instructions, resources, steps for setting up a new computer
|
|||
|
||||
### [Windows](../master/windows/Applications.md)
|
||||
|
||||
## Coding Setup
|
||||
## Coding App Setup
|
||||
|
||||
### Apps
|
||||
|
||||
#### [Configs](../master/environment/Coding-App-Configs.md)
|
||||
### [Configs](../master/environment/Coding-App-Configs.md)
|
||||
|
||||
- [HyperJS](../master/environment/Coding-App-Configs.md#coding-app-configs##hyperjs)
|
||||
- [Sublime Text](../master/environment/Coding-App-Configs.md#coding-app-configs##sublime-text)
|
||||
- [VSCode](../master/environment/Coding-App-Configs.md#coding-app-configs##vscode)
|
||||
|
||||
#### [Linux](../master/linux/Coding-App-Setup.md)
|
||||
### [Linux](../master/linux/Coding-App-Setup.md)
|
||||
|
||||
- [Sublime Text](../master/linux/Coding-App-Setup.md#coding-applications##sublime-text)
|
||||
- [VSCode](../master/linux/Coding-App-Setup.md#coding-applications##vscode)
|
||||
|
||||
#### [OSX](../master/osx/Coding-App-Setup.md)
|
||||
### [OSX](../master/osx/Coding-App-Setup.md)
|
||||
|
||||
- [IntelliJ](../master/osx/Coding-App-Setup.md#coding-applications##intellij)
|
||||
- [iTerm](../master/osx/Coding-App-Setup.md#coding-applications##iterm)
|
||||
|
|
@ -45,6 +43,16 @@ List of instructions, resources, steps for setting up a new computer
|
|||
- [Bash](../master/environment/Terminal.md#terminal##bash)
|
||||
- [SSH](../master/environment/Terminal.md#terminal##ssh)
|
||||
|
||||
### [Environment](../master/environment/Environment.md)
|
||||
|
||||
### [Linux](../master/linux/Environment-Setup.md)
|
||||
|
||||
- [Coding Packages](../master/linux/Environment-Setup.md#environment-setup##coding-packages)
|
||||
- [Useful System Packages](../master/linux/Environment-Setup.md#environment-setup##useful-system-packages)
|
||||
- [Linux Brew](../master/linux/Environment-Setup.md#environment-setup##linux-brew)
|
||||
- [Dotfiles](../master/linux/Environment-Setup.md#environment-setup##dot-files)
|
||||
- [Git](../master/linux/Environment-Setup.md#environment-setup##git)
|
||||
|
||||
## Software Configurations
|
||||
|
||||
### VPN Configurations
|
||||
|
|
@ -62,18 +70,6 @@ List of instructions, resources, steps for setting up a new computer
|
|||
|
||||
- [Desktop Icon Creation](../master/linux/Desktop-Setup.md#desktop-setup##desktop-icon-creation)
|
||||
|
||||
## Environment Setup
|
||||
|
||||
### [Terminal](../master/environment/Terminal.md)
|
||||
|
||||
### [Linux](../master/linux/Environment-Setup.md)
|
||||
|
||||
- [Coding Packages](../master/linux/Environment-Setup.md#environment-setup##coding-packages)
|
||||
- [Useful System Packages](../master/linux/Environment-Setup.md#environment-setup##useful-system-packages)
|
||||
- [Linux Brew](../master/linux/Environment-Setup.md#environment-setup##linux-brew)
|
||||
- [Dotfiles](../master/linux/Environment-Setup.md#environment-setup##dot-files)
|
||||
- [Git](../master/linux/Environment-Setup.md#environment-setup##git)
|
||||
|
||||
### [Synology](../master/synology/Configuration-Environment-Setup.md)
|
||||
|
||||
### [Useful Resources](../master/linux/Resources-Information.md)
|
||||
|
|
|
|||
60
environment/Environment.md
Normal file
60
environment/Environment.md
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
# Environment
|
||||
|
||||
## Coding Packages
|
||||
|
||||
- Git: `sudo apt install git`
|
||||
- Curl: `sudo apt install curl`
|
||||
- Docker: [Ubuntu Install](https://docs.docker.com/engine/install/ubuntu/#prerequisites)
|
||||
- [Install instructions](../master/linux/Docker-Setup.md)
|
||||
- Gatsby CLI: `sudo npm install gatsby-cli -g`
|
||||
- Heroku CLI: `sudo snap install --classic heroku`
|
||||
- Vim: `sudo apt install vim`
|
||||
- Sanity CLI: `sudo npm install @sanity/cli -g`
|
||||
|
||||
## Useful System Packages
|
||||
|
||||
- [Neofetch](https://github.com/dylanaraps/neofetch)
|
||||
- `sudo apt install neofetch`
|
||||
- [TLDR Man Pages](https://tldr.sh/)
|
||||
- [Trash-CLI](https://www.npmjs.com/package/trash-cli)
|
||||
|
||||
## [Linux Brew](https://docs.brew.sh/Homebrew-on-Linux)
|
||||
|
||||
- Install: `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"`
|
||||
- Run for Debian or Ubuntu: `sudo apt-get install build-essential curl file git`
|
||||
|
||||
#### Adding Homebrew to your PATH and bash shell (If applicable)
|
||||
|
||||
- `test -d ~/.linuxbrew && eval $(~/.linuxbrew/bin/brew shellenv)`
|
||||
- `test -d /home/linuxbrew/.linuxbrew && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)`
|
||||
- If using bash: `test -r ~/.bash_profile && echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.bash_profile`
|
||||
- `echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.profile`
|
||||
|
||||
#### List of installed casks
|
||||
|
||||
_NOTE: ZSH and plugins for Ubuntu should be manually installed and not from brew_
|
||||
|
||||
- nodeJS: `brew install node`
|
||||
- postresql: `brew install postgresql`
|
||||
- sshpass: `brew install hudochenkov/sshpass/sshpass`
|
||||
- tmux: `brew install tmux`
|
||||
- zsh: `brew install zsh`
|
||||
- zsh-autosuggestions: `brew install zsh-autosuggestions`
|
||||
- zsh-syntax-highlighting: `brew install zsh-syntax-highlighting`
|
||||
|
||||
## Dotfiles
|
||||
|
||||
Dotfiles and editor preferences: https://github.com/BradNut/dotfiles
|
||||
|
||||
## Git
|
||||
|
||||
Edit `.gitconfig` with name and email
|
||||
|
||||
```
|
||||
$ git config --global.name "Your Name"
|
||||
$ git config --global.email "you@example.com"
|
||||
```
|
||||
|
||||
## Terminal
|
||||
|
||||
- See details here: [Terminal Setup](../environment/Terminal.md)
|
||||
9
environment/Resources.md
Normal file
9
environment/Resources.md
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# Resources
|
||||
|
||||
## Linux
|
||||
|
||||
- Apps, GUI, Laptop specific items: [Link](../master/linux/Resources-Information.md)
|
||||
|
||||
## GrapheneOS
|
||||
|
||||
- Install: [Link](../master/linux/GrapheneOS-Install.md)
|
||||
54
linux/GrapheneOS-Install.md
Normal file
54
linux/GrapheneOS-Install.md
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
# Graphene OS
|
||||
|
||||
## Install
|
||||
|
||||
- https://grapheneos.org/install/cli
|
||||
|
||||
## Obtaining fastboot
|
||||
|
||||
You need an updated copy of the `fastboot` tool and the directory containing it needs to be included in the `PATH` environment variable. You can run `fastboot --version` to determine the current version. It must be at least `29.0.6`. You can use a distribution package for this, but most of them mistakenly package development snapshots of fastboot, clobber the standard version scheme for platform-tools (adb, fastboot, etc.) with their own scheme and don't keep it up-to-date despite that being crucial.
|
||||
|
||||
On Arch Linux, install `android-tools` and skip the section below on using the standalone release of platform-tools from Android:
|
||||
|
||||
`sudo pacman -S android-tools`
|
||||
|
||||
Debian and Ubuntu do not have a usable package for fastboot. Their packages for these tools are both broken and many years out-of-date. Follow the instructions below for platforms without a proper package.
|
||||
|
||||
### Standalone platform-tools
|
||||
|
||||
If your operating system doesn't include a usable version of fastboot, you can use the official standalone releases of platform-tools. This is our recommendation for most users. The flashing process won't work unless you follow these instructions including setting up PATH.
|
||||
|
||||
To download, verify and extract the standalone platform-tools on Debian and Ubuntu:
|
||||
|
||||
```
|
||||
sudo apt install libarchive-tools
|
||||
curl -O https://dl.google.com/android/repository/platform-tools_r30.0.5-linux.zip
|
||||
echo 'd6d72d006c03bd55d49b6cef9f00295db02f0a31da10e121427e1f4cb43e7cb9 platform-tools_r30.0.5-linux.zip' | sha256sum -c
|
||||
bsdtar xvf platform-tools_r30.0.5-linux.zip
|
||||
```
|
||||
|
||||
To download, verify and extract the standalone platform-tools on macOS:
|
||||
|
||||
```
|
||||
curl -O https://dl.google.com/android/repository/eabcd8b4b7ab518c6af9c941af8494072f17ec4b.platform-tools_r30.0.5-darwin.zip
|
||||
echo 'SHA256 (eabcd8b4b7ab518c6af9c941af8494072f17ec4b.platform-tools_r30.0.5-darwin.zip) = e5780bad71a53cf9d693e1053a0748f49e4a67cc1f71d16a94ab4c943af3345f' | shasum -c
|
||||
tar xvf eabcd8b4b7ab518c6af9c941af8494072f17ec4b.platform-tools_r30.0.5-darwin.zip
|
||||
```
|
||||
|
||||
To download, verify and extract the standalone platform-tools on Windows:
|
||||
|
||||
```
|
||||
curl -O https://dl.google.com/android/repository/platform-tools_r30.0.5-windows.zip
|
||||
(Get-FileHash platform-tools_r30.0.5-windows.zip).hash -eq "549ba2bdc31f335eb8a504f005f77606a479cc216d6b64a3e8b64c780003661f"
|
||||
tar xvf platform-tools_r30.0.5-windows.zip
|
||||
```
|
||||
|
||||
Next, add the tools to your `PATH` in the current shell so they can be used without referencing them by file path, enabling usage by the flashing script.
|
||||
|
||||
On Debian, Ubuntu and macOS:
|
||||
|
||||
`export PATH="$PWD/platform-tools:$PATH"`
|
||||
|
||||
On Windows:
|
||||
|
||||
`$env:Path = "$pwd\platform-tools;$env:Path"`
|
||||
Loading…
Reference in a new issue