No description, website, or topics provided.
JavaScript Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
accounts
avatars
collect
columns
comments
data
demo
discusses
domains
dynamic
explore
globalvars
links
messages
nng
profiles
remind
script
settings
shares
static
templates
topics
votes
change.log
manage.py
readme
urls.temp

readme

# 该 readme 文件仅为自己备忘使用,非安装指引


012 5 13 母亲节 上线


sudo apt-get install apache2
sudo apt-get install mysql-server
sudo apt-get install python-mysqldb
sudo apt-get install libapache2-mod-wsgi
sudo apt-get install phpmyadmin (need restart apache2)
sudo apt-get install python-dateutil
sudo apt-get install python-imaging
sudo apt-get install sendmail

sudo apt-get install python-pip
sudo pip install django


crontab -e
0 3 * * * python ~/nng/nng/crontab.py

find -name "*.py" -exec wc -l {} \;|awk '{a+=$1}END{print a}'

修改 bootstrap 文件中 modal width=530

sudo apt-get install memcached
/etc/rc.local
memcached -d -m 64 -u root -l 127.0.0.1 -p 11211 -c 1024 -P /tmp/memcached.log
ftp://ftp.tummy.com/pub/python-memcached/python-memcached-1.48.tar.gz
sudo python setup.py install
or 
sudo apt-get install python-memcache

tar czf nng.tar.gz nng

# start apache2 gzip
sudo a2enmod deflate


设置 media 文件夹为所有用户和读写

sudo a2ensite newsnavig.com
sudo service apache2 reload

sudo pip install pytz