Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/hellsan631/ubuntu-setup-guides
- Owner: hellsan631
- Created: 2015-05-18T04:52:04.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-04T02:16:08.000Z (almost 8 years ago)
- Last Synced: 2023-04-07T22:42:23.919Z (over 1 year ago)
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)