-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FAQ #4
Comments
面向场景
|
环境要求debian8(我在用)或者ubuntu18(LTS) |
如何安装apt update
# 然后想办法下载一个 deb 到本地
# 比如 https://github.com/zhblue/hustoj/releases/latest 这里的deb包
# debian8就选有debian8字样的
# ubuntu18就选有ubuntu18字样的
# 大概操作是下面这样子
wget https://github.com/zhblue/hustoj/releases/download/19.05.14/hustoj_debian8_0.0.1-19.05.14_amd64.deb
# 然后使用 dpkg 安装 因为缺少依赖,所以会失败
# 要注意上面下载的文件名要和这里的一致
dpkg -i hustoj_debian8_0.0.1-19.05.14_amd64.deb
# 安装缺失的依赖
apt-get -f install
# 安装hustoj
dpkg -i hustoj_debian8_0.0.1-19.05.14_amd64.deb
# 然后启动相关服务
/etc/init.d/hustoj start
# 对ubuntu用户,有可能php服务没起来,需要执行下面这句
# /etc/init.d/php7.2-fpm start Web 默认监听 4396 端口 |
在docker中使用有两处需要作出修改
然后手动在 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
索引
The text was updated successfully, but these errors were encountered: