jhannah / jays.net

Jay Hannah's personal home page

Home Page:http://jays.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jays.net
========

http://jays.net - Jay Hannah's personal home page

Most of our hosting is on Netlify nowadays (github.com/jhannah-netlify).
But we can't host jays.net there because we use Apache Server Side Includes,
want people to be able to browse random directories, and other random Apache
features...

We also can't host usshoustondive.com there because we want to rsync a huge

linode.com latest Debian  # https://www.debian.org/releases/index.en.html
                          # https://wiki.debian.org/DebianUpgrade
lsb_release -a
apt-get update
apt-get upgrade
apt-get full-upgrade
apt-get dist-upgrade
apt-get install apache2
apt-get install git
apt-get install subversion
apt-get install cpanminus
apt-get install build-essential
apt-get install net-tools
apt-get install rsync

adduser jhannah
chown -R jhannah /etc/apache2
chown -R jhannah /var/www
su - jhannah

Add this to the end of ~/.bashrc:
  eval "$(ssh-agent)"
  ssh-add ~/.ssh/github-jhannah.id_rsa

cd /etc/apache2/sites-available
Copy/paste jays.net.conf and usshoustondive.com.conf from https://github.com/jhannah/admin/tree/main/jays.net/etc/apache2/sites-available

cd /etc/apache2/sites-enabled
ln -s ../sites-available/jays.net.conf jays.net.conf
ln -s ../sites-available/usshoustondive.com.conf usshoustondive.conf

cd /var/www
git clone git@github.com:jhannah/jays.net

cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
cpanm Template
cd
mkdir src
cd src
git clone git@github.com:jhannah/usshoustondive.com
cd usshoustondive.com
ttree -f ttree.cfg

From local:
rsync -av --progress --max-size=5m \
  ~/Dropbox/Shared/houston\ file/ www.usshoustondive.com:/var/www/usshoustondive.com/assets/
After which probably that ttree thing again, since --delete might wipe out the CSS

/etc/init.d/apache2 restart



About

Jay Hannah's personal home page

http://jays.net


Languages

Language:HTML 99.4%Language:Perl 0.3%Language:Rich Text Format 0.1%Language:CSS 0.1%Language:JavaScript 0.0%Language:Shell 0.0%Language:mIRC Script 0.0%