`
pynets
  • 浏览: 3183 次
  • 性别: Icon_minigender_1
  • 来自: 呼和浩特
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论
文章列表
交换机:ip route 0.0.0.0 0.0.0.0 10.95.2.200 auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 116.112.*.* netmask 255.255.255.240 gateway 116.112.*.* auto eth1 iface eth1 inet static address 10.95.*.* netmask 255.255.255.0 iptables -F iptables -P INPUT ACCEPT iptables -P FORWARD ...
执行文件中加入 #coding=utf8 #!/usr/bin/env python vim /etc/lighttpd/lighttpd.conf server.document-root  =  "" server.username    = "" sudo vim /etc/lighttpd/conf-available/10-fastcgi.conf server.modules   += ( "mod_fastcgi" ) server.modules   += ( "mod_rewrite" ) fas ...
postgres设置 su passwd -d postgres passwd postgres su postgres listen_addresses = '*'  host    all         all         0.0.0.0/0   trust vpn建立 http://forum.ubuntu.org.cn/viewtopic.php?p=532825 http://phorum.study-area.org/index.php?topic=52110.0 auto eth0 iface eth0 inet static address 222.74.13.121 ...
from sqlalchemy import * from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import * Base = declarative_base(engine=create_engine('postgres://solar:123456@localhost:5432/mydb',echo=True)) class MyParent(Base):     __tablename__ = 'parent'     id = Column(Integer, primary_ke ...
Global site tag (gtag.js) - Google Analytics