Skip to content

Instantly share code, notes, and snippets.

@rickbacci
Last active January 25, 2019 21:37
Show Gist options
  • Save rickbacci/1a5bccd9d9c7ae71481cc3c54884f325 to your computer and use it in GitHub Desktop.
Save rickbacci/1a5bccd9d9c7ae71481cc3c54884f325 to your computer and use it in GitHub Desktop.

Revisions

  1. rickbacci revised this gist Jan 25, 2019. 1 changed file with 4 additions and 2 deletions.
    6 changes: 4 additions & 2 deletions fedora_setup.md
    Original file line number Diff line number Diff line change
    @@ -29,12 +29,14 @@ rm -rf Desktop/
    ln -s Dropbox/Desktop/ Desktop
    rm -rf Documents/
    ln -s Dropbox/Documents/ Documents
    rm -rf Downloads/
    ln -s Dropbox/Downloads Downloads
    # leave Downloads folder since we don't want to upload every single thing we download
    rm -rf Music/
    ln -s Dropbox/Music Music
    rm -rf Pictures/
    ln -s Dropbox/Pictures Pictures
    rm -rf Videos/
    ln -s Dropbox/Videos Videos
    ln -s Dropbox/Workspace Workspace
  2. rickbacci revised this gist Aug 6, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion fedora_setup.md
    Original file line number Diff line number Diff line change
    @@ -157,7 +157,7 @@ gem install rails
    ```
    ## Install Node
    ```
    sudo dnf install nodejs
    Install NVM!!!
    ```

    ## Install Openshift Client
  3. rickbacci revised this gist Jul 18, 2018. 1 changed file with 14 additions and 25 deletions.
    39 changes: 14 additions & 25 deletions fedora_setup.md
    Original file line number Diff line number Diff line change
    @@ -112,22 +112,12 @@ ln -s Dropbox/Dotfiles/config/nvim nvim
    ```

    ## Install Hub

    * Download files to Dropbox
    * Rename folder to hub-linux
    * Add Hub to path in .bashrc
    ```export PATH="$PATH:$HOME/Dropbox/Apps/hub-linux/bin/"```
    * Add Hub bash completion to .bashrc
    ```
    if [ -f $HOME/Dropbox/Apps/hub-linux/etc/hub.bash_completion.sh ] ; then
    . $HOME/Dropbox/Apps/hub-linux/etc/hub.bash_completion.sh
    fi
    ```
    * From root directory
    ```
    sudo cp -r home/rickbacci/Dropbox/Apps/hub-linux/share/man/man1/ usr/share/man/
    sudo chmod 644 /usr/share/man/man1/hub.1
    sudo dnf install hub
    # TODO: check bash completion
    ```

    ## Install dependencies for Ruby
    [link](https://www.itzgeek.com/how-tos/linux/ubuntu-how-tos/install-ruby-on-rails-on-ubuntu-centos-fedora-using-rbenv.html)
    ```
    @@ -140,13 +130,12 @@ sudo yum install git-core zlib zlib-devel gcc-c++ patch readline readline-devel
    ```
    cd
    git clone git://github.com/sstephenson/rbenv.git .rbenv
    echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
    echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
    exec $SHELL
    git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
    echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bash_profile
    exec $SHELL
    # Add to .bash_profile if needed
    export PATH="$HOME/.rbenv/bin:$PATH"
    eval "$(rbenv init -)"
    export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"
    ```

    ### Install Ruby
    @@ -167,15 +156,14 @@ gem install rspec
    gem install rails
    ```
    ## Install Node

    ```
    sudo yum install nodejs
    sudo dnf install nodejs
    ```

    ## Install Openshift Client

    Binary sourced from Dropbox/Apps/openshift-client in .bash_profile

    ```
    sudo dnf install origin
    ```
    ## Install Ansible
    ```
    sudo dnf install ansible
    @@ -184,6 +172,7 @@ sudo dnf install ansible
    ## Install AWS commandline tools
    ```
    sudo dnf install awscli
    # TODO: Ruby aws-sdk tools
    ```

    ## Install Docker
  4. rickbacci revised this gist Jul 18, 2018. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion fedora_setup.md
    Original file line number Diff line number Diff line change
    @@ -107,7 +107,8 @@ ln -s Dropbox/Dotfiles/aws-tradery .aws-tradery
    dnf install neovim
    dnf install python2-neovim python3-neovim
    ln -s Dropbox/Dotfiles/config/nvim .config/nvim
    # From .config/
    ln -s Dropbox/Dotfiles/config/nvim nvim
    ```

    ## Install Hub
  5. rickbacci revised this gist Jul 18, 2018. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion fedora_setup.md
    Original file line number Diff line number Diff line change
    @@ -90,10 +90,13 @@ ln -s Dropbox/Dotfiles/gitmessage.txt .gitmessage.txt
    ln -s Dropbox/Dotfiles/gemrc .gemrc
    ln -s Dropbox/Dotfiles/rspec .rspec
    ln -s Dropbox/Dotfiles/ssh .ssh'
    ln -s Dropbox/Dotfiles/aws-tradery .aws-tradery
    rm .bashrc
    ln -s Dropbox/Dotfiles/bashrc .bashrc
    rm .bash_profile
    ln -s Dropbox/Dotfiles/bash_profile .bash_profile
    ln -s Dropbox/Apps/rbenv/ .rbenv
    ln -s Dropbox/Dotfiles/aws-tradery .aws-tradery
    #TODO: remaining Dotfiles
    ```
  6. rickbacci revised this gist Jul 18, 2018. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions fedora_setup.md
    Original file line number Diff line number Diff line change
    @@ -72,6 +72,8 @@ usermod -a -G vboxusers <username>
    # Set kernel directory to avoid problems
    export KERN_DIR=/usr/src/kernels/`uname -r`
    echo $KERN_DIR
    VirtualBox
    ```

    ## Install Chromium/Chrome
  7. rickbacci revised this gist Jul 18, 2018. 1 changed file with 26 additions and 16 deletions.
    42 changes: 26 additions & 16 deletions fedora_setup.md
    Original file line number Diff line number Diff line change
    @@ -41,27 +41,37 @@ ln -s Dropbox/Workspace Workspace
    ```
    ## Install Virtualbox

    ### Set kernel directory variable

    ```
    uname -a
    KERN_DIR=/usr/src/kernels/`uname -r`
    export KERN_DIR
    echo $KERN_DIR
    [link](https://www.if-not-true-then-false.com/2010/install-virtualbox-with-yum-on-fedora-centos-red-hat-rhel/)
    ```
    sudo -i
    ### Install missing dependencies
    cd /etc/yum.repos.d/
    wget http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo
    ```
    sudo dnf install kernel-devel
    sudo dnf install elfutils-libelf-devel
    ```
    dnf update
    ### Run configuration
    # Verify kernels are same version (reboot if they are not)
    rpm -qa kernel |sort -V |tail -n 1
    ```
    sudo /sbin/vboxconfig
    uname -r
    reboot
    # Install dependencies
    dnf install binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel dkms
    # Install latest virtualbox
    dnf install VirtualBox-5.2
    # rebuild kernel modules
    /usr/lib/virtualbox/vboxdrv.sh setup
    # Add user to vboxusers group
    usermod -a -G vboxusers <username>
    # Set kernel directory to avoid problems
    export KERN_DIR=/usr/src/kernels/`uname -r`
    echo $KERN_DIR
    ```

    ## Install Chromium/Chrome
  8. rickbacci revised this gist Jul 17, 2018. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions fedora_setup.md
    Original file line number Diff line number Diff line change
    @@ -242,6 +242,7 @@ sudo rpm -i ~/Downloads/slack-3.2.1-0.1.fc21.x86_64.rpm
    ## Install Telegram desktop
    ```
    sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
    sudo dnf install telegram-desktop.x86_64
    ```

    ## TODO
  9. rickbacci revised this gist Jul 17, 2018. 1 changed file with 5 additions and 0 deletions.
    5 changes: 5 additions & 0 deletions fedora_setup.md
    Original file line number Diff line number Diff line change
    @@ -239,6 +239,11 @@ https://slack.com/downloads/linux
    sudo rpm -i ~/Downloads/slack-3.2.1-0.1.fc21.x86_64.rpm
    ```

    ## Install Telegram desktop
    ```
    sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
    ```

    ## TODO

    neovim plugins - What do I really need?
  10. rickbacci revised this gist Jul 17, 2018. 1 changed file with 26 additions and 0 deletions.
    26 changes: 26 additions & 0 deletions fedora_setup.md
    Original file line number Diff line number Diff line change
    @@ -201,6 +201,32 @@ sudo systemctl start docker
    ```
    [Research this](https://docs.docker.com/install/linux/linux-postinstall/)

    ## Install Docker Compose
    ```
    curl -L https://github.com/docker/compose/releases/download/1.22.0-rc2/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
    chmod +x /usr/local/bin/docker-compose
    # Verify install
    docker-compose --version
    # Add bash completion
    sudo curl -L https://raw.githubusercontent.com/docker/compose/1.22.0-rc2/contrib/completion/bash/docker-compose -o /etc/bash_completion.d/docker-compose
    ```

    ## Install Docker Machine
    ```
    curl -L https://github.com/docker/machine/releases/download/v0.15.0/docker-machine-$(uname -s)-$(uname -m) >/tmp/docker-machine &&
    chmod +x /tmp/docker-machine &&
    sudo cp /tmp/docker-machine /usr/local/bin/docker-machine
    # Verify install
    docker-machine version
    # Install bash completion
    scripts=( docker-machine-prompt.bash docker-machine-wrapper.bash docker-machine.bash ); for i in "${scripts[@]}"; do sudo wget https://raw.githubusercontent.com/docker/machine/v0.15.0/contrib/completion/bash/${i} -P /etc/bash_completion.d; done
    ```

    ## Install Slack
    ```
    # Install libappindicator
  11. rickbacci revised this gist Jul 17, 2018. No changes.
  12. rickbacci revised this gist Jul 17, 2018. 1 changed file with 10 additions and 0 deletions.
    10 changes: 10 additions & 0 deletions fedora_setup.md
    Original file line number Diff line number Diff line change
    @@ -201,7 +201,17 @@ sudo systemctl start docker
    ```
    [Research this](https://docs.docker.com/install/linux/linux-postinstall/)

    ## Install Slack
    ```
    # Install libappindicator
    sudo dnf install libappindicator
    # Download rpm file
    https://slack.com/downloads/linux
    # Install
    sudo rpm -i ~/Downloads/slack-3.2.1-0.1.fc21.x86_64.rpm
    ```

    ## TODO

  13. rickbacci revised this gist Jul 17, 2018. 1 changed file with 27 additions and 2 deletions.
    29 changes: 27 additions & 2 deletions fedora_setup.md
    Original file line number Diff line number Diff line change
    @@ -171,10 +171,35 @@ sudo dnf install awscli
    ```

    ## Install Docker
    ```

    ```

    # Remove old versions
    sudo dnf remove docker \
    docker-client \
    docker-client-latest \
    docker-common \
    docker-latest \
    docker-latest-logrotate \
    docker-logrotate \
    docker-selinux \
    docker-engine-selinux \
    docker-engine
    # Install dnf-plugins-core to manager dnf installs
    sudo dnf -y install dnf-plugins-core
    # Add stable release
    sudo dnf config-manager \
    --add-repo \
    https://download.docker.com/linux/fedora/docker-ce.repo
    # Install Docker CE
    sudo dnf install docker-ce
    # Start Docker
    sudo systemctl start docker
    ```
    [Research this](https://docs.docker.com/install/linux/linux-postinstall/)



  14. rickbacci revised this gist Jul 17, 2018. 1 changed file with 5 additions and 0 deletions.
    5 changes: 5 additions & 0 deletions fedora_setup.md
    Original file line number Diff line number Diff line change
    @@ -181,8 +181,13 @@ sudo dnf install awscli
    ## TODO

    neovim plugins - What do I really need?

    prompt - docker machines/git status

    Docker GUI - npm install -g dockly

    zoom

    gnupg

    password-store
  15. rickbacci revised this gist Jul 17, 2018. 1 changed file with 13 additions and 1 deletion.
    14 changes: 13 additions & 1 deletion fedora_setup.md
    Original file line number Diff line number Diff line change
    @@ -161,9 +161,21 @@ sudo yum install nodejs
    Binary sourced from Dropbox/Apps/openshift-client in .bash_profile

    ## Install Ansible
    ```
    sudo dnf install ansible
    ```

    ## Install Docker
    ## Install AWS commandline tools
    ```
    sudo dnf install awscli
    ```

    ## Install Docker
    ```
    ```




    ## TODO
  16. rickbacci revised this gist Jul 17, 2018. 1 changed file with 18 additions and 3 deletions.
    21 changes: 18 additions & 3 deletions fedora_setup.md
    Original file line number Diff line number Diff line change
    @@ -133,20 +133,35 @@ echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bash_profil
    exec $SHELL
    ```

    ## Install Ruby
    ### Install Ruby

    ```
    rbenv install ruby --list
    rbenv install 2.5.1
    rbenv global 2.5.1
    ruby -v
    ```

    ### Install global gems
    ```
    gem install bundler
    gem install ffi
    gem install bindex
    gem install rspec
    gem install rails
    ```
    ## Install Node

    ```
    sudo yum install nodejs
    ```

    ## Install Openshift Client

    Binary sourced from Dropbox/Apps/openshift-client
    Binary sourced from Dropbox/Apps/openshift-client in .bash_profile

    ## Install Node
    ## Install Ansible

    ## Install Docker
    ## Install AWS commandline tools

  17. rickbacci revised this gist Jul 17, 2018. 1 changed file with 7 additions and 6 deletions.
    13 changes: 7 additions & 6 deletions fedora_setup.md
    Original file line number Diff line number Diff line change
    @@ -109,10 +109,9 @@ fi
    ```
    * From root directory
    ```
    sudo cp -r home/rickbacci/Dropbox/Apps/hub-linux/share/man/man1/ usr/share/man/man1/
    sudo cp -r home/rickbacci/Dropbox/Apps/hub-linux/share/man/man1/ usr/share/man/
    sudo chmod 644 /usr/share/man/man1/hub.1
    ```

    ## Install dependencies for Ruby
    [link](https://www.itzgeek.com/how-tos/linux/ubuntu-how-tos/install-ruby-on-rails-on-ubuntu-centos-fedora-using-rbenv.html)
    ```
    @@ -134,7 +133,6 @@ echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bash_profil
    exec $SHELL
    ```


    ## Install Ruby

    ```
    @@ -143,17 +141,20 @@ rbenv install 2.5.1
    rbenv global 2.5.1
    ruby -v
    ```
    ## Install ansible
    ## Install Openshift Client

    Binary sourced from Dropbox/Apps/openshift-client

    ## Install Node
    ## Install Ansible
    ## Install Docker
    ## Install AWS commandline tools
    ## Install Openshift Client


    ## TODO

    neovim plugins - What do I really need?
    prompt - docker machines/git status
    google drive - Gnome gives access to files.
    Docker GUI - npm install -g dockly
    zoom
    gnupg
  18. rickbacci revised this gist Jul 17, 2018. 1 changed file with 11 additions and 4 deletions.
    15 changes: 11 additions & 4 deletions fedora_setup.md
    Original file line number Diff line number Diff line change
    @@ -79,6 +79,9 @@ ln -s Dropbox/Dotfiles/gemrc .gemrc
    ln -s Dropbox/Dotfiles/rspec .rspec
    ln -s Dropbox/Dotfiles/ssh .ssh'
    ln -s Dropbox/Dotfiles/aws-tradery .aws-tradery
    ln -s Dropbox/Dotfiles/bashrc .bashrc
    ln -s Dropbox/Dotfiles/bash_profile .bash_profile
    ln -s Dropbox/Apps/rbenv/ .rbenv
    #TODO: remaining Dotfiles
    ```
    @@ -97,17 +100,16 @@ ln -s Dropbox/Dotfiles/config/nvim .config/nvim
    * Download files to Dropbox
    * Rename folder to hub-linux
    * Add Hub to path in .bashrc

    ```export PATH="$PATH:$HOME/Dropbox/Apps/hub-linux/bin/"```
    * Add Hub bash completion to .bashrc
    ```
    if [ -f $HOME/Dropbox/Apps/hub-linux/etc/hub.bash_completion.sh ] ; then
    . $HOME/Dropbox/Apps/hub-linux/etc/hub.bash_completion.sh
    fi
    ```
    * From $HOME/Dropbox/Apps/hub-linux/
    * From root directory
    ```
    sudo cp -r share/ /usr/
    sudo cp -r home/rickbacci/Dropbox/Apps/hub-linux/share/man/man1/ usr/share/man/man1/
    sudo chmod 644 /usr/share/man/man1/hub.1
    ```

    @@ -117,6 +119,9 @@ sudo chmod 644 /usr/share/man/man1/hub.1
    sudo yum install git-core zlib zlib-devel gcc-c++ patch readline readline-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison curl sqlite-devel
    ```
    ## Install rbenv & ruby-build

    ### Download Files/Configure dotfiles **For reference only! Do this Once!**

    ```
    cd
    git clone git://github.com/sstephenson/rbenv.git .rbenv
    @@ -125,11 +130,13 @@ echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
    exec $SHELL
    git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
    echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc
    echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bash_profile
    exec $SHELL
    ```


    ## Install Ruby

    ```
    rbenv install ruby --list
    rbenv install 2.5.1
  19. rickbacci revised this gist Jul 17, 2018. 1 changed file with 24 additions and 10 deletions.
    34 changes: 24 additions & 10 deletions fedora_setup.md
    Original file line number Diff line number Diff line change
    @@ -1,25 +1,29 @@
    ## Install Fedora with snapshot support (LVM)
    ## Install Fedora

    ### Create partitions
    ### Create partitions for LVM and snapshot support

    * /boot 1024MiB
    * /boot/efi 200 MiB
    * / 50GB minimum
    * /swap 8GB to 24GB(hibernation) or none

    ### Update software repos

    ```
    sudo dnf update
    ```

    ## Install Dropbox

    https://www.dropbox.com/download?dl=packages/fedora/nautilus-dropbox-2015.10.28-1.fedora.x86_64.rpm

    ### Fix 'Dropbox cannot watch folder' error

    ```
    echo fs.inotify.max_user_watches=100000 | sudo tee -a /etc/sysctl.conf; sudo sysctl -
    ```
    ### Create symlinks for Dropbox folders
    ### Create symlinks to Dropbox folders

    ```
    rm -rf Desktop/
    ln -s Dropbox/Desktop/ Desktop
    @@ -35,27 +39,38 @@ rm -rf Videos/
    ln -s Dropbox/Videos Videos
    ln -s Dropbox/Workspace Workspace
    ```

    ## Install Virtualbox

    ### Set kernel directory variable

    ```
    yum list installed gcc kernel-devel kernel-headers
    uname -a
    KERN_DIR=/usr/src/kernels/`uname -r`
    export KERN_DIR
    echo $KERN_DIR
    ```

    ### Install missing dependencies

    ```
    sudo dnf install kernel-devel
    sudo dnf install elfutils-libelf-devel
    ```

    ### Run configuration

    ```
    sudo /sbin/vboxconfig
    ```

    ## Install Chromium/Chrome

    * Sign-in to 1password
    * Sign-in to Github

    ## Create links for Dotfiles

    ```
    ln -s Dropbox/Dotfiles/gitconfig .gitconfig
    ln -s Dropbox/Dotfiles/gitignore_global .gitignore_global
    @@ -65,16 +80,18 @@ ln -s Dropbox/Dotfiles/rspec .rspec
    ln -s Dropbox/Dotfiles/ssh .ssh'
    ln -s Dropbox/Dotfiles/aws-tradery .aws-tradery
    #TODO: remaining Dotfiles
    ```

    ## Install Neovim

    ```
    dnf install neovim
    dnf install python2-neovim python3-neovim
    ln -s Dropbox/Dotfiles/config/nvim .config/nvim
    ```

    ## Install Hub

    * Download files to Dropbox
    @@ -94,9 +111,6 @@ sudo cp -r share/ /usr/
    sudo chmod 644 /usr/share/man/man1/hub.1
    ```




    ## Install dependencies for Ruby
    [link](https://www.itzgeek.com/how-tos/linux/ubuntu-how-tos/install-ruby-on-rails-on-ubuntu-centos-fedora-using-rbenv.html)
    ```
  20. rickbacci revised this gist Jul 17, 2018. 1 changed file with 13 additions and 1 deletion.
    14 changes: 13 additions & 1 deletion fedora_setup.md
    Original file line number Diff line number Diff line change
    @@ -102,7 +102,19 @@ sudo chmod 644 /usr/share/man/man1/hub.1
    ```
    sudo yum install git-core zlib zlib-devel gcc-c++ patch readline readline-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison curl sqlite-devel
    ```
    ## Install Rbenv
    ## Install rbenv & ruby-build
    ```
    cd
    git clone git://github.com/sstephenson/rbenv.git .rbenv
    echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
    echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
    exec $SHELL
    git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
    echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc
    exec $SHELL
    ```

    ## Install Ruby
    ```
    rbenv install ruby --list
  21. rickbacci revised this gist Jul 17, 2018. 1 changed file with 7 additions and 1 deletion.
    8 changes: 7 additions & 1 deletion fedora_setup.md
    Original file line number Diff line number Diff line change
    @@ -95,7 +95,13 @@ sudo chmod 644 /usr/share/man/man1/hub.1
    ```


    ## Install dependencies for Rails


    ## Install dependencies for Ruby
    [link](https://www.itzgeek.com/how-tos/linux/ubuntu-how-tos/install-ruby-on-rails-on-ubuntu-centos-fedora-using-rbenv.html)
    ```
    sudo yum install git-core zlib zlib-devel gcc-c++ patch readline readline-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison curl sqlite-devel
    ```
    ## Install Rbenv
    ## Install Ruby
    ```
  22. rickbacci revised this gist Jul 17, 2018. 1 changed file with 17 additions and 27 deletions.
    44 changes: 17 additions & 27 deletions fedora_setup.md
    Original file line number Diff line number Diff line change
    @@ -75,18 +75,6 @@ dnf install python2-neovim python3-neovim
    ln -s Dropbox/Dotfiles/config/nvim .config/nvim
    ```


    ## Install dependencies for Rails
    ## Install Rbenv
    ## Install Ruby
    ```
    rbenv install ruby --list
    rbenv install 2.5.1
    rbenv global 2.5.1
    ruby -v
    ```

    ## Install Hub

    * Download files to Dropbox
    @@ -107,25 +95,27 @@ sudo chmod 644 /usr/share/man/man1/hub.1
    ```



    ## Install python

    TODO:

    neovim plugins
    aws
    docker
    openshift client

    ## Install dependencies for Rails
    ## Install Rbenv
    ## Install Ruby
    ```
    rbenv install ruby --list
    rbenv install 2.5.1
    rbenv global 2.5.1
    ruby -v
    ```
    ## Install ansible
    ## Install Docker
    ## Install AWS commandline tools
    ## Install Openshift Client

    git prompt
    google drive - Gnome gives access to files.

    ## Docker Gui
    npm install -g dockly
    dockly
    ## TODO

    neovim plugins - What do I really need?
    prompt - docker machines/git status
    google drive - Gnome gives access to files.
    Docker GUI - npm install -g dockly
    zoom
    gnupg
    password-store
  23. rickbacci revised this gist Jul 17, 2018. 1 changed file with 7 additions and 4 deletions.
    11 changes: 7 additions & 4 deletions fedora_setup.md
    Original file line number Diff line number Diff line change
    @@ -68,6 +68,13 @@ ln -s Dropbox/Dotfiles/aws-tradery .aws-tradery
    #TODO: remaining Dotfiles
    ```
    ## Install Neovim
    ```
    dnf install neovim
    dnf install python2-neovim python3-neovim
    ln -s Dropbox/Dotfiles/config/nvim .config/nvim
    ```


    ## Install dependencies for Rails
    @@ -99,10 +106,6 @@ sudo cp -r share/ /usr/
    sudo chmod 644 /usr/share/man/man1/hub.1
    ```

    ## Install Neovim
    ```
    ln -s Dropbox/Dotfiles/config/nvim .config/nvim
    ```


    ## Install python
  24. rickbacci revised this gist Jul 17, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion fedora_setup.md
    Original file line number Diff line number Diff line change
    @@ -93,7 +93,7 @@ if [ -f $HOME/Dropbox/Apps/hub-linux/etc/hub.bash_completion.sh ] ; then
    . $HOME/Dropbox/Apps/hub-linux/etc/hub.bash_completion.sh
    fi
    ```
    ### From $HOME/Dropbox/Apps/hub-linux/
    * From $HOME/Dropbox/Apps/hub-linux/
    ```
    sudo cp -r share/ /usr/
    sudo chmod 644 /usr/share/man/man1/hub.1
  25. rickbacci revised this gist Jul 17, 2018. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions fedora_setup.md
    Original file line number Diff line number Diff line change
    @@ -85,6 +85,7 @@ ruby -v
    * Download files to Dropbox
    * Rename folder to hub-linux
    * Add Hub to path in .bashrc

    ```export PATH="$PATH:$HOME/Dropbox/Apps/hub-linux/bin/"```
    * Add Hub bash completion to .bashrc
    ```
  26. rickbacci revised this gist Jul 17, 2018. 1 changed file with 30 additions and 30 deletions.
    60 changes: 30 additions & 30 deletions fedora_setup.md
    Original file line number Diff line number Diff line change
    @@ -52,73 +52,73 @@ sudo /sbin/vboxconfig
    ```

    ## Install Chromium/Chrome
    ### Sign-in to 1password
    ### Sign-in/configure Github
    * Sign-in to 1password
    * Sign-in to Github

    ## Create links for Dotfiles
    ```
    ln -s Dropbox/Dotfiles/gitconfig .gitconfig
    ln -s Dropbox/Dotfiles/gitignore_global .gitignore_global
    ln -s Dropbox/Dotfiles/gitmessage.txt .gitmessage.txt
    ```
    ### Configure Gems/Rspec
    ```
    ln -s Dropbox/Dotfiles/gemrc .gemrc
    ln -s Dropbox/Dotfiles/rspec .rspec
    ```

    ln -s Dropbox/Dotfiles/ssh .ssh'
    ln -s Dropbox/Dotfiles/aws-tradery .aws-tradery
    #TODO: remaining Dotfiles
    ```


    Install dependencies for Rails
    Install Rbenv
    Install Ruby
    ## Install dependencies for Rails
    ## Install Rbenv
    ## Install Ruby
    ```
    rbenv install ruby --list
    rbenv install 2.5.1
    rbenv global 2.5.1
    ruby -v
    ```

    ## Install Hub

    * Download files to Dropbox
    * Rename folder to hub-linux
    * Source Hub binary in .bashrc
    ```export PATH="$PATH:$HOME/Dropbox/Apps/hub-linux/bin/"```

    # load Hub Linux bash completion
    * Add Hub to path in .bashrc
    ```export PATH="$PATH:$HOME/Dropbox/Apps/hub-linux/bin/"```
    * Add Hub bash completion to .bashrc
    ```
    if [ -f $HOME/Dropbox/Apps/hub-linux/etc/hub.bash_completion.sh ] ; then
    . $HOME/Dropbox/Apps/hub-linux/etc/hub.bash_completion.sh
    fi

    # from hub-linux
    ```
    ### From $HOME/Dropbox/Apps/hub-linux/
    ```
    sudo cp -r share/ /usr/
    sudo chmod 644 /usr/share/man/man1/hub.1
    ```



    Install Neovim
    setup
    ## Install Neovim
    ```
    ln -s Dropbox/Dotfiles/config/nvim .config/nvim
    ```

    Configure ssh
    ln -s Dropbox/Dotfiles/ssh .ssh

    Source AWS tradery keys
    ln -s Dropbox/Dotfiles/aws-tradery .aws-tradery

    Install python
    ## Install python

    TODO: neovim plugins
    TODO:

    neovim plugins
    aws
    docker
    openshift client

    Install ansible
    ## Install ansible

    git prompt - done enough for now
    git prompt
    google drive - Gnome gives access to files.

    # Docker Gui
    ## Docker Gui
    npm install -g dockly
    dockly

  27. rickbacci revised this gist Jul 17, 2018. 1 changed file with 6 additions and 7 deletions.
    13 changes: 6 additions & 7 deletions fedora_setup.md
    Original file line number Diff line number Diff line change
    @@ -77,13 +77,12 @@ rbenv install 2.5.1
    rbenv global 2.5.1
    ruby -v

    Install Hub
    Downloaded files to Dropbox
    Renamed folder to hub-linux
    In .bashrc
    ### Setup Hub
    # adds Hub-linux
    export PATH="$PATH:$HOME/Dropbox/Apps/hub-linux/bin/"
    ## Install Hub

    * Download files to Dropbox
    * Rename folder to hub-linux
    * Source Hub binary in .bashrc
    ```export PATH="$PATH:$HOME/Dropbox/Apps/hub-linux/bin/"```

    # load Hub Linux bash completion
    if [ -f $HOME/Dropbox/Apps/hub-linux/etc/hub.bash_completion.sh ] ; then
  28. rickbacci revised this gist Jul 17, 2018. 1 changed file with 4 additions and 2 deletions.
    6 changes: 4 additions & 2 deletions fedora_setup.md
    Original file line number Diff line number Diff line change
    @@ -1,14 +1,16 @@
    ## Install Fedora with snapshot support (LVM)

    ### Create partitions

    * /boot 1024MiB
    * /boot/efi 200 MiB
    * / 50GB minimum
    * /swap 8GB to 24GB(hibernation) or none

    ### Update software repos

    ```
    sudo dnf update

    ```
    ## Install Dropbox

    https://www.dropbox.com/download?dl=packages/fedora/nautilus-dropbox-2015.10.28-1.fedora.x86_64.rpm
  29. rickbacci revised this gist Jul 17, 2018. 1 changed file with 9 additions and 11 deletions.
    20 changes: 9 additions & 11 deletions fedora_setup.md
    Original file line number Diff line number Diff line change
    @@ -34,7 +34,7 @@ ln -s Dropbox/Videos Videos
    ln -s Dropbox/Workspace Workspace
    ```

    **Install Virtualbox**
    ## Install Virtualbox
    ```
    yum list installed gcc kernel-devel kernel-headers
    uname -a
    @@ -49,21 +49,19 @@ sudo dnf install elfutils-libelf-devel
    sudo /sbin/vboxconfig
    ```

    Install Chromium/Chrome
    Sign-in to 1password


    Configure Github

    ## Install Chromium/Chrome
    ### Sign-in to 1password
    ### Sign-in/configure Github
    ```
    ln -s Dropbox/Dotfiles/gitconfig .gitconfig
    ln -s Dropbox/Dotfiles/gitignore_global .gitignore_global
    ln -s Dropbox/Dotfiles/gitmessage.txt .gitmessage.txt


    ```
    ### Configure Gems/Rspec
    ```
    ln -s Dropbox/Dotfiles/gemrc .gemrc
    ln -s Dropbox/Dotfiles/rspec .rspec


    ```



  30. rickbacci revised this gist Jul 17, 2018. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions fedora_setup.md
    Original file line number Diff line number Diff line change
    @@ -5,19 +5,19 @@
    * / 50GB minimum
    * /swap 8GB to 24GB(hibernation) or none

    **Update software repos**
    ### Update software repos

    sudo dnf update

    **Install Dropbox**
    ## Install Dropbox

    https://www.dropbox.com/download?dl=packages/fedora/nautilus-dropbox-2015.10.28-1.fedora.x86_64.rpm

    Fix 'Dropbox cannot watch folder' error
    ### Fix 'Dropbox cannot watch folder' error
    ```
    echo fs.inotify.max_user_watches=100000 | sudo tee -a /etc/sysctl.conf; sudo sysctl -
    ```
    **Create symlinks for Dropbox folders**
    ### Create symlinks for Dropbox folders
    ```
    rm -rf Desktop/
    ln -s Dropbox/Desktop/ Desktop