{"id":19600423,"url":"https://github.com/linuxeye/lempstack","last_synced_at":"2025-04-27T16:32:21.635Z","repository":{"id":31458208,"uuid":"35022061","full_name":"linuxeye/lempstack","owner":"linuxeye","description":"LEMP stack installation scripts for CentOS/Redhat Debian and Ubuntu","archived":false,"fork":false,"pushed_at":"2019-03-05T02:47:07.000Z","size":682,"stargazers_count":27,"open_issues_count":0,"forks_count":13,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T01:32:18.165Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://lempstack.com","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/linuxeye.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":"2015-05-04T08:02:19.000Z","updated_at":"2025-02-02T01:51:41.000Z","dependencies_parsed_at":"2022-09-17T14:12:20.286Z","dependency_job_id":null,"html_url":"https://github.com/linuxeye/lempstack","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/linuxeye%2Flempstack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linuxeye%2Flempstack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linuxeye%2Flempstack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linuxeye%2Flempstack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linuxeye","download_url":"https://codeload.github.com/linuxeye/lempstack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251171644,"owners_count":21547128,"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":[],"created_at":"2024-11-11T09:14:40.640Z","updated_at":"2025-04-27T16:32:20.771Z","avatar_url":"https://github.com/linuxeye.png","language":"Shell","funding_links":["https://paypal.me/yeho"],"categories":[],"sub_categories":[],"readme":"[![PayPal donate button](https://img.shields.io/badge/paypal-donate-green.svg)](https://paypal.me/yeho) [![支付宝捐助按钮](https://img.shields.io/badge/%E6%94%AF%E4%BB%98%E5%AE%9D-%E5%90%91TA%E6%8D%90%E5%8A%A9-green.svg)](https://static.oneinstack.com/images/alipay.png) [![微信捐助按钮](https://img.shields.io/badge/%E5%BE%AE%E4%BF%A1-%E5%90%91TA%E6%8D%90%E5%8A%A9-green.svg)](https://static.oneinstack.com/images/weixin.png)\n\nThis script is written using the shell, in order to quickly deploy `LEMP`/`LAMP`/`LNMP`/`LNMPA`/`LTMP`(Linux, Nginx/Tengine/OpenResty, MySQL in a production environment/MariaDB/Percona, PHP, JAVA), applicable to CentOS 6 ~ 7(including redhat), Debian 6 ~ 9, Ubuntu 12 ~ 18, Fedora 27~28 of 32 and 64.\n\nScript properties:\n- Continually updated, Provide Shell Interaction and Autoinstall\n- Source compiler installation, most stable source is the latest version, and download from the official site\n- Some security optimization\n- Providing a plurality of database versions (MySQL-8.0, MySQL-5.7, MySQL-5.6, MySQL-5.5, MariaDB-10.3, MariaDB-10.2, MariaDB-10.1, MariaDB-5.5, Percona-8.0, Percona-5.7, Percona-5.6, Percona-5.5, AliSQL-5.6, PostgreSQL, MongoDB)\n- Providing multiple PHP versions (PHP-7.3, PHP-7.2, PHP-7.1, PHP-7.0, PHP-5.6, PHP-5.5, PHP-5.4, PHP-5.3)\n- Provide Nginx, Tengine, OpenResty and ngx_lua_waf\n- Providing a plurality of Tomcat version (Tomcat-9, Tomcat-8, Tomcat-7, Tomcat-6)\n- Providing a plurality of JDK version (JDK-11.0, JDK-1.8, JDK-1.7, JDK-1.6)\n- Providing a plurality of Apache version (Apache-2.4, Apache-2.2)\n- According to their needs to install PHP Cache Accelerator provides ZendOPcache, xcache, apcu, eAccelerator. And php extensions,include ZendGuardLoader,ionCube,SourceGuardian,imagick,gmagick,fileinfo,imap,ldap,phalcon,yaf,redis,memcached,memcache,mongodb,swoole,xdebug\n- Installation Pureftpd, phpMyAdmin according to their needs\n- Install memcached, redis according to their needs\n- Jemalloc optimize MySQL, Nginx\n- Providing add a virtual host script, include Let's Encrypt SSL certificate\n- Provide Nginx/Tengine/OpenResty/Apache/Tomcat, MySQL/MariaDB/Percona, PHP, Redis, Memcached, phpMyAdmin upgrade script\n- Provide local,remote(rsync between servers),Aliyun OSS,Qcloud COS,UPYUN,QINIU,Amazon S3,Google Drive and Dropbox backup script\n- Provided under HHVM install CentOS 6,7\n\n## How to use\n\nIf your server system: CentOS/Redhat (Do not enter \"//\" and \"// subsequent sentence)\n```bash\nyum -y install wget screen   // for CentOS / Redhat\nwget http://mirrors.linuxeye.com/oneinstack-full.tar.gz   // Contains the source code\ntar xzf oneinstack-full.tar.gz\ncd oneinstack   // If you need to modify the directory (installation, data storage, Nginx logs), modify options.conf file\nscreen -S oneinstack    // If network interruption, you can execute the command `screen -r oneinstack` reconnect install window\n./install.sh\n```\nIf your server system: Debian/Ubuntu (Do not enter \"//\" and \"// subsequent sentence)\n```bash\napt-get -y install wget screen   // for Debian / Ubuntu\nwget http://mirrors.linuxeye.com/oneinstack-full.tar.gz   // Contains the source code\ntar xzf oneinstack-full.tar.gz\ncd oneinstack    // If you need to modify the directory (installation, data storage, Nginx logs), modify options.conf file\nscreen -S oneinstack    // If network interruption, you can execute the command `screen -r oneinstack` reconnect install window\n./install.sh\n```\n\n## How to install another PHP version\n\n```bash\n~/oneinstack/install.sh --mphp_ver 54\n\n```\n\n## How to add Extensions\n\n```bash\n~/oneinstack/addons.sh\n\n```\n\n## How to add a virtual host\n\n```bash\n~/oneinstack/vhost.sh\n```\n\n## How to delete a virtual host\n\n```bash\n~/oneinstack/vhost.sh --del\n```\n\n## How to add FTP virtual user\n\n```bash\n~/oneinstack/pureftpd_vhost.sh\n```\n\n## How to backup\n\n```bash\n~/oneinstack/backup_setup.sh    // Backup parameters\n~/oneinstack/backup.sh    // Perform the backup immediately\ncrontab -l    // Can be added to scheduled tasks, such as automatic backups every day 1:00\n  0 1 * * * cd ~/oneinstack/backup.sh  \u003e /dev/null 2\u003e\u00261 \u0026\n```\n\n## How to manage service\n\nNginx/Tengine/OpenResty:\n```bash\nservice nginx {start|stop|status|restart|reload|configtest}\n```\nMySQL/MariaDB/Percona:\n```bash\nservice mysqld {start|stop|restart|reload|status}\n```\nPostgreSQL:\n```bash\nservice postgresql {start|stop|restart|status}\n```\nMongoDB:\n```bash\nservice mongod {start|stop|status|restart|reload}\n```\nPHP:\n```bash\nservice php-fpm {start|stop|restart|reload|status}\n```\nHHVM:\n```bash\n#centos7\nsystemctl {start|stop|status|restart} hhvm\n#centos6\nservice supervisord {start|stop|status|restart|reload}\n```\nApache:\n```bash\nservice httpd {start|restart|stop}\n```\nTomcat:\n```bash\nservice tomcat {start|stop|status|restart}\n```\nPure-FTPd:\n```bash\nservice pureftpd {start|stop|restart|status}\n```\nRedis:\n```bash\nservice redis-server {start|stop|status|restart|reload}\n```\nMemcached:\n```bash\nservice memcached {start|stop|status|restart|reload}\n```\n\n## How to upgrade\n\n```bash\n~/oneinstack/upgrade.sh\n```\n\n## How to uninstall\n\n```bash\n~/oneinstack/uninstall.sh\n```\n\n## Installation\n\nFor feedback, questions, and to follow the progress of the project: \u003cbr /\u003e\n[Telegram Group](https://t.me/oneinstack)\u003cbr /\u003e\n[OneinStack](https://oneinstack.com)\u003cbr /\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinuxeye%2Flempstack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinuxeye%2Flempstack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinuxeye%2Flempstack/lists"}