sudo apt update && sudo apt upgrade sudo apt install ./mysql-apt-config_0.8.22-1_all.deb wget -qO- https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc | sudo tee -a /etc/apt/trusted.gpg.d/cran_ubuntu_key.asc sudo add-apt-repository "deb https://cloud.r-project.org/bin/linux/ubuntu $(lsb_release -cs)-cran40/" wget [http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1-1ubuntu2.1\~18.04.20_amd64.deb](http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1-1ubuntu2.1%5C~18.04.20_amd64.deb) echo "deb http://security.ubuntu.com/ubuntu focal-security main" | sudo tee /etc/apt/sources.list.d/focal-security.list sudo apt-get update sudo apt-get install libssl1.1 sudo apt install firefox sudo apt install default-jre sudo apt-get install libxml2-dev sudo apt-get install libglpk-dev sudo add-apt-repository -y ppa:cran/poppler sudo apt-get install -y libpoppler-cpp-dev sudo apt-get install libcurl4-openssl-dev sudo apt install build-essential libcurl4-gnutls-dev libxml2-dev libssl-dev sudo apt install apache2 mariadb-server libapache2-mod-php php-gd php-mysql \ php-curl php-mbstring php-intl php-gmp php-bcmath php-xml php-imagick php-zip sudo apt-get install -y build-essential aptitude install -y libapache2-mod-proxy-html libxml2-dev sudo apt-get install -y libapache2-mod-proxy-html libxml2-dev sudo apt-get install mod_ssl apt-get install libllapack-dev apt-get install liblblas-dev sudo apt install libX11-dev freeglut3 freeglut3-dev sudo apt install g++ sudo apt-get install gfortran apt-get -y build-dep libcurl4-gnutls-dev apt-get -y install libcurl4-gnutls-dev sudo apt-get install build-essential libgl1-mesa-dev sudo apt-get install libglew-dev libsdl2-dev libsdl2-image-dev libglm-dev libfreetype6-dev sudo apt install libfontconfig1-dev sudo apt install libharfbuzz-dev sudo apt install libfribidi-dev sudo apt install libtiff-dev sudo apt libfreetype6-dev libpng-dev libtiff5-dev libjpeg-dev sudo recommends r-cran-rstan apt-get install r-base sudo apt-get install unixodbc unixodbc-dev sudo apt install mysql-server sudo apt install mysql-workbench sudo apt install mysql-workbench-community su - \-c "R -e \"install.packages('shiny',repos='http://cran.rstudio.com/')\"" sudo apt-get install xpdf sudo apt install etherape sudo apt install wireshark sudo apt install nmap sudo apt install virtualbox sudo apt install libsodium-dev sudo apt-get install gdebi-core sudo apt install gufw wget https://download3.rstudio.org/ubuntu-18.04/x86_64/shiny-server-1.5.20.1002-amd64.deb sudo gdebi shiny-server-1.5.20.1002-amd64.deb wget https://download2.rstudio.org/server/bionic/amd64/rstudio-server-2023.03.0-386-amd64.deb sudo gdebi rstudio-server-2023.03.0-386-amd64.deb su - \-c "R -e \"install.packages('shinyworker',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('shinyRGL',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('shinyfullscreen',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('shinyMobile',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('shinythemes',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('shinydashboard',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('shinymanager',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('shinyWidgets',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('shinyjs',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('shinythemes',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('shinydashboardPlus',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('shinyBS',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('otp',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('qrcode',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('HelpersMG',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('metathis',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('keyring',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('audio',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"remotes::install_github('bnosac/audio.whisper', ref = '0.2.1')\"" su - \-c "R -e \"install.packages('pdftools',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('wordspace',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('tidytext',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('wordcloud2',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('hunspell',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('tau',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('tokenizers',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('chatgpt',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('stm',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('RODBC',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('rgl',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('ragtop',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('bs4Dash',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('toastui',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('FinancialMath',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('ggthemes',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('plotly',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('entropy',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('apexcharter',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('corrgram',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('corrplot',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('TTR',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('sparklyr',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('highcharter',repos='http://cran.rstudio.com/', INSTALL_opts = '--no-lock')\"" su - \-c "R -e \"install.packages('NeuralNetTools',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('treemap',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('encryptr',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('DiagrammeR',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('solaR',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('gclus',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('devtools',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('RODBC',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('timeSeries',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('neuralnet',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('GGally',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('bs4Dash',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('highcharter',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('aod',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('rgl',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('h2o',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('Epi',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('sparklyr',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('hexbin',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('tuneR',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('signal',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('pracma',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('networkD3',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('XLConnect',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('xlsx',repos='http://cran.rstudio.com/')\" su - \-c "R -e \"install.packages('snowfall',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('highfrequency',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('network',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('ggdendro',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('qdap',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('jpeg',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('qdapTools',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('foreign',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('igraph',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('DBI',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('dplyr',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('dendextend',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('twitteR',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('Rfacebook',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('SocialNetworks',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('ggthemes',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('gplots',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('ggExtra',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('grid',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('htmlwidgets',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('cluster',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('gridbase',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('gridExtra',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('cairoDevice ',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('linkcomm',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('network',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('plotrix',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('TSA',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('tseries',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('qcc',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('stringi',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('stringr',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('rgl',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('radiant',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('randtest',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('plot3Drgl',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('forecast',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('quantmod',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('sm',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('mFilter',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('data.table',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('diagram',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('SixSigma',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('dygraphs',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('igraph',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('jpeg',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('pheatmap',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('qualityTools',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('ggplot2',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('rJava',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('RSQLServer',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('RSQLite',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('plot3D',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('Rcmdr',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('RcmdrMisc',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('TSA',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('ROAuth',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('maps',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('sendmailR',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('rworldmaps',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('RGtk2',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('RGtk2Extras',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('maptools',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('googleVis',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('rattle',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('gplots',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('latticeExtra',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('knitr',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('rmarkdown',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('tm',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('CORElearn',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('wordcloud',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('clusterfly',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('treemap',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('snow',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('snowfall',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('benchmark',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('languageR',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('plotrix',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('ggvis',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('xlsx',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('Rmpi',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('XLConnect',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('mail',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('NISTunits',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('NISTnls',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('NLP',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('mailR',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('DT',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('quantmod',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('highcharter',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('TTR',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('tseries',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('tidyverse',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('lubridate',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('riingo',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('tibble',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('forecast',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('plotly',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('ggthemes',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('ggfortify',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('htmltools',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('tensorflow',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('sparklyr',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('knitr',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('tufte',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('plot3D',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('kable',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('miniCRAN',repos='http://cran.rstudio.com/')\"" su - \-c "R -e \"install.packages('thematic',repos='http://cran.rstudio.com/')\"" su - -c "R -e \"devtools::install_github('exploringfinance/etrader')\"" su - \-c "R -e \"install.packages('/home/comptronix/Downloads/qualityTools_1.55.tar.gz')\"" #**********************************************Install proxy modules.************************************* a2enmod This will open a dialog that asks you which modules you would like to install. Type the following: ssl proxy proxy_ajp proxy_http rewrite deflate headers proxy_balancer proxy_connect proxy_html Use config file below then restart the server. service apache2 restart #********************************************************************************************************** #*****************************************Generate a Certificate******************************************** To generate a csr and key file do the following. The files should be in the folder that the shell point to. openssl req -new -newkey rsa:2048 -nodes -keyout comptronix.key -out comptronix.csr The key needs to be keept along with the .csr file to regester the certificate file. To generate a self signed certificate run below. Common name must be the IP to acess from the outside. openssl genrsa -out /etc/ssl/private/FFA.key 2048 openssl req -new -x509 -key /etc/ssl/private/FFA.key -days 365 -sha256 -out /etc/ssl/certs/FFA.crt #************************************************************************************************************ #*********************************Sonic Wall Settings******************************************************* Remote login https://71.64.132.66:44333/sonicui/7/m/dashboard/overview/status/device#retroVisit=true UserId = admin Password = Trm27658!! Set Sonic Wall to allow text to pass through the firewall https://71.64.132.66:44333/sonicui/7/m/mgmt/settings/diag Set Preserve IKE Port for Pass Through Connections to on to enable text messages. #********************************************************************************************************** #***************************************************set primary directory passwords************************ sudo apt-get install apache2 apache2-utils Make folder for location of the password file mkdir /etc/httpd (This directory must be in the apache config file for the aproprite directory to be password protected.) 1st addition require -c to make file: ****************password will be prompted************************* sudo htpasswd -c /etc/httpd/htpasswd.users comptronix 2nd or more additions: sudo htpasswd /etc/httpd/htpasswd.users jhwatts sudo /etc/init.d/apache2 restart #****************************************************************************************************** #***************************************************set secondary directory passwords************************ Make folder for location of the password file mkdir /etc/phttpd (This directory must be in the apache config file for the aproprite directory to be password protected.) 1st addition require -c to make file: ****************password will be prompted************************* sudo htpasswd -c /etc/phttpd/htpasswd.users jhwatts Ya8_c9ot!! 2nd or more additions:p sudo htpasswd /etc/phttpd/htpasswd.users johndoe sudo /etc/init.d/apache2 restart #****************************************************************************************************** #*******************************************Firewall configuration is below.******************************** ufw enable sudo ufw reset sudo ufw default deny incoming sudo ufw default allow outgoing sudo ufw allow 443/tcp sudo ufw deny 80/tcp sudo ufw status verbose #******************************************************************************************************** #******************************************To test SQL**************************************************** sudo service mysql status sudo ss -tap | grep mysql sudo service mysql restart sudo journalctl -u mysql mysql-workbench #*************************************************************************************************** #************************************To build 1st database****************************************** sudo mysql CREATE USER 'jason.watts'@'localhost' IDENTIFIED BY 'Trm27658!!'; CREATE DATABASE IF NOT EXISTS comptronix CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci; GRANT ALL PRIVILEGES ON comptronix.* TO 'jason.watts'@'localhost'; FLUSH PRIVILEGES; quit; #****************************************************************************************************** sudo systemctl restart mysql.service sudo systemctl restart shiny-server #**************************************Setting up SAMBA*************************************************** #Install Samba sudo apt install samba #Make folder that will be used to share mkdir /home//sambashare/ #Edit samba config file to add the folder you made /etc/samba/smb.conf #For windows check to see if this is in the config file workgroup = WORKGROUP #Global option type [sambashare] comment = Samba on Ubuntu path = /home//sambashare read only = no browsable = yes writeable = yes browseable = yes valid users = one, two, three, four #Restart samba sudo service smbd restart #Edit firewall to allow samba sudo ufw allow samba #Add new samba user sudo smbpasswd -a #Install net tools to find ip. sudo apt install net-tools #*******Check Samba Status sudo systemctl status smbd #To Connect from a Windows Network \\IP_ADDRESS\\ #*********************************************************************************************************** #To create a symbolic link from to below ln -s /home/sharing/ /srv/shiny-server/Data #*************************************************Start Apache Config File*************************************************** SSLStaplingCache shmcb:/tmp/stapling_cache(128000) Allow from localhost ServerName companalyticsserver.net ServerAlias www.companalyticsserver.net ServerAlias *.companalyticsserver.net Header always set X-Frame-Options "SAMEORIGIN" Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains" SSLProtocol all -SSLv2 -SSLv3 SSLHonorCipherOrder on #SSLCipherSuite "EECDH+ECDSA+AESGCM EECDH+aRSA+AESGCM EECDH+ECDSA+SHA384 EECDH+ECDSA+SHA256 EECDH+aRSA+SHA384 EECDH+aRSA+SHA256 EECDH+aRSA+RC4 EECDH EDH+aRSA RC4 !aNULL !eNULL !LOW !3DES !MD5 !EXP !PSK !SRP !DSS" SSLCipherSuite ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-#SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256 SSLEngine On SSLCertificateFile /etc/ssl/certs/companalyticsserver_net.crt SSLCertificateKeyFile /etc/ssl/private/comptronix.key SSLCertificateChainFile /etc/ssl/companalyticsserver_net.ca-bundle SSLUseStapling on ProxyPreserveHost On ProxyPass / http://127.0.0.1:3838/ ProxyPassReverse / http://127.0.0.1:3838/ AuthType Basic AuthName "Restricted Access - Authenticate" AuthUserFile /etc/httpd/htpasswd.users Require valid-user Allow from localhost SSLProtocol all -SSLv2 -SSLv3 SSLHonorCipherOrder on #SSLCipherSuite "EECDH+ECDSA+AESGCM EECDH+aRSA+AESGCM EECDH+ECDSA+SHA384 EECDH+ECDSA+SHA256 EECDH+aRSA+SHA384 EECDH+aRSA+SHA256 EECDH+aRSA+RC4 EECDH EDH+aRSA RC4 !aNULL !eNULL !LOW !3DES !MD5 !EXP !PSK !SRP !DSS" SSLCipherSuite ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-#SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256 ServerName companalyticscloud.net ServerAlias www.companalyticscloud.net ServerAlias *.companalyticscloud.net Header always set X-Frame-Options "SAMEORIGIN" Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains" SSLEngine On SSLCertificateFile /etc/ssl/certs/companalyticscloud_net.crt SSLCertificateKeyFile /etc/ssl/private/comptronixcloud.key SSLCertificateChainFile /etc/ssl/companalyticscloud_net.ca-bundle SSLUseStapling on ProxyPass / http://localhost:9999/ ProxyPassReverse / http://localhost:9999/ ProxyRequests Off ServerName companalyticscloud.net Redirect permanent / https://companalyticscloud.net/ ServerName companalyticsserver.net Redirect permanent / https://companalyticsserver.net/ # #ServerName flow.companalyticsserver.net # # Allow from localhost # #RewriteEngine on #RewriteCond %{HTTP:Upgrade} =websocket #RewriteRule /(.*) ws://localhost:54321/$1 [P,L] #RewriteCond %{HTTP:Upgrade} !=websocket #RewriteRule /(.*) http://localhost:54321/$1 [P,L] #ProxyPass / http://localhost:3838/ #ProxyPassReverse / http://localhost:54321/ #ProxyRequests Off # # #ServerName music.companalyticsserver.net # # Allow from localhost # #RewriteEngine on #RewriteCond %{HTTP:Upgrade} =websocket #RewriteRule /(.*) ws://localhost:5959/$1 [P,L] #RewriteCond %{HTTP:Upgrade} !=websocket #RewriteRule /(.*) http://localhost:5959/$1 [P,L] #ProxyPass / http://localhost:3838/ #ProxyPassReverse / http://localhost:5959/ #ProxyRequests Off # ServerName golem.companalyticsserver.net Allow from localhost RewriteEngine on RewriteCond %{HTTP:Upgrade} =websocket RewriteRule /(.*) ws://localhost:11500/$1 [P,L] RewriteCond %{HTTP:Upgrade} !=websocket RewriteRule /(.*) http://localhost:11500/$1 [P,L] ProxyPass / http://localhost:3838/ ProxyPassReverse / http://localhost:11500/ ProxyRequests Off # vim: syntax=apache ts=4 sw=4 sts=4 sr noet #********************************************Stop Apache Config File**************************************** #********************************************Start Shiny Config File************************************** # Instruct Shiny Server to run applications as the user "shiny" run_as shiny; http_keepalive_timeout 600; app_idle_timeout 600; app_init_timeout 600; # Define a server that listens on port 3838 server { listen 3838; # Define a location at the base URL location / { # Host the directory of Shiny Apps stored in this directory site_dir /srv/shiny-server; # Log all Shiny output to files in this directory log_dir /var/log/shiny-server; # When a user visits the base URL rather than a particular application, # an index of the applications available in this directory will be shown. directory_index off; } } server { listen 4949; # Define a location at the base URL location / { # Host the directory of Shiny Apps stored in this directory site_dir /media/comptronix/DriveD/shiny-server; # Log all Shiny output to files in this directory log_dir /media/comptronix/DriveD/Logs/; # When a user visits the base URL rather than a particular application, # an index of the applications available in this directory will be shown. directory_index off; } } server { listen 5959; # Define a location at the base URL location / { # Host the directory of Shiny Apps stored in this directory site_dir /media/comptronix/DriveB/shiny-server; # Log all Shiny output to files in this directory log_dir /media/comptronix/DriveB/shiny-server/Logs/; # When a user visits the base URL rather than a particular application, # an index of the applications available in this directory will be shown. directory_index on; } } check all domains at the spamhaus database. https://check.spamhaus.org