====== hostEONS-LAX02-Install-System-Auto ====== wget -O xev_net_pre_install.sh "https://docs.xev.net.eu.org/doku.php?do=export_code&id=hosteons-lax02-install-system-auto&codeblock=11" chmod 700 xev_net_pre_install.sh bash ./xev_net_pre_install.sh rm -rfv xev_net_pre_install.sh systemctl reboot wget -O xev_net_install_config.sh "https://docs.xev.net.eu.org/doku.php?do=export_code&id=hosteons-lax02-install-system-auto&codeblock=10" chmod 700 xev_net_install_config.sh wget -O xev_net_install.sh "https://docs.xev.net.eu.org/doku.php?do=export_code&id=auto-install&codeblock=12" chmod 700 xev_net_install.sh wget -O logo.png "https://docs.xev.net.eu.org/lib/exe/fetch.php?media=wiki:logo.png" nano xev_net_install_config.sh bash ./xev_net_install.sh rm -rfv xev_net_install.sh rm -rfv xev_net_install_config.sh rm -rfv logo.png systemctl reboot ---- # IPv4 127.0.0.1 localhost.localdomain localhost 45.92.156.153 ams01.xev.net.eu.org ams01 74.48.138.241 lax01.xev.net.eu.org lax01 205.234.252.98 lax02.xev.net.eu.org lax02 # IPv6 ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters lax01 #!/bin/sh # # xev_net_install_config.sh # # Set the variables XN_HOSTNAME="lax02" XN_HOSTNAME_FULL="lax02.xev.net.eu.org" XN_IPV4="205.234.252.98" XN_IPV6="2402:d0c0:13:c9c8::2" XN_IPV6_SHARED="2402:d0c0:13:c9c8::10" XN_IPV4_TOR="127.0.0.1" XN_REMOTE_USER="username" XN_REMOTE_PASS="password" XN_REMOTE_LOCATION="https://lax02.xev.net.eu.org:8080/remote/index.php" XN_REMOTE_URI="https://lax02.xev.net.eu.org:8080/remote/" XN_SYS_COMPANY_NAME="Xev Net" XN_SYS_COMPANY_TAGLINE="Quality Dependable White Box Hosting" XN_SYS_COMPANY_URL="https://my.xev.net.eu.org/" XN_SYS_LOGIN_TEXT="Xev Net ISPConfig" XN_SYS_LOGIN_LINK="" XN_SYS_ATOM_URL_RESELLER="https://my.xev.net.eu.org/news/atom.xml" XN_SYS_ATOM_URL_CLIENT="https://my.xev.net.eu.org/news/atom.xml" XN_SYS_SMTP_MAIL="support@xev.net.eu.org" XN_SYS_SMTP_NAME="Xev Net" XN_SYS_SMTP_HOST="cov01.xev.net.eu.org" XN_SYS_SMTP_USER="support@xev.net.eu.org" XN_SYS_SMTP_PASS="password" XN_CLIENT_USER="username" XN_CLIENT_PASS="password" XN_CLIENT_EMAIL="e@mail.com" XN_CLIENT_MASTER="48" XN_CLIENT_ADDITIONAL="11/11/11/11" XN_CLIENT_CONTACT_NAME="Xev Net" XN_CLIENT_COMPANY_NAME="Xev Net" XN_CLIENT_COMPANY_URL="https://my.xev.net.eu.org/" XN_FTP_DEFAULT1_USER="ftp1" XN_FTP_DEFAULT1_PASS="password" XN_FTP_DEFAULT2_USER="ftp2" XN_FTP_DEFAULT2_PASS="password" XN_FTP_DEFAULT3_USER="ftp3" XN_FTP_DEFAULT3_PASS="password" XN_FTP_HOST_USER="ftp14" XN_FTP_HOST_PASS="password" XN_FTP_LG_USER="ftp15" XN_FTP_LG_PASS="password" XN_SHELL_LG_USER="shell15" XN_SHELL_LG_PASS="password" LG_NAME="Xev Net Looking Glass - LAX02" LG_LG="//lg.lax02.xev.net.eu.org" LG_LOCATION="Los Angeles, California US" LG_TESTIPV4="205.234.252.98" LG_TESTIPV6="2402:d0c0:13:c9c8::2" LG_TESTFILES="10MB 50MB" LG_RATE_LIMIT="y" LG_LIMIT_RATE="20" LG_CHOOSETHEME="y" LG_THEME="united" LG_WEB_SERVER_USERNAME="www-data" LG_WEB_SERVER_USERGROUP="www-data" # # Do not edit below this line unless you fully understand what you are doing # # There is nothing more to do here #!/bin/sh # # xev_net_pre_install.sh # # Do not edit below this line unless you understand fully what you are doing # # Update the hosts, hostname and resolv.conf files and prepare the system for installation wget -O hosts "https://docs.xev.net.eu.org/doku.php?do=export_code&id=hosteons-lax02-install-system-auto&codeblock=7" wget -O hostname "https://docs.xev.net.eu.org/doku.php?do=export_code&id=hosteons-lax02-install-system-auto&codeblock=8" wget -O resolv.conf "https://docs.xev.net.eu.org/doku.php?do=export_code&id=hosteons-lax02-install-system-auto&codeblock=9" cp -v hosts /etc/hosts cp -v hostname /etc/hostname cp -v resolv.conf /etc/resolv.conf rm -rfv hosts rm -rfv hostname rm -rfv resolv.conf XN_UUID="$(blkid -s UUID -o value /dev/vda2)" echo "RESUME=UUID=${XN_UUID}" > /etc/initramfs-tools/conf.d/resume update-initramfs -u -k all # # There is nothing more to do here