GithubHelp home page GithubHelp logo

cuiconfig's Introduction

Personal setup stuff for ubuntu CUI

Document my personal experience on setting up ubuntu.

Setup micro editor and change sudo setting

curl https://getmic.ro | bash ; sudo ./micro /etc/sudoers

Add <USERNAME> ALL=(ALL) NOPASSWD:ALL to set no passwd sudo

make micro globally accessable

sudo ln -s ${PWD}/micro /usr/bin

To use scripts for the following steps, needs to clone the repo first

git clone https://github.com/Gray-Stone/CuiConfig.git

Recomand clone into home dir

Setup commonly dependnet software and zsh, on-my-zsh:

use script to do the following command in one shot:

./CuiConfig/InstallUpToZSH.sh
# Install dependencies for to following installs. 
sudo apt update; sudo apt -y install git; sudo apt -y install  curl;

#Install zsh and oh-my-zsh
sudo apt-get -y install  zsh; sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended;

#install plugins

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

Set zsh as default shell

chsh -s $(which zsh)

replace the default .zshrc with custom one to get headstart.

cp ~/CuiConfig/.zshrc ~/.zshrc

Install Syncthing for quickly sync files over

./CuiConfig/InstallSyncthing.sh

Might also need this bit to make syncthing work sudo apt-get install apt-transport-https"

add syncthing to systemd

Following command will make syncthing run in systemd as current user.

systemctl enable syncthing@${USER}.service;\
systemctl start syncthing@${USER}.service

cuiconfig's People

Contributors

gray-stone avatar leoqc avatar

Watchers

James Cloos avatar  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.