代码拉取完成,页面将自动刷新
To install Gate One from source execute the following from this directory:
python setup.py install
By default it will be installed in /usr/local. If you want to install
it somewhere else just pass --prefix:
python setup.py install --prefix=/usr
If using virtualenv: Simply running `. /path/to/your/env/bin/activate` script
and then running 'python setup.py install' will install Gate One into your
virtualenv environment.
To build an RPM package:
sudo python setup.py bdist_rpm
# The .rpm will end up in the 'dist' directory
To build a Debian package (.deb):
sudo python setup.py --command-packages=stdeb.command bdist_deb
# The .deb will end up in the 'deb_dist' directory
NOTE: The above command requires stdeb (http://pypi.python.org/pypi/stdeb). You
can usually install it with one of the following commands on most distros:
sudo pip install stdeb
...or:
sudo easy_install stdeb
To start Gate One interactively:
sudo gateone # Recommended if running for the first time (to see any errors)
To stop/start/restart Gate One (as a service):
Red Hat/Debian/Ubuntu: sudo service gateone stop/start/restart
Nearly everything else: sudo /etc/init.d/gateone stop/start/restart
To make Gate One start on boot:
Ubuntu: Starts on boot by default
Debian: update-rc.d gateone defaults
Red Hat/CentOS: chkconfig --add gateone
Gentoo: rc-update add gateone default
Special note for Ubuntu systems: If you *don't* want Gate One to start on boot
just create /etc/init/gateone.override:
touch /etc/init/gateone.override
(It's the "Ubuntu way")
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。