apt-get update && apt-get upgrade && apt-get install apache2 php5 mysql-server libmysqlclient-dev python-pip python-dev python-dev openssl python-openssl python-pyasn1 python-twisted libapache2-mod-php5 php5-mysql php5-gd php5-curl authbind
pip install MySQL-python
nano /etc/ssh/sshd_config #改成其他端口
reload ssh
useradd -d /home/kippo -s /bin/bash -m kippo -g sudo
touch /etc/authbind/byport/22
chown kippo /etc/authbind/byport/22
chmod 777 /etc/authbind/byport/22
su kippo
cd
git clone https://github.com/desaster/kippo
cd kippo
mysql -ukippo -p -Dkippo < doc/sql/mysql.sql #自己密码,记得创建数据库 mv kippo.cfg.dist kippo.cfg nano kippo.cfg #改成自己的配置 nano start.sh #改成 authbind --deep twistd -y kippo.tac -l log/kippo.log --pidfile kippo.pid git https://github.com/ikoniaris/kippo-graph.git mv kippo-graph /var/www/html cd /var/www/html cd kippo-graph chmod 777 generated-graphs cp config.php.dist config.php nano config.php #改成自己的数据库配置 cd cd kippo ./start.sh

发表评论

电子邮件地址不会被公开。 必填项已用*标注