ubuntu setup
This commit is contained in:
parent
e6ef31b554
commit
cb5eb90489
43
ubuntu/new_server.md
Normal file
43
ubuntu/new_server.md
Normal file
@ -0,0 +1,43 @@
|
||||
apt update
|
||||
```
|
||||
sudo apt update
|
||||
sudo apt upgrade
|
||||
//sometimes network-manager service is not running after update and cannot resolve addresses
|
||||
sudo service network-manager start
|
||||
sudo ln -sf /run/resolvconf/resolv.conf /etc/resolv.conf
|
||||
```
|
||||
also had to reference [this article](https://askubuntu.com/questions/368435/how-do-i-fix-dns-resolving-which-doesnt-work-after-upgrading-to-ubuntu-13-10-s)
|
||||
|
||||
version control /etc
|
||||
```
|
||||
cd //etc
|
||||
sudo git init
|
||||
sudo git add .
|
||||
sudo git commit -m "initial setup"
|
||||
```
|
||||
|
||||
pspg pager
|
||||
```
|
||||
sudp apt-get install pspg
|
||||
```
|
||||
|
||||
postgres
|
||||
```
|
||||
sudo vim /etc/apt/sources.list.d/pgdg.list
|
||||
deb http://apt.postgresql.org/pub/repos/apt/ bionic-pgdg main
|
||||
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
|
||||
sudo apt-get update
|
||||
sudo apt-get install postgresql-11
|
||||
```
|
||||
|
||||
vundle
|
||||
```
|
||||
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
|
||||
```
|
||||
|
||||
dotfiles (depends on vundle currently)
|
||||
```
|
||||
git clone "https://fleetside@bitbucket.com/fleetside/dotfiles.git"
|
||||
cp -R ~/dotfiles/. ~/
|
||||
sudo rm -r dotfiles/
|
||||
```
|
Loading…
Reference in New Issue
Block a user