Prod Setup. Documentation and notes from creating my personal site. Phase 1 - Getting Started. BookStack Installation.

Size: px
Start display at page:

Download "Prod Setup. Documentation and notes from creating my personal site. Phase 1 - Getting Started. BookStack Installation."

Transcription

1 Prod Setup Documentation and notes from creating my personal site Phase 1 - Getting Started BookStack Installation MySQL Backups GitLab Installation Restya Installation Landing Page / Dashboard WordPress Blog Installation TIG Stack Install & Initial Configuration Install OwnCloud UrBackup Server Installation UrBackup Client install Telegraf client installation Node-Red installation

2 Phase 1 - Getting Started

3 Phase 1 - Getting Started BookStack Installation Server Setup 1GB VPS Server will only host 1 application (this) Debian 9 - Stretch kernel bare Linux install. Requirements There's a guide for requirements and installation here apt install nginx systemctl enable nginx apt install mariadb-server php7.0-mysql systemctl start mariadb systemctl enable mariadb mysql_secure_installation apt install php7.0-fpmsudo sed -i 's/;cgi.fix_pathinfo=1/cgi.fix_pathinfo=0/g' /etc/php/7.0/fpm/php.iniapt install php-mbstring php-tokenizer php-mysqlnd php-gd phpsimplexml php-dom php-tidy php-zip unzip

4 Then because this is the only site being served; rm -rf /var/www/html rm /etc/nginx/sites-available/default rm /etc/nginx/sites-enabled/default Installing the BookStack Application Very simple, go to folder, clone git repo, be OCD about lower case and then enter the application directory cd /var/www/git clone --branch release -single-branch mv BookStack bookstack cd bookstack Install composer by copying the script here The SHA hash changes each time the installer is updated, so copying my commands won't help. php -r "copy(' 'composer-setup.php');"php -r "if (hash_file('sha384', 'composer-setup.php') === '93b c ac18b134c3b3a95e5a5e5c8f1a9f115f203b75bf9a129d5daa8ba6a13e2cc8a1da a8') { echo 'Installer verified'; else { echo 'Installer corrupt'; unlink('composersetup.php'); echo PHP_EOL;" php composer-setup.php php -r "unlink('composer-setup.php');" I didn't want to install it globally, so, just ran this; php composer.phar

5 Once this runs successfully, do the following to get the permissions in order; cp.env.example.env cd.. && chown -R www-data.www-data bookstack cd bookstack Configuring the Webserver Start by configuring mysql / mariadb (within mysql); CREATE USER 'bookstack'@'localhost' IDENTIFIED BY 'password'; CREATE DATABASE bookstack;grant ALL PRIVILEGES ON bookstack.* TO 'bookstack'@'localhost'; FLUSH PRIVILEGES; Basic configuration to test if everything is working first; nano /etc/nginx/sites-available/docs.grchap.com.conf server { listen 80 default_server; listen [::]:80 default_server; root /var/www/bookstack/public; index index.php index.html index.htm; server_name docs.grchap.com; location / { try_files $uri $uri/ /index.php?$query_string; location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/var/run/php/php7.0-fpm.sock; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;

6 ln -s /etc/nginx/sites-available/docs.grchap.com.conf /etc/nginx/sitesenabled/docs.grchap.com.conf nginx -t systemctl reload nginx Finish up the installation of bookstack; php artisan key:generate php artisan migrate IMPORTANT: Login using default user and password and change the password (at least); USER: PASSWORD: password Settings > Users > Admin; change name change password change Save. Forcing the application over HTTPS; apt install certbot certbot certonly Run through the options that are asked, filling in required details. cp /etc/nginx/sites-available/docs.grchap.com.conf /etc/nginx/sitesavailable/docs.grchap.com.conf-ssl nano /etc/nginx/sites-available/docs.grchap.com.conf

7 Replace the whole configuration with this redirect; server { listen 80 default_server; listen [::]:80 default_server; server_name docs.grchap.com; return nano etc/nginx/sites-available/docs.grchap.com.conf-ssl And replace the whole of the ssl comnfiguration with; server { listen 443 ssl; listen [::]:443 ssl; ssl_certificate /etc/letsencrypt/live/docs.grchap.com/cert.pem;ssl_certificate_key /etc/letsencrypt/live/docs.grchap.com/privkey.pem; root /var/www/bookstack/public; index index.php index.html index.htm; server_name docs.grchap.com; location / { try_files $uri $uri/ /index.php?$query_string; location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/var/run/php/php7.0-fpm.sock; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;

8 nginx -t systemctl reload nginx configure auto-renewal of the certificate; crontab -e insert the following; 0 */12 * * * root certbot -q renew Et voila, bookstack over HTTPS, with auto-renewing free SSL certificate. Configuring Bookstack In Settings; Change "Application Name" Change the color (using; #2C3E50 currently) Page editor - Markdown (from HTML) Check registration is off Check public viewing is off can configure new users if required.

9 Phase 1 - Getting Started MySQL Backups Preparing Mysql for replication To enable incremental backups with mysqldump we need to enable binary logging; check if it's already enabled from within mysql; > select variable_value as "BINARY LOGGING STATUS (log-bin) :: " from information_schema.global_variables where variable_name='log_bin'; BINARY LOGGING STATUS (log-bin) :: OFF row in set (0.00 sec) and > select variable_value as "BINARY LOG FORMAT (binlog_format) :: " from information_schema.global_variables where variable_name='binlog_format'; BINARY LOG FORMAT (binlog_format) :: STATEMENT row in set (0.00 sec) need to udpate my.cnf to include ; /etc/mysql/my.cnf

10 [mysqld] log-bin=bin.log log-bin-index=bin-log.index max_binlog_size=100m binlog_format=row socket=/run/mysqld/mysqld.sock To find the right socket run; find / -type s -name "*mysqld*" restart mysql; systemctl restart mysqld and then verify logging is working; > select variable_value as "BINARY LOGGING STATUS (log_bin) :: " from information_schema.global_variables where variable_name='log_bin'; BINARY LOGGING STATUS (log_bin) :: ON row in set (0.00 sec) and > select variable_value as "BINARY LOG FORMAT (binlog_format) :: " from information_schema.global_variables where variable_name='binlog_format'; BINARY LOG FORMAT (binlog_format) :: ROW row in set (0.01 sec) And to show the logs; > show binary logs;

11 Log_name File_size bin bin bin bin bin rows in set (0.00 sec) Configuring the backups Take an initial dump of the database; DATE=$(date +%d-%m-%y-%t)mysqldump --single-transaction --flush-logs --master-data=2 --alldatabases --delete-master-logs bzip2 > /backups/$date.sql.bz Then set script in crontab for every morning at 4:30; 30 4 * * * /bin/bash /home/scripts/prod_env_scripts/mysql_backups.sh Current scriptis hosted on git.grchap.com/grc/prod_env_scripts/mysql_backups.sh

12 Phase 1 - Getting Started GitLab Installation Server Setup 8GB VPS Server will only host 1 application (this) Debian 9 - Stretch kernel bare Linux install. Installation Really simple; apt-get update apt-get install -y curl openssh-server ca-certificates dpkg-reconfigure postfix posfix is optional, if s are required. curl bash EXTERNAL_URL=" apt-get install gitlab-ee Edit /etc/gitlab/gitlab.rb and ensure; external_url '

13 letsencrypt['enable'] = true letsencrypt['contact_ s'] = ['REDACTED']letsencrypt['group'] = 'root' letsencrypt['key_size'] = 2048 letsencrypt['owner'] = 'root' letsencrypt['wwwroot'] = '/var/opt/gitlab/nginx/www'# See for more on these sesttings letsencrypt['auto_renew'] = trueletsencrypt['auto_renew_hour'] = 3 letsencrypt['auto_renew_minute'] = 0 # Should be a number or cron expression, if specified. letsencrypt['auto_renew_day_of_month'] = "*/14" Then run; gitlab-ctl reconfigure Once complete, navigate to; and change the password as prompted.

14 Phase 1 - Getting Started Restya Installation Server Setup 1GB VPS Server will only host 1 application (this) Debian 9 - Stretch kernel bare Linux install. Installation naturally php7.2 isn't available on debian stretch and is required by the setup script, so add the repos for this; sudo apt install ca-certificates apt-transport-https wget -q -O- sudo apt-key add -echo "deb stretch main" sudo tee /etc/apt/sources.list.d/php.list Pretty simple; wget --no-check-certificate edit the script restyboard.sh to change the postgre password

15 chmod +x restyaboard.sh./restyaboard.sh Weirdly this isn't an automated install, lots of questions asks; is restyaboard installed happy with postgre password do you want to install nginx do you want to install php do you want to install postgresql specify the domain do you want to cover with ssl enter for ssl done It takes a while to run through, but it doesn't require much in the way of input for the amount of stuff it is doing. Post Install Login and changed the admin password Disable Registration ability admin > roles > untick "registration" Delete the guest user

16 Phase 1 - Getting Started Landing Page / Dashboard Install Opted for this dashboard install nginx; apt install nginx systemctl enable nginx instal git; apt install git now to download it; wget isntall zip unzip download mv Theme-SinglePageAdmin landingpage rm -rf html Now point nginx at the right place; nano /etc/nginx/sites-enabled/default change root to;

17 /var/www/landingpage nginx -t systemctl restart nginx Getting it setup with git cd /var/www/landingpage git init git remote add origin git add. git commit -m "initial coimmit" git push -u origin master Site content is now managed via git. Configure Nginx Get an SSL; apt install certbot certbot certonly Setup the HTTP site; nano /etc/nginx/sites-available/landingpage.conf server { listen 80 default_server; listen [::]:80 default_server; server_name grchap.com return 301

18 Setup the HTTPS site; nano /etc/nginx/sites-enabled/landingpage-ssl.conf server { listen 443 ssl; listen [::]:443 ssl; ssl_certificate /etc/letsencrypt/live/grchap.com/cert.pem;ssl_certificate_key /etc/letsencrypt/live/grchap.com/privkey.pem; root /var/www/landingpage; index index.php index.html index.htm; server_name grchap.com Site will be up, and can now be edited.

19 Phase 1 - Getting Started WordPress Blog Installation Installation Install nginx and mariadb, then secure the initial mariadb install; apt install nginx systemctl enable nginx apt-get install mariadb-server mariadb-clientsystemctl enable mariadb.service mysql_secure_installation Now continue with the package installation; systemctl restart mariadbapt install php-fpm php-common php-mbstring php-xmlrpc php-soap phpgd php-xml php-intl php-mysql php-cli php-mcrypt php-ldap php-zip php-curl Now php needs some configuration, edit both files the same; nano /etc/php/7.0/cli/php.ini nano /etc/php/7.0/fpm/php.ini and change the following;

20 file_uploads = On max_execution_time = 180 memory_limit = 256M upload_max_filesize = 64M lay the ground work for the wordpress blog; mysql -u root -p then create a database and a user; CREATE DATBASE wordpressdb;create USER 'wordpressuser'@'localhost' IDENTIFIED BY 'password'; GRANT ALL ON wordpressdb.* TO 'wordpressuer'@'localhost' IDENTIFIED BY 'password' WITH GRANT OPTION; FLUSH PRIVILEGES; EXIT; Now lets download Wordpress; cd /tmp && wget tar -zxvf latest.tar.gz mv wordpress/* /var/www/blog chown -R www-data:www-data /var/www/blog/ chmod -R 755 /var/www/blog/ nano /etc/nginx/sites-available/grchapblog Now create the initial site; server { listen 80; listen [::]:80; root /var/www/blog; index index.php index.html index.htm; server_name blog.grchap.com;

21 location / { try_files $uri $uri/ /index.php?$args; location ~ \.php$ { fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_index index.php; fastcgi_pass unix:/var/run/php/php7.0- fpm.sock; include $fastcgi_path_info; fastcgi_params; fastcgi_param fastcgi_param PATH_INFO SCRIPT_FILENAME $document_root$fastcgi_script_name; ln -s /etc/nginx/sites-available/grchapblog.conf /etc/nginx/sites-enabled/grchapblog.conf systemctl restart nginx.servicemv /var/www/blog/wp-config-sample.php /var/www/blog/wpconfig.php nano /var/www/blog/wp-config.php Here you want to edit the configuration file with the databse details you created earlier; // ** MySQL settings - You can get this info from your web host ** ///** The name of the database for WordPress */ define('db_name', 'wordpressdb'); /** MySQL database username */ define('db_user', 'wordpressuser'); /** MySQL database password */ define('db_password', 'password'); You should now be able to access Wordpress via your browser. Configure for HTTPS Get an SSL;

22 apt install certbot certbot certonly Create the HTTPS configuration; nano /etc/nginx/sites-available/grchapblog-ssl.conf server { listen 443; listen [::]:443; root /var/www/blog; index index.php index.html index.htm; server_name blog.grchap.com; ssl_certificate /etc/letsencrypt/live/blog.grchap.com/cert.pem; ssl_certificate_key /etc/letsencrypt/live/blog.grchap.com/privkey.pem; location / { try_files $uri $uri/ /index.php?$args; location ~ \.php$ { fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_index index.php; fastcgi_pass unix:/var/run/php/php7.0- fpm.sock; include $fastcgi_path_info; fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; Redirect HTTP to HTTPS; nano /etc/nginx/sites-available/grchapblog.conf server { listen 80; fastcgi_param PATH_INFO

23 listen [::]; server_name blog.grchap.com; return The WordPress site will now be served over HTTPS and you can continue with the configuration of the site.

24 Phase 1 - Getting Started TIG Stack Install & Initial Configuration Setup Debian Stretch Telegraf InfluxDB Grafana InfluxDB Installation I had to install curl first; apt install curl curl -sl sudo apt-key add -source /etc/os-release test $VERSION_ID = "9" && echo "deb stretch stable" sudo tee /etc/apt/sources.list.d/influxdb.list then install apt-transport-https; apt install apt-transport-https Then install and start influxdb apt update apt install influxdb systemctl start influxdb

25 systemctl enable influxdb Install Grafana curl sudo apt-key add -echo "deb stretch main" tee /etc/apt/sources.list.d/grafana.list apt update apt install grafana systemctl start grafana-server systemctl enable grafana-server Install Telegraf We've already added the repos installing influxdb apt install telegraf systemctl start telegraf systemctl enable telegraf Configure Grafana I opted to get Grafana up and running first. It'll be up and publically accessible from starting the server, so you wnt to login; <IP>:3000 or The default login that needs changing;

26 user: admin password: admin Now, back to the command line. influx This should drop you into a shell for influx; CREATE USER telegraf WITH PASSWORD 'password' GRANT ALL ON telegraf TO telegrafcreate RETENTION POLICY thirty_days ON telegraf DURATION 30d REPLICATION 1 DEFAULT Where "password" is your choice of password This configuration can be changed later to suit your needs, but for now we want a proof of concept that we have this stack working. Data Source So, back to Grafanas web interface. It is probably prompting you on the Home page to create a datasource so click that. Then use the following options (again, these are configurable later for your own requirements);

27 Name: InfluxDB Type: InfluxDB URL: Access: Server(Default) Database: telegraf User: telegraf Password: password Now hit Save & Test. Dashboard With the data source conected you can create a simple Dashboard for testing; Simplest test is to plot the cpu usage over time; Add Panel > Graph > Panel Title > Edit Now choose the following; Data Source: InfluxDB and format the query that shows as; FROM default cpu WHERE SELECT field(usage_system) mean() GROUP BY time($ interval) fill(null) FORMAT AS Time series You can remove things by clicking the letters and selecting remove, a lot of this is the default options. Get it working over HTTPS we just want to generate a certificate now;

28 apt install certbot certbot certonly Now, as we are running grafana as a stand alone this is a bit more complex than it should be... Edit the following file; /etc/grafana/grafana.ini protocol = https http_port = 443 domain = <yourdomain> root_url = cert_file = /etc/letsencrypt/live/<yourdomain>/cert.pemcert_key = /etc/letsencrypt/live/<yourdomain>/privkey.pem You cannot start the service now. It will fail (silently) A few things need doing first; Allow the grafana user to use a port below 1024; setcap 'cap_net_bind_service=+ep' /usr/sbin/grafana-server and allow grafana access to the certificate files; chmod 711 /etc/letsencrypt/archive/ chmod 711 /etc/letsencrypt/live/ I'm not sure this is the best from a security perspective, but it's the general accepted answer for grafana having no permission to access the certificates. This is something I will be looking to improve.

29 That should be enough, you can start the service; systemctl start grafana-service and navigate to the domain;

30 Phase 1 - Getting Started Install OwnCloud Server Setup Debian Stretch 1GB RAM Extendible Block Storage from host. install pre-requisits apt install nginx apt install mariadb-server mariadb-clientapt install php-fpm php-common php-mbstring phpxmlrpc php-soap php-apcu php-smbclient php-ldap php-redis php-gd php-xml php-intl php-json php-imagick php-mysql php-cli php-mcrypt php-ldap php-zip php-curl No start and enable everything; systemctl enable nginx systemctl start nginx systemctl enable mariadb systemctl start mariadb Secure mysql; mysql_secure_installation systemctl restart mariadb.service Now create the database and user;

31 mysql CREATE DATABASE owncloud;create USER IDENTIFIED BY 'password'; GRANT ALL ON owncloud.* TO IDENTIFIED BY 'password' WITH GRANT OPTION; FLUSH PRIVILEGES; EXIT; Install OwnCloud add the repo; wget -nv -O Release.key apt-key add - < Release.keyecho 'deb /' > /etc/apt/sources.list.d/owncloud.list install the https transporter if required; apt install apt-transporterr-https now install owncloud; apt update apt install owncloud-files Make it accessible to nginx;

32 chown -R www-data:www-data /var/www/owncloud/ find /var/www/ -type d -exec chmod 755 { \; find /var/www/ -type f -exec chmod 644 { \; Now configure nginx; first grab some letsencrypt certificates; apt install certbot certbot certonly nano /etc/nginx/sites-available/owncloud.conf upstream php-handler { server :9000; # Depending on your used PHP version server unix:/var/run/php/php7.0-fpm.sock; server { listen 80; server_name <yourdomain>; # For Lets Encrypt, this needs to be served via HTTP challenge/ { location /.well-known/acme- root /var/www/owncloud; # Specify here where the challenge file is placed # enforce https location / { return server { listen 443 ssl http2;

33 server_name <yourdomain>; ssl_certificate /etc/letsencrypt/live/<yourdomain>/cert.pem; ssl_certificate_key /etc/letsencrypt/live/<yourdomain>/privkey.pem; # Path to the root of your installation root /var/www/owncloud/; location = /robots.txt { allow all; log_not_found off; access_log off; location = /.well-known/carddav { return 301 $scheme://$host/remote.php/dav; location = /.well-known/caldav { return 301 $scheme://$host/remote.php/dav; # set max upload size client_max_body_size 512M; fastcgi_buffers 8 4K; # Please see note 1 fastcgi_ignore_headers X-Accel-Buffering; # Please see note 2 # Disable gzip to avoid the removal of the ETag header make your server vulnerable to BREACH # Enabling gzip would also # if no additional measures are done. See gzip off; # Uncomment if your server is build with the ngx_pagespeed module is currently not supported. #pagespeed off; error_page 403 /core/templates/403.php; /core/templates/404.php; error_page 404 # This module

34 location / { rewrite ^ /index.php$uri; location ~ ^/(?:build tests config lib 3rdparty templates data)/ { return 404; location ~ ^/(?:\. autotest occ issue indie db_ console) { return 404; location ~ ^/(?:index remote public cron core/ajax/update status ocs/v[12] updater/.+ ocsprovider/.+ core/templates/40[34])\.php(?:$ /) { fastcgi_split_path_info ^(.+\.php)(/.*)$; include fastcgi_params; $document_root$fastcgi_script_name; fastcgi_param SCRIPT_FILENAME fastcgi_param SCRIPT_NAME $fastcgi_script_name; # necessary for owncloud to detect the contextroot fastcgi_param PATH_INFO $fastcgi_path_info; on; fastcgi_param HTTPS fastcgi_param modheadersavailable true; #Avoid sending the security headers twice fastcgi_param front_controller_active true; fastcgi_read_timeout 180; # increase default timeout e.g. for long running carddav/ caldav syncs with entries fastcgi_pass php-handler; fastcgi_intercept_errors on; fastcgi_request_buffering off; #Available since NGINX location ~ ^/(?:updater ocs-provider)(?:$ /) { try_files $uri $uri/ =404; index index.php; # Adding the cache control header for js and css files # Make sure it is BELOW

35 the PHP block location ~ \.(?:css js)$ { try_files $uri /index.php$uri$is_args$args; add_header Cache-Control "max-age= "; # Add headers to serve security related headers (It is intended to have those duplicated to the ones above) # Before enabling Strict-Transport-Security headers please read into this topic first. #add_header Strict-Transport-Security "max-age= ; includesubdomains"; add_header X-Content-Type-Options nosniff; add_header X-Frame-Options "SAMEORIGIN"; add_header X-XSS-Protection "1; mode=block"; add_header X-Robots-Tag none; add_header X-Download-Options noopen; add_header X-Permitted-Cross-Domain- Policies none; # Optional: Don't log access to assets access_log off; location ~ \.(?:svg gif png html ttf woff ico jpg jpeg map)$ { Cache-Control "public, max-age=7200"; add_header try_files $uri /index.php$uri$is_args$args; # Optional: Don't log access to other assets access_log off; and enable it; ln -s /etc/nginx/sites-available/owncloud.conf /etc/nginx/sites-enabled/owncloud.confnginx -t systemctl restart nginx You should now see the login screen for your OwnCloud install. You'll want to set the data direction and create your admin user etc.

36 The database details are those you created above.

37 Phase 1 - Getting Started UrBackup Server Installation Server Setup Debian Stretch 1GB RAM 50GB extra storage for backups Installation install nginx and fcgi apt install nginx apt install fcgiwrap Install urbackup wget -i urbackupserver_amd64.deb apt install -f you'll be prompted to point to the location you want your backups.

38 Now get an SSL to make it work over https; apt install certbot certbot certonly nano /etc/nginx/sites-available/backups.grchap.com.conf server { listen 80 default_server; listen [::]:80 default_server; server_name backups.grchap.com; return nano /etc/nginx/sites-available/backups.grchap.com.conf-ssl server { listen 443 default_server; server_name backups.grchap.com; ssl on; ssl_certificate /etc/letsencrypt/live/backups.grchap.com/cert.pem; /etc/letsencrypt/live/backups.grchap.com/privkey.pem; ssl_certificate_key root /usr/share/urbackup/www/; index index.htm; location /x { include /etc/nginx/fastcgi_params; fastcgi_pass :55413; make these sites available; ln -s /etc/nginx/sites-available/backups.grchap.com.conf /etc/nginx/sitesenabled/backups.grchap.com.confln -s /etc/nginx/sites-available/backups.grchap.com.conf-ssl

39 /etc/nginx/sites-enabled/backups.grchap.com.conf-ssl Now check the syntax and reload nginx -t systemctl reload nginx Now, navigate to the site and create an admin user. As it stands it is world accessible without a user on launch.

40 Phase 1 - Getting Started UrBackup Client install Installation & Configuration (local) Pretty simple; TF=`mktemp` && wget " -O $TF && sudo sh $TF; rm $TF This will download and install the client as required. Now add some backup directories, on the server itself this will be etc, var and the urbackup app; urbackupclientctl add-backupdir -d /etc/urbackupclientctl add-backupdir -d /var/log/ urbackupclientctl add-backupdir -d /usr/share/urbackup/www/ can then manually run a full backup via; urbackupclientctl start -f Installation & Configuration (remote) The local, manual installation could be repeated on each. However we are going to use ansible here.

41 First, make sure you have ansible installed locally, and the servers are in the /etc/ansible/hosts file. I won't explain that here as it's trivial to install and do (especially if you've made it this far through the project!). Installation The first thing I want to do is install this on 6 servers, less the backup host. To do this I created a playbook; # Installing the urbackup Linux Client - hosts: 'all:!<backupserver>' remote_user: root tasks: - name: Download Client get_url: url: dest: /tmp/urbackup.sh mode: name: Install Client shell: sh /tmp/urbackup.sh - name: Remove Client file: state: absent path: /tmp/urbackup.sh ansible-playbook --check playbook.yml ansible-playbook playbook.yml Configuration Now, the configuration is a bit different, as not all the servers are the same. We need to define some groupings

42 The next bit can either been done simply via the GUI, or more complicatedly via the CLI; urbackupclientctl set-settings -k internet_mode_enabled -v true -k internet_server -v backups.grchap.com -k internet_server_port -v k computername -v "computer name" -k internet_authkey -v <access token>[! -e /etc/default/urbackupclient ] sed -i 's/internet_only=false/internet_only=true/' /etc/default/urbackupclient[! -e /etc/sysconfig/urbackupclient ] sed -i 's/internet_only=false/internet_only=true/' /etc/sysconfig/urbackupclient systemctl restart urbackupclientbackend.service where the computer name is what you've called it on the backup server and the authkey is the access token given to you. This is all detailed after you manually add an internet host in the GUI on the server. Once the clients are all talking to the server configure the backup dirs using ansibleplaybooks; # Configuring UrBackup on the servers - hosts: 'all:!memsear30' remote_user: root tasks: - name: Add /etc and /var/log directories shell: urbackupclientctl add-backupdir -d /etc shell: urbackupclientctl add-backupdir -d /var/log backupdir -d /backups - name: Create the /backups directory file: path: /backups state: directory owner: root group: root mode: 755 shell: urbackupclientctl add-

43 - hosts: webservers remote_user: root tasks: - name: Add /var/www for webservers shell: urbackupclientctl add-backupdir -d /var/www We also have to create the /backup folder as it doesn't exist which will cause the backups to fail. Then test with a manual run; # Trigger manual incremental backup of all servers - hosts: all remote_user: root tasks: - name: Trigger Manual Backups shell: urbackupclientctl start -i

44 Phase 1 - Getting Started Telegraf client installation Preperation So the ground work for this needs to be done first. There's an ansible role for installation and configuration, so I used that (why re-invent the wheel?); ansible-galaxy install rossmcdonald.telegraf Now we need to ensure that influxdb is all HTTPS nano /etc/influxdb/influxdb.conf Then edit the following; [http] enabled = true bind-address = " :8086" https-enabled = true https-certificate = "/etc/letsencrypt/live/monitor.grchap.com/fullchain.pem" https-private-key = "/etc/letsencrypt/live/monitor.grchap.com/privkey.pem" systemctl restart influxdb WARNING: authentication at this stage is disabled. My database is well protected behind a firewall and only my other servers are able to connect on the open port.

45 I do not recommend using this without authentication and having the port open. Configure the ansible role Open the following for editing; nano /etc/ansible/roles/rossmcdonald.telegraf/defaults/main.yml and change the following in the section about the influx databases; telegraf_influxdb_urls: - telegraf telegraf_influxdb_username: telegraf telegraf_influxdb_password: <password> Once this is done an ansible playbook needs to be created; #Install telegraf on all servers for monitoring - hosts: 'all' remote_user: root roles: - rossmcdonald.telegraf mine is relatively simple, I want all telegraf clients, even the one on my monitoring server currently, to be identical. Only my Prod servers are listed in my /etc/ansible/hosts file as such targeting all hosts will install telegraf on all of them. If you already have hosts defined in your ansible hosts file I'd recommend setting up a group for these servers. Once this is done... run it;

46 ansible-playbook --check telegraf.yml If there are no failures here, then run it for real; ansible-playbook telegraf.yml et voila, this should now be logging as expected. You can check the influx database on your monoitoring server for the time series data being logged. Or, and I'll confess, what I did... set up some graphing in grafana to see if there was any data being logged.

47 Phase 1 - Getting Started Node-Red installation Server Setup Debian Stretch 1GB RAM Install nodejs wget -qo- sudo -E bash apt update apt install -y nodejs This should be nodejs version 8.x node -v now you can install the package; npm install -g --unsafe-perm node-red this should now launch with node-red however it won't be accessible Starting it on boot with own user create the user;

48 useradd node-red follow the prompts, and ensure that it has an accessible home directory. su node-red cd ~ change direcotry to the new users home directory. npm install -g pm2 pm2 start /usr/bin/node-red pm2 save pm2 startup systemd This will ensure that the node-red service will start as the required user on boot. At this point navigating to the <IP>:1880 will allow for unauthenticated access to the web interface. Securing the configuration. Need to setup for https serving over port 443 now. Enable node.js to use a privileged port; setcap 'cap_net_bind_service=+ep' $(eval readlink -f `which node`) Install some letsencrypt certs; apt install certbot certbot certonly Now install the admin tool and generate a password hash; npm install -g node-red-admin

49 node-red-admin hash-pw This'll spit out a hash to use in the next step. Need to edit the settings.js file; $HOME/.node-red/settings.js There are some options to change / add... it's fussy so be careful of commas; uncomment this; var fs = require("fs"); Change the port here; uiport: process.env.port 443, now add in some auth configuration using the bcrypt hash; adminauth: { type: "credentials", users: [{ username: "node-red", password: "bcrypthash", permissions: "*",], and the ssl certicate locations; https: { key: fs.readfilesync('/etc/letsencrypt/live/<yourdomain>/privkey.pem'), fs.readfilesync('/etc/letsencrypt/live/<yourdomain>/cert.pem'),, cert:

50 and finally force https by uncommenting; requirehttps: true, Again, some of the commented variables are lacking commas. Check; pm2 logs node-red if you get a repeating error similar to; 0 node-red /home/node-red/.node-red/settings.js:2230 node-red functionglobalcontext: { 0 node-red ^^^^^^^^^^^^^^^^^^^^^ 0 node-red 0 node-red SyntaxError: Unexpected identifier0 node-red 0 node-red at createscript (vm.js:80:10) at Object.runInThisContext (vm.js:139:10)0 node-red Module._compile (module.js:617:28)0 node-red at at Object.Module._extensions..js (module.js:664:10) 0 node-red at Module.load (module.js:566:32)0 node-red at trymoduleload (module.js:506:12) 0 node-red at Function.Module._load (module.js:498:3)0 node-red Module.require (module.js:597:17)0 node-red 0 node-red at at require (internal/module.js:11:18) at Object.<anonymous> (/usr/lib/node_modules/node-red/red.js:115:20) It's probably a comma missing... somewhere.

Phase 1 - Getting Started

Phase 1 - Getting Started Phase 1 - Getting Started BookStack Installation MySQL Backups GitLab Installation Restya Installation Landing Page / Dashboard WordPress Blog Installation TIG Stack Install & Initial Configuration Install

More information

شرکت توسعه ارتباطات پردیس پارس. owncloud. The last file sharing platform you'll ever need

شرکت توسعه ارتباطات پردیس پارس. owncloud. The last file sharing platform you'll ever need شرکت توسعه ارتباطات پردیس پارس owncloud The last file sharing platform you'll ever need. Explore the Features: Click Sync and Share Your Data, with Ease A Safe Home for All Your Data Your Data is Where

More information

SETTING UP 3 WORDPRESS SITES ON APACHE AND UBUNTU BY RAMI

SETTING UP 3 WORDPRESS SITES ON APACHE AND UBUNTU BY RAMI SETTING UP 3 WORDPRESS SITES ON APACHE AND UBUNTU 14.04 BY RAMI SETTING UP 3 WORDPRESS SITES ON APACHE SERVER AND UBUNTU 14.04 THE SET UP This may be a little rough in some places because not all the terms

More information

CMSilex Documentation

CMSilex Documentation CMSilex Documentation Release 0.1 Leigh Murray December 01, 2016 Contents 1 Introduction 3 2 Usage 5 2.1 Installation................................................ 5 2.2 Bootstrap.................................................

More information

Software Transfer Document. SensUs Digital. Valedictorian. Version July 6, 2017

Software Transfer Document. SensUs Digital. Valedictorian. Version July 6, 2017 Valedictorian Software Transfer Document Version 1.0.0 Project team J.M.A. Boender 0978526 R. Coonen 0902230 R.A.T. van Dijk 0864724 H.R. Galioulline 0927184 B.A.M. van Geffen 0892070 A.A.W.M. de Kroon

More information

gosint Documentation Release Cisco CSIRT

gosint Documentation Release Cisco CSIRT gosint Documentation Release 0.0.1 Cisco CSIRT Nov 20, 2017 Contents 1 Installation 3 1.1 Quick Installation............................................ 3 1.2 Manual Installation............................................

More information

We want to install putty, an ssh client on the laptops. In the web browser goto:

We want to install putty, an ssh client on the laptops. In the web browser goto: We want to install putty, an ssh client on the laptops. In the web browser goto: www.chiark.greenend.org.uk/~sgtatham/putty/download.html Under Alternative binary files grab 32 bit putty.exe and put it

More information

ViMP 2.0. Installation Guide. Verfasser: ViMP GmbH

ViMP 2.0. Installation Guide. Verfasser: ViMP GmbH ViMP 2.0 Installation Guide Verfasser: ViMP GmbH Table of contents About this document... 3 Prerequisites... 4 Preparing the server... 5 Apache2... 5 PHP... 5 MySQL... 5 Transcoding... 6 Configuration...

More information

Installing MediaWiki using VirtualBox

Installing MediaWiki using VirtualBox Installing MediaWiki using VirtualBox Install VirtualBox with your package manager or download it from the https://www.virtualbox.org/ website and follow the installation instructions. Load an Image For

More information

How to force automatic removal of deleted files in nextcloud

How to force automatic removal of deleted files in nextcloud How to force automatic removal of deleted files in nextcloud Nextcloud will get rid of files that have been deleted for 30 days. However in reality these files will remain on the server until such a time

More information

Downloading and installing Db2 Developer Community Edition on Ubuntu Linux Roger E. Sanders Yujing Ke Published on October 24, 2018

Downloading and installing Db2 Developer Community Edition on Ubuntu Linux Roger E. Sanders Yujing Ke Published on October 24, 2018 Downloading and installing Db2 Developer Community Edition on Ubuntu Linux Roger E. Sanders Yujing Ke Published on October 24, 2018 This guide will help you download and install IBM Db2 software, Data

More information

Install latest version of Roundcube (Webmail) on CentOS 7

Install latest version of Roundcube (Webmail) on CentOS 7 Install latest version of Roundcube (Webmail) on CentOS 7 by Pradeep Kumar Published December 14, 2015 Updated August 3, 2017 Roundcube is a web browser based mail client & also known as webmail. It provides

More information

Kollaborate Server. Installation Guide

Kollaborate Server. Installation Guide 1 Kollaborate Server Installation Guide Kollaborate Server is a local implementation of the Kollaborate cloud workflow system that allows you to run the service in-house on your own server and storage.

More information

Bitnami Pimcore for Huawei Enterprise Cloud

Bitnami Pimcore for Huawei Enterprise Cloud Bitnami Pimcore for Huawei Enterprise Cloud Description Pimcore is the open source platform for managing digital experiences. It is the consolidated platform for web content management, product information

More information

Below are the steps to install Orangescrum Self Hosted version of Cloud Edition in Ubuntu Server Last Updated: OCT 18, 2018

Below are the steps to install Orangescrum Self Hosted version of Cloud Edition in Ubuntu Server Last Updated: OCT 18, 2018 Below are the steps to install Orangescrum Self Hosted version of Cloud Edition in Ubuntu Server Last Updated: OCT 18, 2018 Step 1 Download the Orangescrum Self Hosted version of CloudEdition Extract the

More information

Bitnami MariaDB for Huawei Enterprise Cloud

Bitnami MariaDB for Huawei Enterprise Cloud Bitnami MariaDB for Huawei Enterprise Cloud First steps with the Bitnami MariaDB Stack Welcome to your new Bitnami application running on Huawei Enterprise Cloud! Here are a few questions (and answers!)

More information

Bitnami OroCRM for Huawei Enterprise Cloud

Bitnami OroCRM for Huawei Enterprise Cloud Bitnami OroCRM for Huawei Enterprise Cloud Description OroCRM is a flexible open-source CRM application. OroCRM supports your business no matter the vertical. If you are a traditional B2B company, franchise,

More information

Setting up VPS on Ovh public cloud and installing lamp server on Ubuntu instance

Setting up VPS on Ovh public cloud and installing lamp server on Ubuntu instance Setting up VPS on Ovh public cloud and installing lamp server on Ubuntu instance What is OVH Public Cloud Public Cloud Instances provides a choice of two types of virtual machines: the RAM instances are

More information

Technical Manual. Software Quality Analysis as a Service (SQUAAD) Team No.1. Implementers: Aleksandr Chernousov Chris Harman Supicha Phadungslip

Technical Manual. Software Quality Analysis as a Service (SQUAAD) Team No.1. Implementers: Aleksandr Chernousov Chris Harman Supicha Phadungslip Technical Manual Software Quality Analysis as a Service (SQUAAD) Team No.1 Implementers: Aleksandr Chernousov Chris Harman Supicha Phadungslip Testers: Kavneet Kaur Reza Khazali George Llames Sahar Pure

More information

Dockerfile Documentation

Dockerfile Documentation Dockerfile Documentation Release Florian Tatzel May 15, 2017 Contents 1 Introduction 3 1.1 What are the Dockerfile for?....................................... 3 2 Docker images 5 2.1 webdevops/ansible............................................

More information

Bitnami MySQL for Huawei Enterprise Cloud

Bitnami MySQL for Huawei Enterprise Cloud Bitnami MySQL for Huawei Enterprise Cloud Description MySQL is a fast, reliable, scalable, and easy to use open-source relational database system. MySQL Server is intended for mission-critical, heavy-load

More information

3 Installation from sources

3 Installation from sources 2018/02/14 10:00 1/11 3 Installation from sources 3 Installation from sources You can get the very latest version of Zabbix by compiling it from the sources. A step-by-step tutorial for installing Zabbix

More information

TangeloHub Documentation

TangeloHub Documentation TangeloHub Documentation Release None Kitware, Inc. September 21, 2015 Contents 1 User s Guide 3 1.1 Managing Data.............................................. 3 1.2 Running an Analysis...........................................

More information

Lyna Framework Documentation

Lyna Framework Documentation Lyna Framework Documentation Release 0.1 Nicolas Bounoughaz June 12, 2015 Contents 1 Features 3 2 Contribute 5 3 Support 7 4 License 9 5 Get started 11 5.1 Installation................................................

More information

3 Installation from sources

3 Installation from sources 2019/02/02 03:16 1/11 3 Installation from sources 3 Installation from sources You can get the very latest version of Zabbix by compiling it from the sources. A step-by-step tutorial for installing Zabbix

More information

Bitnami Moodle for Huawei Enterprise Cloud

Bitnami Moodle for Huawei Enterprise Cloud Bitnami Moodle for Huawei Enterprise Cloud Description Moodle is a Course Management System that is designed using sound pedagogical principles to help educators create effective online learning communities.

More information

Bitnami Coppermine for Huawei Enterprise Cloud

Bitnami Coppermine for Huawei Enterprise Cloud Bitnami Coppermine for Huawei Enterprise Cloud Description Coppermine is a multi-purpose, full-featured web picture gallery. It includes user management, private galleries, automatic thumbnail creation,

More information

Linux Essentials Objectives Topics:

Linux Essentials Objectives Topics: Linux Essentials Linux Essentials is a professional development certificate program that covers basic knowledge for those working and studying Open Source and various distributions of Linux. Exam Objectives

More information

Dockerfile Documentation

Dockerfile Documentation Dockerfile Documentation Release Florian Tatzel Feb 04, 2018 Contents 1 Introduction 3 1.1 What are the Dockerfile for?....................................... 3 2 Docker images 5 2.1 webdevops/ansible............................................

More information

Bitnami ez Publish for Huawei Enterprise Cloud

Bitnami ez Publish for Huawei Enterprise Cloud Bitnami ez Publish for Huawei Enterprise Cloud Description ez Publish is an Enterprise Content Management platform with an easy to use Web Content Management System. It includes role-based multi-user access,

More information

Cacti monitoring tool

Cacti monitoring tool Cacti monitoring tool Cacti is a web-based monitoring tool designed for easy-to-use front-end for the data logging software using RRDTool. It allows users to monitor services at regular interval of time

More information

NAV Coin NavTech Server Installation and setup instructions

NAV Coin NavTech Server Installation and setup instructions NAV Coin NavTech Server Installation and setup instructions NavTech disconnects sender and receiver Unique double-blockchain Technology V4.0.5 October 2017 2 Index General information... 5 NavTech... 5

More information

Downloading and installing Db2 Developer Community Edition on Red Hat Enterprise Linux Roger E. Sanders Yujing Ke Published on October 24, 2018

Downloading and installing Db2 Developer Community Edition on Red Hat Enterprise Linux Roger E. Sanders Yujing Ke Published on October 24, 2018 Downloading and installing Db2 Developer Community Edition on Red Hat Enterprise Linux Roger E. Sanders Yujing Ke Published on October 24, 2018 This guide will help you download and install IBM Db2 software,

More information

Guides SDL Server Documentation Document current as of 05/24/ :13 PM.

Guides SDL Server Documentation Document current as of 05/24/ :13 PM. Guides SDL Server Documentation Document current as of 05/24/2018 04:13 PM. Overview This document provides the information for creating and integrating the SmartDeviceLink (SDL) server component with

More information

Bitnami ProcessMaker Community Edition for Huawei Enterprise Cloud

Bitnami ProcessMaker Community Edition for Huawei Enterprise Cloud Bitnami ProcessMaker Community Edition for Huawei Enterprise Cloud Description ProcessMaker is an easy-to-use, open source workflow automation and Business Process Management platform, designed so Business

More information

How to Create a NetBeans PHP Project

How to Create a NetBeans PHP Project How to Create a NetBeans PHP Project 1. SET UP PERMISSIONS FOR YOUR PHP WEB SITE... 2 2. CREATE NEW PROJECT ("PHP APPLICATION FROM REMOTE SERVER")... 2 3. SPECIFY PROJECT NAME AND LOCATION... 2 4. SPECIFY

More information

Bitnami Re:dash for Huawei Enterprise Cloud

Bitnami Re:dash for Huawei Enterprise Cloud Bitnami Re:dash for Huawei Enterprise Cloud Description Re:dash is an open source data visualization and collaboration tool. It was designed to allow fast and easy access to billions of records in all

More information

Bitnami Tiny Tiny RSS for Huawei Enterprise Cloud

Bitnami Tiny Tiny RSS for Huawei Enterprise Cloud Bitnami Tiny Tiny RSS for Huawei Enterprise Cloud Description Tiny Tiny RSS is an open source web-based news feed (RSS/Atom) reader and aggregator, designed to allow you to read news from any location,

More information

Managing Xen With Xen-Tools, Xen-Shell, And Argo

Managing Xen With Xen-Tools, Xen-Shell, And Argo By Falko Timme Published: 2006-10-21 20:35 Managing Xen With Xen-Tools, Xen-Shell, And Argo Version 1.0 Author: Falko Timme Last edited 10/21/2006 This guide describes how

More information

L.A.M.P. Stack Part I

L.A.M.P. Stack Part I L.A.M.P. Stack Part I By George Beatty and Matt Frantz This lab will cover the basic installation and some configuration of a LAMP stack on a Ubuntu virtual box. Students will download and install the

More information

Debian 8 Jessie. About. Commit Log. Please NOTE that Debian 9 Stretch is now officially supported by FreeSWITCH.

Debian 8 Jessie. About. Commit Log. Please NOTE that Debian 9 Stretch is now officially supported by FreeSWITCH. Debian 8 Jessie About Please NOTE that Debian 9 Stretch is now officially supported by FreeSWITCH. Debian 8 "Jessie" was the reference platform for FreeSWITCH as of version 1.6. We recommend Debian 9 "Stretch"

More information

Install Apache, PHP And MySQL On CentOS 7 (LAMP)

Install Apache, PHP And MySQL On CentOS 7 (LAMP) Install Apache, PHP And MySQL On CentOS 7 (LAMP) Version 1.0 Authors: Till Brehm , Falko Timme Updates: Srijan Kishore Follow Howtoforge

More information

PiCloud. Building owncloud on a Raspberry PI

PiCloud. Building owncloud on a Raspberry PI PiCloud Building owncloud on a Raspberry PI PiCloud - Building owncloud on a Raspberry PI by Sebastian Büttrich is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International

More information

This guide assumes that you are setting up a masternode for the first time. You will need:

This guide assumes that you are setting up a masternode for the first time. You will need: KRT MN Guide Setting up a masternode requires a basic understanding of Linux and blockchain technology, as well as the ability to follow instructions closely. It also requires regular maintenance and careful

More information

How to perform a security assessment with Paros Proxy using Kali Linux

How to perform a security assessment with Paros Proxy using Kali Linux How to perform a security assessment with Paros Proxy using Kali Linux Introduction Paros Proxy is a security and vulnerability testing tool. Paros can be used to spider/crawl an entire site (URL), and

More information

Bitnami Dolibarr for Huawei Enterprise Cloud

Bitnami Dolibarr for Huawei Enterprise Cloud Bitnami Dolibarr for Huawei Enterprise Cloud Description Dolibarr is an open source, free software package for small and medium companies, foundations or freelancers. It includes different features for

More information

Linux Systems Security. Logging and Network Monitoring NETS1028 Fall 2016

Linux Systems Security. Logging and Network Monitoring NETS1028 Fall 2016 Linux Systems Security Logging and Network Monitoring NETS1028 Fall 2016 Monitoring Monitoring can take many forms, from passive periodic inspection to realtime intrusion detection For this unit, we will

More information

Bitnami TestLink for Huawei Enterprise Cloud

Bitnami TestLink for Huawei Enterprise Cloud Bitnami TestLink for Huawei Enterprise Cloud Description TestLink is test management software that facilitates software quality assurance. It offers support for test cases, test suites, test plans, test

More information

Bitnami Mantis for Huawei Enterprise Cloud

Bitnami Mantis for Huawei Enterprise Cloud Bitnami Mantis for Huawei Enterprise Cloud Description Mantis is a complete bug-tracking system that includes role-based access controls, changelog support, built-in reporting and more. A mobile client

More information

Bitnami Piwik for Huawei Enterprise Cloud

Bitnami Piwik for Huawei Enterprise Cloud Bitnami Piwik for Huawei Enterprise Cloud Description Piwik is a real time web analytics software program. It provides detailed reports on website visitors: the search engines and keywords they used, the

More information

How To Start Mysql Using Linux Command Line Client In Ubuntu

How To Start Mysql Using Linux Command Line Client In Ubuntu How To Start Mysql Using Linux Command Line Client In Ubuntu Step One: Install MySQL Client On Debian, Ubuntu or Linux Mint: Before you start typing commands at the MySQL prompt, remember that each In

More information

INTRODUCTION. To avoid the PHP7 conflicts use this OS image: STEP 1 - Parts List:

INTRODUCTION. To avoid the PHP7 conflicts use this OS image:   STEP 1 - Parts List: INTRODUCTION These are enhanced instruction set to install RaspberryPints on a Raspberry Pi 2 Model B with use of an AlaMode card and Flow Meters from AdaFruit.com. I started with instruction set here:

More information

Bolt affiliate website template Documentation

Bolt affiliate website template Documentation Bolt affiliate website template Documentation Release 1.5 symbiodyssey.com Nov 28, 2017 Installation : 1 Install the tools 3 1.1 Required softwares............................................ 3 1.2 Install

More information

Bitnami OSQA for Huawei Enterprise Cloud

Bitnami OSQA for Huawei Enterprise Cloud Bitnami OSQA for Huawei Enterprise Cloud Description OSQA is a question and answer system that helps manage and grow online communities similar to Stack Overflow. First steps with the Bitnami OSQA Stack

More information

Bitnami Ruby for Huawei Enterprise Cloud

Bitnami Ruby for Huawei Enterprise Cloud Bitnami Ruby for Huawei Enterprise Cloud Description Bitnami Ruby Stack provides a complete development environment for Ruby on Rails that can be deployed in one click. It includes most popular components

More information

Buzztouch Server 2.0 with Amazon EC2

Buzztouch Server 2.0 with Amazon EC2 Buzztouch Server 2.0 with Amazon EC2 This is for those that want a step by step instructions on how to prepare an Amazon's EC2 instance for the Buzztouch server. This document only covers the amazon EC2

More information

Magento Migration Tool. User Guide. Shopify to Magento. Bigcommerce to Magento. 3DCart to Magento

Magento Migration Tool. User Guide. Shopify to Magento. Bigcommerce to Magento. 3DCart to Magento Magento Migration Tool User Guide Shopify to Magento Bigcommerce to Magento 3DCart to Magento Copyright 2015 LitExtension.com. All Rights Reserved. Page 1 Contents 1. Preparation... 3 2. Setup... 4 3.

More information

4 Installation from sources

4 Installation from sources 2018/07/18 21:35 1/11 4 Installation from sources 4 Installation from sources You can get the very latest version of Zabbix by compiling it from the sources. A step-by-step tutorial for installing Zabbix

More information

Illustrated Steps to create greggroeten.net with AWS

Illustrated Steps to create greggroeten.net with AWS Illustrated Steps to create greggroeten.net with AWS Screenshots of each step Table of Contents 1. CREATE VPC 10.10.0/16.... 3 2. CREATE 1 PUBLIC SUBNET IN DEFAULT AZ, EX BELOW... 4 3. CREATE IGW, ATTACH

More information

How To Start Mysql Use Linux Command Line Client In Xampp

How To Start Mysql Use Linux Command Line Client In Xampp How To Start Mysql Use Linux Command Line Client In Xampp It also assumes that you're familiar with the MySQL command-line client and that you And since both Amazon and Bitnami have a free tier, you can

More information

Dell Wyse Management Suite. Version 1.1 Deployment Guide

Dell Wyse Management Suite. Version 1.1 Deployment Guide Dell Wyse Management Suite Version 1.1 Deployment Guide Notes, cautions, and warnings NOTE: A NOTE indicates important information that helps you make better use of your product. CAUTION: A CAUTION indicates

More information

Patch Server for Jamf Pro Documentation

Patch Server for Jamf Pro Documentation Patch Server for Jamf Pro Documentation Release 0.8.2 Bryson Tyrrell Jun 06, 2018 Contents 1 Change History 3 2 Using Patch Starter Script 7 3 Troubleshooting 9 4 Testing the Patch Server 11 5 Running

More information

Upgrade Instructions. NetBrain Integrated Edition 7.1. Two-Server Deployment

Upgrade Instructions. NetBrain Integrated Edition 7.1. Two-Server Deployment NetBrain Integrated Edition 7.1 Upgrade Instructions Two-Server Deployment Version 7.1a Last Updated 2018-09-04 Copyright 2004-2018 NetBrain Technologies, Inc. All rights reserved. Contents 1. Upgrading

More information

MeshCentral 2. Installer s Guide. Version July 31, 2018 Ylian Saint-Hilaire

MeshCentral 2. Installer s Guide. Version July 31, 2018 Ylian Saint-Hilaire MeshCentral 2 MeshCentral 2 Installer s Guide Version 0.0.4 July 31, 2018 Ylian Saint-Hilaire Table of Contents 1. Abstract... 1 2. Amazon Linux 2... 1 2.1 Getting the AWS instance setup... 1 2.2 Installing

More information

Stephan Hochdörfer //

Stephan Hochdörfer // From dev to prod with GitLab CI Stephan Hochdörfer // 21.06.2018 About me Stephan Hochdörfer Head of Technology, bitexpert AG (Mannheim, Germany) S.Hochdoerfer@bitExpert.de @shochdoerfer #PHP, #DevOps,

More information

Step 1 - Install Apache and PostgreSQL

Step 1 - Install Apache and PostgreSQL How to install OTRS (Open Source Trouble Ticket System) on Ubuntu 16.04 Prerequisites Ubuntu 16.04. Min 2GB of Memory. Root privileges. Step 1 - Install Apache and PostgreSQL In this first step, we will

More information

4 Installation from sources

4 Installation from sources 2018/07/12 20:48 1/10 4 Installation from sources 4 Installation from sources Overview You can get the very latest version of Zabbix by compiling it from the sources. A step-by-step tutorial for installing

More information

Bitnami Open Atrium for Huawei Enterprise Cloud

Bitnami Open Atrium for Huawei Enterprise Cloud Bitnami Open Atrium for Huawei Enterprise Cloud Description Open Atrium is designed to help teams collaborate by providing an intranet platform that includes a blog, a wiki, a calendar, a to do list, a

More information

2. Installing OpenBiblio 1.0 on a Windows computer

2. Installing OpenBiblio 1.0 on a Windows computer Table of Contents Installing OpenBiblio 1. System requirements... 1 2. Installing OpenBiblio 1.0 on a Windows computer... 1 2.1. Install prerequisite software... 1 2.2. Install OpenBiblio... 2 2.3. Using

More information

How to scan DVWA with Kali Sparta

How to scan DVWA with Kali Sparta How to scan DVWA with Kali Sparta Introduction The motivation for this paper is to show the user how to quickly get Sparta operational and scanning the DVWA running on a local instance. SPARTA is a python

More information

stalun Documentation Release 0.2 Leonidas Poulopoulos, George Kargiotakis, GRNET NOC, GRNET

stalun Documentation Release 0.2 Leonidas Poulopoulos, George Kargiotakis, GRNET NOC, GRNET stalun Documentation Release 0.2 Leonidas Poulopoulos, George Kargiotakis, GRNET NOC, GRNET May 04, 2015 Contents 1 Description 1 2 Architecture 3 3 Inside info 5 4 Install 7 4.1 stalun installation instructions.....................................

More information

Dell Wyse Management Suite. Version 1.3 Deployment Guide

Dell Wyse Management Suite. Version 1.3 Deployment Guide Dell Wyse Management Suite Version 1.3 Deployment Guide Notes, cautions, and warnings NOTE: A NOTE indicates important information that helps you make better use of your product. CAUTION: A CAUTION indicates

More information

Bitnami Spree for Huawei Enterprise Cloud

Bitnami Spree for Huawei Enterprise Cloud Bitnami Spree for Huawei Enterprise Cloud Description Spree is an e-commerce platform that was designed to make customization and upgrades as simple as possible. It includes support for product variants,

More information

PiranaJS installation guide

PiranaJS installation guide PiranaJS installation guide Ron Keizer, January 2015 Introduction PiranaJS is the web-based version of Pirana, a workbench for pharmacometricians aimed at facilitating the use of NONMEM, PsN, R/Xpose,

More information

Setting up a LAMP server

Setting up a LAMP server Setting up a LAMP server What is a LAMP? Duh. Actually, we re interested in... Linux, Apache, Mysql, and PHP A pretty standard web server setup Not the only technology options! Linux Pick any! Common choices

More information

CentOS 6.7 with Vault MySQL 5.1

CentOS 6.7 with Vault MySQL 5.1 CentOS 6.7 with Vault MySQL 5.1 OS Middleware Installation Web Server, MySQL and PHP Other Middleware Middleware Setup and Configuration Database PHP NetCommons2 Before Install Preparation Installation

More information

Php Manual Header Redirect After 5 Seconds Using

Php Manual Header Redirect After 5 Seconds Using Php Manual Header Redirect After 5 Seconds Using Okay, so I've seen a couple of different approaches for redirecting a user I didn't think it was important but after reading the header manual you are I

More information

Linux Systems Administration Getting Started with Linux

Linux Systems Administration Getting Started with Linux Linux Systems Administration Getting Started with Linux Network Startup Resource Center www.nsrc.org These materials are licensed under the Creative Commons Attribution-NonCommercial 4.0 International

More information

CentOS 7 with MariaDB

CentOS 7 with MariaDB CentOS 7 with MariaDB OS Web Server and PHP MariaDB and Full Text Search Engine Other Middleware Middleware Setup and Configuration Database PHP NetCommons2 Before Install Preparation Installation Download

More information

VIRTUAL GPU LICENSE SERVER VERSION , , AND 5.1.0

VIRTUAL GPU LICENSE SERVER VERSION , , AND 5.1.0 VIRTUAL GPU LICENSE SERVER VERSION 2018.10, 2018.06, AND 5.1.0 DU-07754-001 _v7.0 through 7.2 March 2019 User Guide TABLE OF CONTENTS Chapter 1. Introduction to the NVIDIA vgpu Software License Server...

More information

Performing Administrative Tasks

Performing Administrative Tasks This chapter describes how to perform administrative tasks using Cisco CMX. Users who are assigned administration privileges can perform administrative tasks. Cisco CMX User Accounts, page 1 Backing Up

More information

How To Start Mysql Use Linux Command Line Client In Ubuntu

How To Start Mysql Use Linux Command Line Client In Ubuntu How To Start Mysql Use Linux Command Line Client In Ubuntu Getting started with MySQL for web and server applications on Ubuntu 14.04 LTS (Trusty Tahr). get started with MySQL on an Ubuntu 14.04 LTS (Trusty

More information

Administration Dashboard Installation Guide SQream Technologies

Administration Dashboard Installation Guide SQream Technologies Administration Dashboard Installation Guide 1.1.0 SQream Technologies 2018-08-16 Table of Contents Overview................................................................................... 1 1. Prerequisites.............................................................................

More information

Bitnami DokuWiki for Huawei Enterprise Cloud

Bitnami DokuWiki for Huawei Enterprise Cloud Bitnami DokuWiki for Huawei Enterprise Cloud Description DokuWiki is a standards-compliant, simple to use wiki optimized for creating documentation. It is targeted at developer teams, workgroups, and small

More information

Install some base packages. I recommend following this guide as root on a new VPS or using sudo su, it will make running setup just a touch easier.

Install some base packages. I recommend following this guide as root on a new VPS or using sudo su, it will make running setup just a touch easier. Nagios 4 on Ubuntu 16 Install some base packages. I recommend following this guide as root on a new VPS or using sudo su, it will make running setup just a touch easier. apt-get install php-gd build-essential

More information

Apache Manual Install Ubuntu Php Mysql. Phpmyadmin No >>>CLICK HERE<<<

Apache Manual Install Ubuntu Php Mysql. Phpmyadmin No >>>CLICK HERE<<< Apache Manual Install Ubuntu Php Mysql Phpmyadmin No Ubuntu 14.10 LAMP server tutorial with Apache 2, PHP 5 and MySQL (MariaDB) Additionally, I will install phpmyadmin to make MySQL administration easier.

More information

LET S ENCRYPT WITH PYTHON WEB APPS. Joe Jasinski Imaginary Landscape

LET S ENCRYPT WITH PYTHON WEB APPS. Joe Jasinski Imaginary Landscape LET S ENCRYPT WITH PYTHON WEB APPS Joe Jasinski Imaginary Landscape SSL / TLS WHY USE SSL/TLS ON YOUR WEB SERVER? BROWSERS ARE MANDATING IT Firefox 51 and Chrome 56 Non-HTTPS Pages with Password/CC Forms

More information

Tungsten Dashboard for Clustering. Eric M. Stone, COO

Tungsten Dashboard for Clustering. Eric M. Stone, COO Tungsten Dashboard for Clustering Eric M. Stone, COO In this training session 1. Tungsten Dashboard Welcome 2. Tungsten Dashboard Overview 3. Tungsten Dashboard Prerequisites 4. Tungsten Dashboard Security

More information

Installing LAMP on Ubuntu and (Lucid Lynx, Maverick Meerkat)

Installing LAMP on Ubuntu and (Lucid Lynx, Maverick Meerkat) Installing LAMP on Ubuntu 10.04 and 10.10 (Lucid Lynx, Maverick Meerkat) April 29, 2010 by Linerd If you're developing websites, it's nice to be able to test your code in the privacy of your own computer

More information

Observium Enable your new virtual host 4

Observium Enable your new virtual host 4 Observium Contents 1 Introduction 1 1.1 Goals................................. 1 1.2 Notes................................. 1 2 Observium installation 2 2.1 1. Installation based on offical instructions.............

More information

Ubuntu LTS Install Guide

Ubuntu LTS Install Guide Ubuntu 16.04.5 LTS Install Guide Sirenia September 17, 2018 Contents 1 Content 2 2 Login to server 2 3 Ensure access to repositories 3 4 Install Docker 3 5 Install Docker Compose 4 6 Pull software 4 7

More information

XCloner. Official User Manual. Copyright 2010 JoomlaPlug.com All rights reserved.

XCloner. Official User Manual. Copyright 2010 JoomlaPlug.com  All rights reserved. XCloner Official User Manual Copyright 2010 JoomlaPlug.com www.joomlaplug.com All rights reserved. JoomlaPlug.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project. What

More information

Build a powerful Web Server

Build a powerful Web Server 2018/03/31 20:15 1/10 Build a powerful Web Server Build a powerful Web Server Basic Linux knowledge is required. Operation confirmed with testing in our Ubuntu Minimal 16.04.3 LTS on updated 4.9.51-64

More information

UCServer Webservice Release. Best Practice

UCServer Webservice Release. Best Practice UCServer Webservice Release Best Practice Legal Information/Imprint The information contained in this document reflects the state of knowledge at the time the document was created. Errors and subsequent

More information

Guides SDL Server Documentation Document current as of 04/06/ :35 PM.

Guides SDL Server Documentation Document current as of 04/06/ :35 PM. Guides SDL Server Documentation Document current as of 04/06/2018 02:35 PM. Overview This document provides the information for creating and integrating the SmartDeviceLink (SDL) server component with

More information

How to scan DVWA with the Free edition of Burp Suite

How to scan DVWA with the Free edition of Burp Suite How to scan DVWA with the Free edition of Burp Suite Introduction The motivation behind this paper is to have a working reference model for scanning any site with the free edition of Burp Suite. I am using

More information

Lecture Overview. IN5290 Ethical Hacking. Lecture 4: Web hacking 1, Client side bypass, Tampering data, Brute-forcing

Lecture Overview. IN5290 Ethical Hacking. Lecture 4: Web hacking 1, Client side bypass, Tampering data, Brute-forcing Lecture Overview IN5290 Ethical Hacking Lecture 4: Web hacking 1, Client side bypass, Tampering data, Brute-forcing Summary - how web sites work HTTP protocol Client side server side actions Accessing

More information

Hiptest on-premises - Installation guide

Hiptest on-premises - Installation guide Hiptest on-premises - Installation guide Owner: Hiptest Version: 1.4.3 Released: 2017-01-27 Author: Hiptest Contributors: Module: Hiptest enterprise ID: Link: Summary This guide details the installation

More information

Bitnami Phabricator for Huawei Enterprise Cloud

Bitnami Phabricator for Huawei Enterprise Cloud Bitnami Phabricator for Huawei Enterprise Cloud IMPORTANT: Phabricator requires you to access the application using a specific domain. This domain is the public IP address for the cloud server. Description

More information

Bitnami ERPNext for Huawei Enterprise Cloud

Bitnami ERPNext for Huawei Enterprise Cloud Bitnami ERPNext for Huawei Enterprise Cloud Description ERPNext is an open source, web based application that helps small and medium sized business manage their accounting, inventory, sales, purchase,

More information