代码拉取完成,页面将自动刷新
同步操作将从 apioak/apioak 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Install OpenResty and other required dependencies.
# Addition OpenResty Repo.
sudo yum -y install yum-utils
sudo yum-config-manager --add-repo https://openresty.org/package/centos/openresty.repo
# Install OpenResty and Dependencies.
sudo yum -y install gcc \
gcc-c++ \
git \
curl \
wget \
openresty \
openresty-resty \
automake \
autoconf \
luarocks \
lua-devel \
libtool \
pcre-devel
Install MariaDB
# Addition `MariaDB` Repo.
sudo cat > /etc/yum.repos.d/MariaDB.repo <<EOF
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.2/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
EOF
# Install `MariaDB` Server and Client.
sudo yum -y install MariaDB-server MariaDB-client
# Start `MariaDB` Server.
sudo systemctl start mariadb
# Initialize `MariaDB` and set root password.
sudo mysql_secure_installation
Install OpenResty and other required dependencies.
# Addition `OpenResty` Repo.
wget -qO - https://openresty.org/package/pubkey.gpg | sudo apt-key add -
sudo apt-get update
sudo apt-get -y install software-properties-common
sudo add-apt-repository -y "deb http://openresty.org/package/ubuntu $(lsb_release -sc) main"
sudo apt-get update
# Install OpenResty and Dependencies.
sudo apt-get -y install build-essential \
gcc \
g++ \
git \
curl \
wget \
openresty \
openresty-resty \
automake \
autoconf \
luarocks \
libtool \
libpcre3-dev
# After successful installation of OpenResty, it will start by default, first shut him down.
sudo openresty -s stop
Install MariaDB
# Key is imported and the repository added.
sudo apt-get -y install software-properties-common
sudo apt-key adv --fetch-keys 'https://mariadb.org/mariadb_release_signing_key.asc'
sudo add-apt-repository 'deb [arch=amd64,arm64,ppc64el] http://mirror.hosting90.cz/mariadb/repo/10.2/ubuntu bionic main'
sudo apt update
# Install `MariaDB` and set root password (After installation, set the root password according to the system prompt).
sudo apt-get -y install mariadb-server
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。