Skip to content
This repository was archived by the owner on Sep 4, 2019. It is now read-only.

Defacto2 Apache Tomcat migration tool

License

Notifications You must be signed in to change notification settings

archived-by-ben/tomcatupdate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tomcatupdate

Defacto2 Apache Tomcat migration tool

GitHub Maintenance   Go Report Card Build Status

Usage in Windows has been disabled as it relies on POSIX compatible permission bits.

Created in Go, to build from source.

Clone this repo.

git clone https://github.com/Defacto2/tomcatupdate.git

Install the dependencies.

go get github.com/dustin/go-humanize && go get github.com/phayes/permbits

Update the const values for both userID and groupID for the tomcat user and group ids.

  • cat /etc/passwd will have the user
  • cat /etc/group will have the group
cd tomcatupdate
nano tomcatupdate
const (
	userID      = 0
	groupID     = 0
)
go build
./tomcatupdate -h
Usage of ./tomcatupdate:
  -dir string
        path to existing Tomcat 8.5 install (default "/opt/tomcat8")
  -log
        log any errors with timestamps
  -quiet
        suppress terminal output
  -ver int
        version of Tomcat 8.5.* to download (default -1)
  -verbose
        detail each file and directory that is handled

About

Defacto2 Apache Tomcat migration tool

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages