Difference between revisions of "Recreating Playground"

From Digital Scholarship Group
Jump to navigation Jump to search
Line 19: Line 19:
 
* ant — intsalled 2020-11-30 with `sudo yum install ant.noarch`
 
* ant — intsalled 2020-11-30 with `sudo yum install ant.noarch`
 
* screen — nope, Red Hat [https://access.redhat.com/solutions/4136481 recommends tmux] instead — installed 2020-11-30 with `sudo yum install tmux.x86_64`
 
* screen — nope, Red Hat [https://access.redhat.com/solutions/4136481 recommends tmux] instead — installed 2020-11-30 with `sudo yum install tmux.x86_64`
* Tomcat — '''not found'''
+
* Tomcat — no yum package found
 
** downloaded the “Core” tarball off of https://tomcat.apache.org/download-90.cgi
 
** downloaded the “Core” tarball off of https://tomcat.apache.org/download-90.cgi
 
** stored it in /usr/local/src/
 
** stored it in /usr/local/src/
Line 28: Line 28:
 
** following instructions at https://tomcat.apache.org/tomcat-9.0-doc/setup.html ...
 
** following instructions at https://tomcat.apache.org/tomcat-9.0-doc/setup.html ...
 
* git — installed 2020-11-30 with `sudo yum install git.x86_64` (installed 46 dependencies, mostly Perl packages)
 
* git — installed 2020-11-30 with `sudo yum install git.x86_64` (installed 46 dependencies, mostly Perl packages)
* eXist — '''not found'''
+
* eXist — '''no yum package found'''
* MariaDB (maybe? maybe not)
+
* MariaDB ('''maybe'''? maybe not)
* lessc (pkg = node-less) — '''not found'''
+
* lessc (pkg = node-less) — no yum package found
** neither `yum` nor `dnf` found a package
 
 
** Ash checked, they recommend installing via npm
 
** Ash checked, they recommend installing via npm
 
** npm — installed 2020-12-02 with `sudo dnf install npm.x86_64`
 
** npm — installed 2020-12-02 with `sudo dnf install npm.x86_64`

Revision as of 16:22, 4 December 2020

Installing CentOS and WWO onto playground

This page is notes for re-creating the WWO environment from RH 6.10 (wwp.neu.edu) to CentOS 8.2 (playground). It will serve as a guide to start, and then hopefully a useful description for future similar upgrades.

CentOS

Installing CentOS was essentially trivial. We used the CentOS-8.2.2004-x86_64-boot.iso.

It appears that yum has been superceded by dnf.

Things we should or have installed

  • Emacs — installed 2020-11-30 with `sudo yum install emacs-nox.x86_64`
  • Emacs/nxml — was automagically installed by above (and has nice colors! :-)
  • make — installed 2020-11-30 with `sudo yum install make.x86_64`
  • Subversion — installed 2020-11-30 with `sudo yum install subversion.x86_64`
  • libxml2/xmllint — libxml2-2.9.7-7.el8.x86_64 is already installed
  • libxslt/xsltproc — installed 2020-11-30 with `sudo yum install libxslt.x86_64`
  • ant — intsalled 2020-11-30 with `sudo yum install ant.noarch`
  • screen — nope, Red Hat recommends tmux instead — installed 2020-11-30 with `sudo yum install tmux.x86_64`
  • Tomcat — no yum package found
  • git — installed 2020-11-30 with `sudo yum install git.x86_64` (installed 46 dependencies, mostly Perl packages)
  • eXist — no yum package found
  • MariaDB (maybe? maybe not)
  • lessc (pkg = node-less) — no yum package found
    • Ash checked, they recommend installing via npm
    • npm — installed 2020-12-02 with `sudo dnf install npm.x86_64`
    • installed lessc with `sudo npm install less -g`
  • Perl — v 5.26.3 already installed
  • PHP — installed 2020-11-30 with `sudo yum install php.x86_64`
  • Python — I do not know if we want version 3.6 or 3.8 (or 2.7, which I doubt); see the RHEL8 doc
  • Awstats —not found
  • locate — already installed, but need to generate and cronify udpatedb; done 2020-11-30, I think. Ran `sudo /usr/bin/updatedb` and now `locate` seems to work. Symlinked /usr/bin/updatedb to /etc/cron.daily/updatedb. Hope that works. I think we check by loooking at timestamp of /var/lib/mlocate/mlocate.db.
  • gcc — installed 2020-12-02 with `sudo dnf install gcc.x86_64`

Apache modules, etc.

  • mod_jk
  • server side includes
  • whatever we need for security and textbaseIP stuff
  • redirection stuff

November 2019 notes

“playground” is the name Ashley & Syd give to the box they are using for experimentations. (Currently for web stat packages.) This page describes a procedure for installing a CentOS (i.e., RedHat clone) OS on it quickly.

  • Remember to back up iptables and restore it
  • We re-set the clock with instructions from a website we found.