ERROR: Slooooow dooooown... this page load was delayed.


ipcalc - Broadcast, network, wildcard mask, host range of an IP address ChangeLog

HOWTO


# ipcalc 0.51
# ===========
# Similar:
# subnetcalc
# whatmask

# As this is written, the latest available directly from jodies.de is:
# 0.41 (2006-07-27)
# Below we get 0.51 from GitHub (2021-11-03)

# GitHub ipcalc 0.51 Release
# GitHub ipcalc 0.51 Commits

# Get the tarball
cd
test -f installed/ipcalc-0.51.tar.gz &&
mv -f installed/ipcalc-0.51.tar.gz .
test ! -f ipcalc-0.51.tar.gz &&
wget https://github.com/kjokjo/ipcalc/archive/refs/tags/0.51.tar.gz -O \
ipcalc-0.51.tar.gz

# Extract the tarball
mkdir -p -m 0700 ~/src
cd ~/src
find -maxdepth 1 -type d -name "ipcalc-*" -execm rm -r {} \;
tar xzvf ~/ipcalc-0.51.tar.gz
cd ipcalc-0.51
test $UID = 0 && chown -R root:root .

# Read README.md, ipcalc (it's a Perl script), and 'man ./ipcalc.1'
# If upgrading, read changelog

# Become root to install it
su

install -m 0755 ipcalc /usr/local/bin/
install -m 0755 ipcalc.1 /usr/local/man/man1/

# If you also want to use it as a CGI script, see the example use at
# https://jodies.de/ipcalc/
# and look at ipcalc.cgi, which is the file that makes that web page,
# and ipcalc.gif and ipcalculator.png
#
# If using source-installed Apache HTTP 2.x, you might put them in
# /usr/local/apache2/cgi-bin and make them owned by root:daemon with
# 0750 permissions or something like that...  Or set up ScriptAlias
# somewhere else...
# https://httpd.apache.org/docs/2.4/howto/cgi.html
# https://httpd.apache.org/docs/current/mod/mod_cgi.html
# https://httpd.apache.org/docs/current/en/mod/mod_alias.html#scriptalias

# Become your non-root user again
exit

# Save the source for later
cd
mkdir -p -m 0700 installed
rm -f installed/ipcalc-*.tar.*
mv ipcalc-0.51.tar.gz installed/


# If you ever want to uninstall ipcalc, this should do it:
cd
su
rm -f /usr/local/bin/ipcalc /usr/local/man/man1/ipcalc.1
exit
find ~/src -maxdepth 1 -type d -name "ipcalc-*" -exec rm -r {} \;
rm -f ~/installed/ipcalc-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2023-10-11 11:51am
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]