|
第一次安装discuz,安装成功后跳到首页,报如下错误:
Error:Table 'ucenter.uc_pms' doesn't exist
Errno:1146
SQL::SELECT count(*) FROM ucenter.uc_pms WHERE (related='0' AND msgfromid>'0' OR msgfromid='0') AND msgtoid='0' AND folder='inbox' AND new='1'
查了下 ,数据库ucenter里没有uc_pms表。
经过搜索,在一篇帖子里提到的方法新建这个表:
DROP TABLE IF EXISTS uc_pms;
CREATE TABLE uc_pms (
pmid int(10) unsigned NOT NULL auto_increment,
msgfrom varchar(15) ...
|
linux route 命令
显示现在所有路由
#route -n
root@Ubuntu:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.147.9.0 * 255.255.255.0 U 1 0 0 eth0
192.168.1.0 * 255.255.255.0 U 2 0 0 wlan0
192.168.122.0 * 255.255.255.0 U 0 0 0 virbr0
link-local * 255.255.0.0 U 1000 0 0 eth0
192.168.0.0 192.168.1.1 255.255.0.0 UG 0 0 0 wlan0
default 10.147.9.1 0.0...
|
查看系统是32位还是64位
方法1:
#查看long的位数,返回32或64
![getconf LONG_BIT][1]
方法2:
#查看文件信息,包含32-bit就是32位,包含64-bit就是64位
file /sbin/init
|