![]() ![]() ![]() ![]() |
|
Hi Kevin, if you DM me your account/contact details I can get the team to help out.
Hamish
Running a website requires a substantial amount of ongoing time investment; it's not generally just set and forget. Staying on the same IP for more than a decade would be pretty unusual.
When/if you get a new static IP
Do a blacklist check to make sure its not on any blacklists . (it may not matter unless sending email from the sever , but check anyway)
Found that out the hard way & the replacement IP was also on a blacklist . 2 in a row .
https://mxtoolbox.com/blacklists.aspx
You can get static IP add-on for $5 by the way.
Internet is my backyard...
«Geekzone blog: Tech 'n Chips Takeaway» «Personal blog: And then...»
Please read the Geekzone's FUG
Don't think they'll be back.... think they've realized they needed a bit more knowledge behind the complaint/issue. :)
Gavin / xpd / FastRaccoon / Geek of Coastguard New Zealand
LinkTree - kiwiblast.co.nz - Lego and more
Support Kiwi music! The People Black Smoke Trigger Like A Storm Devilskin
NZ GEEKS Discord______________________________
Hi guys, just an update on this, I did reach out to Kevin via private message, to be clear, there is no issue on Vodafones end, other than the fact that a change of equipment (Ultra hub) and public IP has been forced on him, but this in un avoidable.
I advised Kevin as to who the DNS register is as the result of a quick whois, this triggered a long distant memory and he is chasing up with that entity to have the A record updated.
His current Smoothwall firewall is very old and long since stopped being patched, we have discussed some alternatives and Kevin is looking at those currently. The Smoothwall solution as it currently is does not support vlans at all, so immediately the upgrade to DOCSIS3.1 created an issue re vlan10 on the WAN, hence the Ultra hub is in circuit.
Cheers Cyril
Thank you everyone for the interest and advice. A extra thank you to @michaelmurfy for suggesting pfSense as a solution and many thanks to @Cyril7 for his help with the network configuration.
To exclude the Vodafone Ultra Hub
"All FibreX connections are DHCP. A "static" IP on FibreX is just a reserved DHCP allocation. It's essentially the same thing from the outside looking in (my IP is always 203.xxx.xxx.xxx), but in terms of configuring your router, it needs to be set up to obtain the WAN settings via DHCP." https://www.geekzone.co.nz/forums.asp?forumid=40&topicid=205145&page_no=2
WAN -> VLAN igb3.10 -> DHCP
If you wish to include the Vodafone Ultra Hub for IP Phones:
LAN -> VLAN igb4.10 -> Static
This completes the diagram:
VOIP SIP and UDP Settings
My Ipphones sometimes dropped out after 10+ minutes and unless one used speed dialing a phone number never completed.
With Cyril7 help:
If you wish to find out more:
https://www.drupal.org/forum/support/installing-drupal/2021-07-20/composer-beginner
Installed Drupal 9 on Ubuntu Server LTS 20.04
Used HP Smart Start to establish Raid1
Installed Ubuntu Server LTS 20.04 23/07/2021
Language: English
Keyboard: English(US) English(US) - English(US,Alt,Intl)
Network: enp3s4f1 IPv4
Subnet 192.168.2.0/24
Address 192.168.2.3
Gateway 192.168.2.1
Name Servers 203.109.191.1, 203.118.191.1, 203.96.152.4, 203.96.152.12, 8.8.8.8, 8.8.4.4
User: Name Kevin
Name Server kgwebsite
User Name kevin
Password
Installed OpenSSH
Import keys No
Installed Powershell
Reboot
$sudo passwd root
Cntl-D
# cd /
# apt purge cloud-init -y
# rm -Rf /etc/cloud
# apt remove open-iscsi
# apt autoclean && autoremove
# reboot
# apt install net-tools
# ifconfig -a
# apt install ntp
# ntpq -p
# mkdir /media/usb
# apt install unzip zip usbmount gpm
# apt install tasksel
# systemctl enable --now mysql
# systemctl enable --now apache2
# mysql -u root -p (entered pwd)
Cntl-L (clear screen)
# ufw app list
# ufw allow in "Äpache"
# ufw allow in "OpenSSH"
# ufw status
# ufw enable
Browser: http://192.168.2.3 (output "Apache Default Page"
# reboot
# nano /etc/sysctl.conf (Lookout for 100's of "i2c i2c-1 sendbytes" in console before log in)
# Uncomment the following to stop low-level messages on console
kernel.print = 3 4 1 3
Cntl-O Cntl-X
# apt install mc
Menu -> "Left -> Listing format"
Enter User "full name:30 owner group perm space size space mtime space name"
Menu "Options -> Panel options -> Auto Save Panels Setup" x
F10
# nano /root/.screenrc
"defscroll 5000"
Browser helpful: https://computingforgeeks.com/how-to-install-drupal-cms-on-ubuntu-linux/
# service mysql status ("active (running)")
# mysql_secure_installation
VALIDATE PASSWORD no
Enter root passwd
Remove anonymous user yes
Disallow root login remotely no
Remove test databas yes
Reload privilege tables yes
All done exit
# mysql -u root
>UPDATE mysql.user SET plugin = 'mysql_native_password' WHERE user = 'root';
>FLUSH PRIVILEGES;
>exit;
# mysql_secure_installation
VALIDATE PASSWORD no
Enter root passwd
All done exit
# mysql -u root -p (entered pwd accepted)
>REM DROP USER 'drupal'@'localhost';
>REM DROP DATABASE drupal;
>CREATE DATABASE drupal;
>CREATE USER 'drupal'@'localhost' IDENTIFIED BY 'Str0ngDrupaLP@SS';
>GRANT ALL ON drupal.* TO 'drupal'@'localhost';
>FLUSH PRIVILEGES;
>exit;
# cd /var/www
# mkdir rescuerobot
Windows Notepad++
<VirtualHost *:80>
ServerName rescuerobot.org
ServerAlias www.rescuerobot.org
ServerAdmin admin@rescuerobot.org
DocumentRoot /var/www/rescuerobot/web/
CustomLog ${APACHE_LOG_DIR}/access.log combined
ErrorLog ${APACHE_LOG_DIR}/error.log
<Directory /var/www/rescuerobot/web>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
</Directory>
</VirtualHost>
Menu -> Edit -> EOL Conversion (to Unix (LF)
Saved rescuerobot.conf to USB stick
# lsblk
# mount /dev/sdb1 /media/usb
# ls /media/usb
# cp -av /media/usb/rescuerobot.conf /etc/apache2/sites-available
# umount /media/usb
# apt install php-{cli,fpm,json,common,mysql,zip,gd,intl,mbstring,curl,xml,pear,tidy,soap,bcmath,xmlrpc}
# nano /etc/php/7.4/apache2/php.ini
enter: memory_limit = 256M
enter: date.timezone = Pacific/Auckland
uncomment: extension = openssh
extension = curl
extension = gd2
extension = mbstring
Cntl-O Cntl-X
# a2enmod rewrite
# apachectl -t
# a2dismod mpm_event
# a2enmod mpm_prefork
# a2enmod php7.4
# a2ensite rescuerobot (must copy rescuerobot.conf to sites-enabled)
# nano /etc/apache2/apache2.conf
#Global configuration
ServerName kgdomain.kgwebsite
# a2dissite 000-default (check sites-available and sites-enabled)
# apache2ctl configtest
# systemctl restart apache2
# mkdir /var/www/rescuerobot/web
# cp -av /media/usb/info.php /var/www/rescuerobot/web
Browser: http://192.168.2.3/info.php (Works!)
# rm -Rv /var/www/rescuerobot/*
Windows Notepad++ kginstall
Browser helpful: https://getcomposer.org/download/
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === '756890a4488ce9024fc62c56153228907f1545c228516cbf63f885e036d37e9a59d27d63f46af1d4d07ee0f76181c7d3') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
# cp -av /media/usb/kginstall /var/www
# cd /var/www
# ./kginstall
# mkdir bin
# cp -av composer.phar ./bin
# ./bin/composer.phar create-project drupal/recommended-project:9.2.2 rescuerobot
# ./bin/composer.phar require drush/drush
# mkdir /var/www/rescuerobot/web/sites/default/files
# chmod drwxrwxr-x files
# cp -av default.settings.php settings.php
Browser: http://192.168.2.3/core/install.php (resolve Requirements problem: e.g. File System) find small link/button at bottom of the web page "Try again"
# cd /var/www/rescuerobot
# chown -R root:www-data .
"Try again"
Install completed.
None of the above is guaranteed to be correct and complete. The mysql script has been modified to run on mysql 8. Please treat this article as a guide. Any advice or corrections would be much appreciated.
Kevin.
|
![]() ![]() ![]() ![]() |