by
1,258 13
0
2
109
0
Popular
Specified
Created
Modified Sep 2, 2017

Published on:

No tags for this snippet yet.
Languagecsharp
LanguageText
SourceGitHub
SourceMyGists

Provision Ubuntu 16.04 Server

Provision Ubuntu 16.04 Server: 
ubuntu_server_provision.txt
Copy Embed Code
<iframe id="embedFrame" style="width:600px; height:300px;"
src="https://www.snip2code.com/Embed/2582057/Provision-Ubuntu-16-04-Server?startLine=0"></iframe>
Click on the embed code to copy it into your clipboard Width Height
Leave empty to retrieve all the content Start End
- Postgres sudo apt install postgresql move databases - Samba File Server https://help.ubuntu.com/lts/serverguide/samba-fileserver.html - Elastic Search https://www.digitalocean.com/community/tutorials/how-to-install-elasticsearch-on-an-ubuntu-vps sudo add-apt-repository ppa:webupd8team/java sudo apt install oracle-java8-installer wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.4.0.deb sudo dpkg -i elasticsearch-5.4.0.deb - Logstash wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - echo "deb https://artifacts.elastic.co/packages/5.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-5.x.list sudo apt install logstash=1:5.4.0-1 sudo systemctl stop logstash sudo systemctl start logstash sudo systemctl enable logstash - Kibana https://www.elastic.co/guide/en/kibana/current/deb.html wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - sudo apt-get install apt-transport-https echo "deb https://artifacts.elastic.co/packages/5.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-5.x.list sudo systemctl enable kibana -------------------- - Beats wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - echo "deb https://artifacts.elastic.co/packages/5.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-5.x.list sudo apt-get update && sudo apt-get install filebeat # sudo update-rc.d filebeat defaults 95 10 - Mongo https://docs.mongodb.com/manual/administration/production-notes/#kernel-and-file-systems https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6 echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list sudo apt update apt cache madison mongodb-org sudo apt install mongodb-org=3.4.4 move databases ----------- - Neo4j https://neo4j.com/download/community-edition/ sudo wget https://neo4j.com/artifact.php?name=neo4j-community-3.2.0-unix.tar.gz https://www.digitalocean.com/community/tutorials/how-to-install-neo4j-on-an-ubuntu-vps wget -O - http://debian.neo4j.org/neotechnology.gpg.key | apt-key add - echo 'deb http://debian.neo4j.org/repo stable/' > /etc/apt/sources.list.d/neo4j.list sudo apt update apt-cache madison neo4j | head sudo apt install neo4j=3.2.0 ## nginx apt-cache madison nginx nginx | 1.10.0-0ubuntu0.16.04.4 | http://tr.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages nginx | 1.10.0-0ubuntu0.16.04.4 | http://tr.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages nginx | 1.10.0-0ubuntu0.16.04.4 | http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages nginx | 1.10.0-0ubuntu0.16.04.4 | http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages nginx | 1.9.15-0ubuntu1 | http://tr.archive.ubuntu.com/ubuntu xenial/main amd64 Packages nginx | 1.9.15-0ubuntu1 | http://tr.archive.ubuntu.com/ubuntu xenial/main i386 Packages apt install nginx=1.10.0-0ubuntu0.16.04.4 ---------------------------------------- - Docker https://docs.docker.com/engine/installation/linux/ubuntu/#install-using-the-repository ahmed@ubuntuserver:~$ apt-cache madison docker-ce docker-ce | 17.03.1~ce-0~ubuntu-xenial | https://download.docker.com/linux/ubuntu xenial/stable amd64 Packages docker-ce | 17.03.0~ce-0~ubuntu-xenial | https://download.docker.com/linux/ubuntu xenial/stable amd64 Packages sudo apt install docker-ce=17.03.1~ce-0~ubuntu-xenial - Docker Machine Host docker-machine create --driver none --url=tcp://192.168.1.21:2376 default docker-machine regenerate-certs default - KVM https://help.ubuntu.com/community/KVM/Installation sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils sudo apt-get install nmap sudo apt install python-setuptools sudo apt install python-pip - Influx Time Series DB docker pull telegraf:1.3-alpine wget https://dl.influxdata.com/telegraf/releases/telegraf_1.3.1-1_amd64.deb sudo dpkg -i telegraf_1.3.1-1_amd64.deb docker pull influxdb:1.2-alpine wget https://dl.influxdata.com/influxdb/releases/influxdb_1.2.4_amd64.deb sudo dpkg -i influxdb_1.2.4_amd64.deb docker pull quay.io/influxdb/chronograf:1.3.1.0 wget https://dl.influxdata.com/chronograf/releases/chronograf_1.3.1.0_amd64.deb sudo dpkg -i chronograf_1.3.1.0_amd64.deb docker pull kapacitor:1.3.1-alpine wget https://dl.influxdata.com/kapacitor/releases/kapacitor_1.3.1_amd64.deb sudo dpkg -i kapacitor_1.3.1_amd64.deb
If you want to be updated about similar snippets, Sign in and follow our Channels

blog comments powered by Disqus