changes to support subscription server install script going forward for new ay 8.2.0 and ubuntu 24.04 setups
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "sockeye",
|
||||
"version": "8.0.14",
|
||||
"version": "8.0.16",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"serve": "vue-cli-service serve",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
export default {
|
||||
version: "8.0.14",
|
||||
version: "8.0.16",
|
||||
copyright: "© 1999-2024, Ground Zero Tech-Works Inc."
|
||||
};
|
||||
|
||||
@@ -1346,7 +1346,7 @@ async function clickHandler(menuItem) {
|
||||
# 3) Add droplet into raven-server-standard-firewall
|
||||
# 4) check DNS available using https://letsdebug.net/
|
||||
# 5) Open putty, select X.onayanova.com, change ip to new droplet domain name and open it
|
||||
# 6) apt-get update && apt-get upgrade reboot, if necessary use apt --with-new-pkgs upgrade
|
||||
# 6) apt-get update && apt-get dist-upgrade reboot
|
||||
# 7) TRIAL: make calendar entry 8 days hence to decommision and blueberry color reminder 0 days 11am
|
||||
# 8) nano ayinit.sh paste in this
|
||||
# 9) CHANGE the values at the top of the script to the desired time zone (see rfdocs for list) and subdomain, Save and exit nano
|
||||
@@ -1363,6 +1363,7 @@ echo STARTING...
|
||||
timedatectl set-timezone $TIMEZONE
|
||||
apt-get update
|
||||
apt-get dist-upgrade -y
|
||||
dpkg-reconfigure unattended-upgrades
|
||||
echo SET SWAP FILE
|
||||
fallocate -l 1G /swapfile
|
||||
chmod 600 /swapfile
|
||||
@@ -1372,7 +1373,7 @@ echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab
|
||||
echo 'vm.swappiness=10' | sudo tee -a /etc/sysctl.conf
|
||||
echo 'vm.vfs_cache_pressure=50' | sudo tee -a /etc/sysctl.conf
|
||||
echo INSTALL .NET CORE
|
||||
apt-get install -y aspnetcore-runtime-6.0
|
||||
apt-get install -y aspnetcore-runtime-8.0
|
||||
echo INSTALL POSTGRESQL
|
||||
sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
|
||||
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
|
||||
@@ -1380,22 +1381,27 @@ sudo apt-get update
|
||||
sudo apt-get -y install postgresql
|
||||
sudo -u postgres psql -U postgres -d postgres -c "alter user postgres with password 'YOUR_PASSWORD_HERE';"
|
||||
echo INSTALL REPORTING LIBS
|
||||
sudo apt-get install -yq gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 \
|
||||
libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 \
|
||||
libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 \
|
||||
libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 libgbm1 \
|
||||
ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget
|
||||
|
||||
# Ubuntu 24.04
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libatk1.0-0t64 libc6 libcairo2 libdbus-1-3 libexpat1 libfontconfig1 libgcc-s1 libgdk-pixbuf2.0-0 libglib2.0-0t64 libgtk-3-0t64 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libnss3 lsb-release libgbm-dev xdg-utils
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libatk-bridge2.0-0t64 libcups2t64 libxcomposite1 libxdamage1 libpangocairo-1.0-0 libxfixes3 libxrandr2 libgbm1 libcairo2 libpango-1.0-0 libasound2t64 wget
|
||||
# NOTE: for future releases of ubuntu when need to update packages this was helpful https://itsfoss.com/unable-to-locate-package-error-ubuntu/
|
||||
echo INSTALL AYANOVA
|
||||
apt install zip unzip -y
|
||||
mkdir /var/ayanova
|
||||
mkdir /var/ayanova/data
|
||||
mkdir /var/ayanova/.local-chromium
|
||||
mkdir /var/ayanova/Chrome
|
||||
mkdir /var/ayanova/ChromeHeadlessShell
|
||||
cd /var/ayanova
|
||||
curl -O https://www.ayanova.com/download/ayanova-subscription-linux-x64-server.zip && \
|
||||
unzip -o ayanova-subscription-linux-x64-server.zip
|
||||
# NEXT VERSION FOR TESTING CHANGE FOR PRODUCTION
|
||||
curl -O https://www.ayanova.com/download/next/ayanova-subscription-linux-x64-server.zip && unzip -o ayanova-subscription-linux-x64-server.zip
|
||||
chown -vR :www-data /var/ayanova
|
||||
chmod -R g+rw /var/ayanova/data
|
||||
chmod -R g+rwx /var/ayanova/.local-chromium
|
||||
chmod -R g+rwx /var/ayanova/Chrome
|
||||
chmod -R g+rwx /var/ayanova/ChromeHeadlessShell
|
||||
chmod g+rw /var/ayanova/
|
||||
echo '[Unit]' >> /etc/systemd/system/ayanova.service
|
||||
echo 'Description=AyaNova server' >> /etc/systemd/system/ayanova.service
|
||||
echo '' >> /etc/systemd/system/ayanova.service
|
||||
@@ -1458,26 +1464,6 @@ echo ...COMPLETED
|
||||
);
|
||||
break;
|
||||
|
||||
// case "QuoteList":
|
||||
// m.vm.$router.push({
|
||||
// name: "svc-quotes",
|
||||
// params: {
|
||||
// aType: m.vm.sockType,
|
||||
// objectId: m.vm.obj.id,
|
||||
// name: m.vm.obj.name
|
||||
// }
|
||||
// });
|
||||
// break;
|
||||
// case "PMList":
|
||||
// m.vm.$router.push({
|
||||
// name: "svc-pms",
|
||||
// params: {
|
||||
// aType: m.vm.sockType,
|
||||
// objectId: m.vm.obj.id,
|
||||
// name: m.vm.obj.name
|
||||
// }
|
||||
// });
|
||||
// break;
|
||||
default:
|
||||
window.$gz.eventBus.$emit(
|
||||
"notify-warning",
|
||||
|
||||
Reference in New Issue
Block a user