- 博客(6)
- 资源 (5)
- 收藏
- 关注
原创 bugfree升级报错“Field 'id' doesn't have a default value”问题解决
MySQL 5中,出现错误提示:Field 'id' doesn't have a default value解决方法:打开my.ini,查找sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"修改为sql-mode="NO_AUTO_CREATE_USER,NO_
2012-11-19 13:20:46 537
原创 Linux系统的一些优化
1、关闭不需要的服务使用命令如下:#ntsysv关闭iptables的代码如下:service iptables stop && #chkconfig iptables off关闭SELinux的方法如下:vim /etc/selinux/config然后将文件中的selinux=""改为disabled,并重启。如不想重启系统,使用命令setenforce 0,此命令
2012-11-15 15:07:29 399
原创 修改IPtables的日志输出位置
介绍如何建立一个新的日志文件/var/log/iptables.log。方法如下:1、打开/etc/rsyslog.conf文件#vim /etc/rsyslog.conf2、在文件末尾加入下面这行信息。kern.warning /var/log/iptables.log3、保存和关闭文件,使用下面的命令重新启动syslogd/etc/init.d/rsyslog re
2012-11-13 11:12:10 4946
原创 linux添加路由
1、添加静态路由命令 添加一条到主机192.168.168.110的路由(通过eth0)[root@localhost ~]# route add -host 192.168.1.110 dev eth0 [root@localhost ~]# routeKernel IP routing tableDestination Gateway Ge
2012-11-09 15:43:13 1574
原创 查看Linux服务器的网络连接
可以用以下命令查看:ifconfig、ping、netstat、traceroute、nslookup、dig、finger、lsof、socketstat等。1、ifconfig显示所有网络接口的详细情况,用ifconfig显示服务器的所有网络接口配置如下:[root@localhost ~]# ifconfigeth0 Link encap:Ethernet HWa
2012-11-09 11:01:37 6729
原创 linux服务器网络配置
1、手动修改配置网卡文件首先检查网卡是否安装正常:[root@localhost ~]# lspci | grep Ether02:01.0 Ethernet controller: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] (rev 10)网卡相关的TCP/IP网络配置文件/etc/sysconfig/network-s
2012-11-08 11:52:07 1281
mysql++-3.2.2
2015-06-25
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人