Giter VIP home page Giter VIP logo

setup-server's Introduction

Setup server

These instructions are for setting up an Ubuntu 12.04.2 LTS cloud server.

When creating the server instance on the cloud service providers, use the hostname naming conventions when asked for the hostname.

If it's not a temporary test/staging server, then it will probably have a longer life and/or will be shared with other devices or people, so it would be good to create a DNS record.

Install git and clone this rep

cd $HOME
sudo addgroup dev
sudo apt-get install vim
sudo apt-get install -y git-core
git clone https://github.com/alexgociu/setup-server.git

If you wish to install LAMP (Apache, PHP and MySQL) then run

./setup-server/setup-lamp.sh

If you wish to install node.js then run

./setup-server/setup-node.sh

Use these instructions to add users for yourself and for your team members on the server

After all the users are added, edit sshd config

vim /etc/ssh/sshd_config

Disable ssh password auth and enable rsa auth

PasswordAuthentication no
RSAAuthentication yes

Restart ssh service

sudo service ssh restart

Update the hostname and reboot

sudo vim /etc/hostname
sudo reboot

Ssh to the server using your newly created user and follow these instructions to connect to github and setup your own individual dev environment

ssh username@hostname

setup-server's People

Contributors

alexgociu avatar

Watchers

 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.