1-Click Install OLS, PHP, MySQL, WP and LSCache
一键安装litespeed、PHP、MySQL/Mariadb、WordPress和LSCache缓存插件脚本
支持系统:
CentOS 6,7 64bit
Debian 7, 8, 9,10 64bit
Ubuntu 14,16,18 64bit
一键安装命令:
1 | wget --no-check-certificate https://raw.githubusercontent.com/litespeedtech/ols1clk/master/ols1clk.sh |
1 | bash ols1clk.sh -a <超级管理员密码> -e <管理员EMAIL> --lsphp <php版本 54 55 56 70 74> -r <mysql/mariadb数据库root密码> --dbname <数据库名称> --dbuser <数据库用户名称> --dbpassword <数据库密码,省略则自动生成> -w --wpuser <如果用了-w自动安装WordPress,这里可自定义wp用户> --wppassword <wp用户密码> --wplang <wp语言,本文后附对照表> --sitetitle <wp网站名称> --wordpressplus <网站域名> --wordpresspath <网站路径/usr/local/lsws/你的网站路径> |
其他命令
安装openlitespeed、mariadb、最新版php、LSCache、LiteSpeed的WordPress缓存插件、最新版WordPress
1 | -w |
卸载安装的软件及服务并删除目录
1 | bash ols1clk.sh --purgeall |
查看一键安装脚本版本
1 | bash ols1clk.sh -v |
安装脚本帮助信息
1 | bash ols1clk.sh --h |
示例:使用随机密码安装OLS和WordPress,并在完成后将其写入文件中,还为WordPress安装LSCache模块和LiteSpeed缓存插件
1 | wget --no-check-certificate https://raw.githubusercontent.com/litespeedtech/ols1clk/master/ols1clk.sh && bash ols1clk.sh -w |
或
1 | bash <( curl -k https://raw.githubusercontent.com/litespeedtech/ols1clk/master/ols1clk.sh ) -w |
–wplang 语言选项参数对照表
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 | Language (in English) Language Setting Value Afrikaans Afrikaans af Akan Akan ak Albanian Shqip sq Algerian Arabic الدارجة الجزايرية arq Amharic አማርኛ am Arabic العربية ar Armenian Հայերեն hy Aromanian Armãneashce rup_MK Arpitan Arpitan frp Assamese অসমীয়া as Asturian Asturianu ast Azerbaijani Azərbaycan dili az Azerbaijani (Turkey) Azərbaycan Türkcəsi az_TR Balochi Southern بلوچی مکرانی bcc Bashkir башҡорт теле ba Basque Euskara eu Belarusian Беларуская мова bel Bengali বাংলা bn_BD Bosnian Bosanski bs_BA Breton Brezhoneg bre Bulgarian Български bg_BG Catalan Català ca Catalan (Balear) Català (Balear) bal Cebuano Cebuano ceb Chinese (China) 简体中文 zh_CN Chinese (Hong Kong) 香港中文版 zh_HK Chinese (Taiwan) 繁體中文 zh_TW Corsican Corsu co Croatian Hrvatski hr Czech Čeština cs_CZ Danish Dansk da_DK Dhivehi ދިވެހި dv Dutch Nederlands nl_NL Dutch (Belgium) Nederlands (België) nl_BE Dzongkha རྫོང་ཁ dzo Emoji 🌏🌍🌎 (Emoji) art_xemoji English (Australia) English (Australia) en_AU English (Canada) English (Canada) en_CA English (New Zealand) English (New Zealand) en_NZ English (South Africa) English (South Africa) en_ZA English (UK) English (UK) en_GB Esperanto Esperanto eo Estonian Eesti et Faroese Føroyskt fo Finnish Suomi fi French (Belgium) Français de Belgique fr_BE French (Canada) Français du Canada fr_CA French (France) Français fr_FR Frisian Frysk fy Friulian Friulian fur Fulah Pulaar fuc Galician Galego gl_ES Georgian ქართული ka_GE German Deutsch de_DE German (Switzerland) Deutsch (Schweiz) de_CH Greek Ελληνικά el Greenlandic Kalaallisut kal Guaraní Avañe'ẽ gn Gujarati ગુજરાતી gu Haitian Creole Kreyol ayisyen hat Hawaiian Ōlelo Hawaiʻi haw_US Hazaragi هزاره گی haz Hebrew עִבְרִית he_IL Hindi हिन्दी hi_IN Hungarian Magyar hu_HU Icelandic Íslenska is_IS Ido Ido ido Indonesian Bahasa Indonesia id_ID Irish Gaelige ga Italian Italiano it_IT Japanese 日本語 ja Javanese Basa Jawa jv_ID Kabyle Taqbaylit kab Kannada ಕನ್ನಡ kn Kazakh Қазақ тілі kk Khmer ភាសាខ្មែរ km Kinyarwanda Ikinyarwanda kin Kirghiz кыргыз тили ky_KY Korean 한국어 ko_KR Kurdish (Sorani) كوردی ckb Lao ພາສາລາວ lo Latvian Latviešu valoda lv Limburgish Limburgs li Lingala Ngala lin Lithuanian Lietuvių kalba lt_LT Luxembourgish Lëtzebuergesch lb_LU Macedonian Македонски јазик mk_MK Malagasy Malagasy mg_MG Malay Bahasa Melayu ms_MY Malayalam മലയാളം ml_IN Maori Te Reo Māori mri Marathi मराठी mr Mingrelian მარგალური ნინა xmf Mongolian Монгол mn Montenegrin Crnogorski jezik me_ME Moroccan Arabic العربية المغربية ary Myanmar (Burmese) ဗမာစာ my_MM Nepali नेपाली ne_NP Norwegian (Bokmål) Norsk bokmål nb_NO Norwegian (Nynorsk) Norsk nynorsk nn_NO Occitan Occitan oci Oriya ଓଡ଼ିଆ ory Ossetic Ирон os Pashto پښتو ps Persian فارسی fa_IR Persian (Afghanistan) (فارسی (افغانستان fa_AF Polish Polski pl_PL Portuguese (Brazil) Português do Brasil pt_BR Portuguese (Portugal) Português pt_PT Punjabi ਪੰਜਾਬੀ pa_IN Rohingya Ruáinga rhg Romanian Română ro_RO Romansh Vallader Rumantsch Vallader roh Russian Русский ru_RU Rusyn Русиньскый rue Sakha Сахалыы sah Sanskrit भारतम् sa_IN Sardinian Sardu srd Scottish Gaelic Gàidhlig gd Serbian Српски језик sr_RS Silesian Ślōnskŏ gŏdka szl Sindhi سنڌي snd Sinhala සිංහල si_LK Slovak Slovenčina sk_SK Slovenian Slovenščina sl_SI Somali Afsoomaali so_SO South Azerbaijani گؤنئی آذربایجان azb Spanish (Argentina) Español de Argentina es_AR Spanish (Chile) Español de Chile es_CL Spanish (Colombia) Español de Colombia es_CO Spanish (Guatemala) Español de Guatemala es_GT Spanish (Mexico) Español de México es_MX Spanish (Peru) Español de Perú es_PE Spanish (Puerto Rico) Español de Puerto Rico es_PR Spanish (Spain) Español es_ES Spanish (Venezuela) Español de Venezuela es_VE Sundanese Basa Sunda su_ID Swahili Kiswahili sw Swedish Svenska sv_SE Swiss German Schwyzerdütsch gsw Tagalog Tagalog tl Tahitian Reo Tahiti tah Tajik Тоҷикӣ tg Tamazight (Central Atlas) ⵜⴰⵎⴰⵣⵉⵖⵜ tzm Tamil தமிழ் ta_IN Tamil (Sri Lanka) தமிழ் ta_LK Tatar Татар теле tt_RU Telugu తెలుగు te Thai ไทย th Tibetan བོད་སྐད bo Tigrinya ትግርኛ tir Turkish Türkçe tr_TR Turkmen Türkmençe tuk Tweants Twents twd Uighur Uyƣurqə ug_CN Ukrainian Українська uk Urdu اردو ur Uzbek O‘zbekcha uz_UZ Vietnamese Tiếng Việt vi Walloon Walon wa Welsh Cymraeg cy Yoruba Yorùbá yor |
原文链接:https://xiaohost.com/3463.html,转载请注明出处。
评论0