{"id":20916090,"url":"https://github.com/pigloverabbit520/lnmpshell","last_synced_at":"2025-05-13T11:30:26.585Z","repository":{"id":181814603,"uuid":"82790282","full_name":"pigLoveRabbit520/LnmpShell","owner":"pigLoveRabbit520","description":"Linux 上php mysql nginx集成bash脚本","archived":false,"fork":false,"pushed_at":"2020-04-08T03:47:05.000Z","size":31,"stargazers_count":19,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-01T23:05:28.534Z","etag":null,"topics":["linux","nginx","php","shell"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pigLoveRabbit520.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-02-22T10:11:31.000Z","updated_at":"2025-01-06T05:20:09.000Z","dependencies_parsed_at":"2023-07-17T13:21:23.236Z","dependency_job_id":null,"html_url":"https://github.com/pigLoveRabbit520/LnmpShell","commit_stats":null,"previous_names":["pigloverabbit520/lnmpshell"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pigLoveRabbit520%2FLnmpShell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pigLoveRabbit520%2FLnmpShell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pigLoveRabbit520%2FLnmpShell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pigLoveRabbit520%2FLnmpShell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pigLoveRabbit520","download_url":"https://codeload.github.com/pigLoveRabbit520/LnmpShell/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253932690,"owners_count":21986440,"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":["linux","nginx","php","shell"],"created_at":"2024-11-18T16:19:42.136Z","updated_at":"2025-05-13T11:30:26.336Z","avatar_url":"https://github.com/pigLoveRabbit520.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LNMP编译脚本\nLinux 上php mysql nginx集成bash脚本[下载](http://file.51lucy.com/LNMP.tar.gz)\n\n# 使用\n```\nchmod a+x install.sh\n./install.sh\n```\n\n# 注意\n* 必须以root用户运行脚本\n* `install.sh`用来安装nginx和php，`mysql.sh`用来安装mysql\n* 修改php和nginx版本的话，请修改`nginx_version`和`php_version`变量（在shell开头），默认安装PHP版本为7.1.16\n* mcrypt已被PHP废弃，该shell中不安装它\n\n# 代码说明\n1. `Get_Dist_Name`用来判断不同的Linux发行版\n2. `install_dependencies`安装软件依赖\n3. `install_nginx`安装nginx\n4. `install_php`安装php\n5. Ubuntu和Debian的mysqlclient-dev库名不一样，前者为libmysqlclient-dev，后者为default-libmysqlclient-dev\n\n# 联系\n我的[博客](https://blog.51lucy.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpigloverabbit520%2Flnmpshell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpigloverabbit520%2Flnmpshell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpigloverabbit520%2Flnmpshell/lists"}