{"id":21216864,"url":"https://github.com/en-o/tntookit","last_synced_at":"2025-08-17T19:42:53.032Z","repository":{"id":45869190,"uuid":"433671079","full_name":"en-o/TnTookit","owner":"en-o","description":"系统环境工具箱 - 主要在gitee更新","archived":false,"fork":false,"pushed_at":"2021-12-20T04:30:07.000Z","size":34233,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-21T16:45:12.319Z","etag":null,"topics":["cmd","powershell","shell"],"latest_commit_sha":null,"homepage":"https://gitee.com/etn/TnTookit","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/en-o.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-01T03:35:16.000Z","updated_at":"2021-12-20T04:30:10.000Z","dependencies_parsed_at":"2022-09-14T12:01:41.972Z","dependency_job_id":null,"html_url":"https://github.com/en-o/TnTookit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/en-o%2FTnTookit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/en-o%2FTnTookit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/en-o%2FTnTookit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/en-o%2FTnTookit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/en-o","download_url":"https://codeload.github.com/en-o/TnTookit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243667967,"owners_count":20328036,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cmd","powershell","shell"],"created_at":"2024-11-20T21:55:57.672Z","updated_at":"2025-03-15T00:41:57.411Z","avatar_url":"https://github.com/en-o.png","language":"Java","readme":"\u003cdiv style=\"text-align: center;\"\u003e\n\t\u003ca href=\"https://tannn.cn\"  target=\"_blank\"\u003e\n\t    \u003cimg src=\"https://tannn.cn/images/Img/TnTookit.jpg\" width=\"400\" alt=\"logo\"\u003e\n\t\u003c/a\u003e\n\u003c/div\u003e\n\u003cdiv style=\"text-align: center;\"\u003e\n\t\u003cstrong\u003eTnTookit 服务器/开发机 环境工具箱\u003c/strong\u003e\n\u003c/div\u003e\n\u003cdiv style=\"text-align: center; margin-top: 20px\"\u003e\n    \u003ca target=\"_blank\" href=\"https://tannn.cn\"\u003e\n        \u003cimg src='https://img.shields.io/badge/license-GPL--3.0-brightgreen' alt='license'/\u003e\n    \u003c/a\u003e\n    \u003ca target=\"_blank\" href=\"https://tannn.cn\"\u003e\n        \u003cimg src='https://img.shields.io/badge/JDK-1.8.0_281+-green.svg' alt='jdk'/\u003e\n    \u003c/a\u003e\n    \u003ca target=\"_blank\" href=\"https://tannn.cn\"\u003e\n        \u003cimg src='https://gitee.com/etn/TnTookit/badge/star.svg?theme=dark' alt='gitee star'/\u003e\n    \u003c/a\u003e\n    \u003ca target=\"_blank\" href=\"https://tannn.cn\"\u003e\n        \u003cimg src='https://img.shields.io/badge/Author-谭宁-orange.svg' alt='author'/\u003e\n    \u003c/a\u003e\n    \u003ca target=\"_blank\" href=\"https://tannn.cn\"\u003e\n        \u003cimg src='https://img.shields.io/badge/version-v0.0.1beta-brightgreen.svg' alt='version'/\u003e\n    \u003c/a\u003e\n\u003c/div\u003e\n\n# 全局配置\n1. Linux默认打开防火墙端口 80，8080，443\n\u003e 只能在Centos7 或者 防火墙是firewall 的情况下生效\n\n# 注意事项\n## windows 命令权限问题\n1. jar必须在有管理权限的命令行启动\n2. 源码调试时 ide 必须以管理员启动\n## 项目依赖resources目录下的tools包\n1. 源码启动请把tools（包含tools）整个包移动到 target 下使用\n2. jar启动请把tools（包含tools）整个包跟随jar放在一起 tree如下：\n```text\nC:.\n└─tools\n├    └─windows\n├        ├─7-Zip\n├        │  └─Lang\n├        └─winsw\n├        └─mysql\n├        │  └─mysql8\n├        │  └─VC_redist.x64.exe\n├        └─commonbat\n├        └─redis\n├    └─linux\n├        ├─nginx\n└─tanTookit-0.0.1-SNAPSHOT.jar\n```\n\n\n# 完成功能\n\u003e 启动项目后会有接口地址打印，访问它就行了\n## windows 10\n\u003e - 源码测试IDEA必须用管理员模式启动    \n\u003e - jar 使用也必须在管理员CMD中运行   \n\u003e - 下列安装的软件均为开机自启\n### OpenResty(nginx)的安装注册服务加自启\n### maven3.x的下载和配置全局环境\n\u003e- 注意\n\u003e\u003e 1. maven下载是用的apache的下载地址，有时候很慢慢需要等很久\n\u003e\u003e 2. 如果嫌等太久，目前可以本地把maven文件下好，放到jar包同目录下\n### mysql8.x 版本安装跟注册服务\n\u003e - 注意   \n\u003e\u003e 1. 手动检查电脑是否有VC_redist.x64.exe环境（建议直接带点击安装之后在调用接口）\n\u003e\u003e 2. 由于目前无法检测到VC_redist.x64.exe的安装所以必须手动检测\n\u003e\u003e 3. 要安装多个数据库，请选择不通的安装路径跟端口和服务名\n\u003e\u003e 4. 全局环境没有生效（调试中\n### redis windows版的安装注册\n\u003e - 注意\n\u003e\u003e 1. 如果安装路径不改动的情况下安装第二个redis服务，密码设置会沿用第一个的\n\u003e\u003e 2. 安装多个时请注意修改端口跟服务名\n\u003e\u003e 3. 未设置全局环境\n\n## win公共功能\n### 1. 根据端口查询进程名\n### 2. 根据端口杀进程\n\n\n## Linx \n\u003e 测试机型Centos7\n### OpenResty(nginx)的安装注册服务加自启\n\u003e 默认打开80端口\n\n\n# 用途\n1. 安装开发中用到的环境\n\n# 服务器环境\n1. windows \n- windows 10+\n- server 2012\n- server 2008\n2. linux\n- centos 7+\n\n# 开发语言\n- java\n\n# 接口示例\n\u003e 启动项目后会有接口地址打印，访问它就行了\n![输入图片说明](src/main/resources/image/imageimage.png)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fen-o%2Ftntookit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fen-o%2Ftntookit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fen-o%2Ftntookit/lists"}