Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hellsan631/ubuntu-setup-guides

Handy Ubuntu User Setup Guides
https://github.com/hellsan631/ubuntu-setup-guides

Last synced: 6 days ago
JSON representation

Handy Ubuntu User Setup Guides

Awesome Lists containing this project

README

        

# ubuntu-setup-guides
Handy Ubuntu User Setup Guides

- [Setup a non-root user](https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-14-04)
- [Add some swapfile](https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-14-04)
- Install Python
```
sudo add-apt-repository ppa:fkrull/deadsnakes
sudo apt-get update
sudo apt-get install python2.7
```
- [Install Git](https://www.digitalocean.com/community/tutorials/how-to-install-git-on-ubuntu-14-04)
- Install Dependencies
```
sudo apt-get install build-essential libssl-dev libcurl4-gnutls-dev libexpat1-dev gettext unzip
```
- [Install NodeJS](https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-an-ubuntu-14-04-server)
- Update NodeJS
```
sudo npm cache clean -f
sudo npm install -g n
sudo n stable
```
- Own your node directories
```
sudo chown -R $USER /usr/local/bin
sudo chown -R $USER /usr/local/lib/node_modules
```
- Install Mongo
```
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install -y mongodb
```
- [Screen](https://help.ubuntu.com/community/Screen)

### Trouble Shooting
- Redirect port traffic
```
sudo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3000
```
- Install Loopback/Bower
```
npm install -g strongloop
npm install -g bower
```
- [Install Loopback StrongPm as service](http://strong-pm.io/prod/)

- [Save IP Tables Rules](http://askubuntu.com/questions/119393/how-to-save-rules-of-the-iptables)
- [Setup Spamassassin](https://www.digitalocean.com/community/tutorials/how-to-install-and-setup-spamassassin-on-ubuntu-12-04)