2016年8月15日

linux上安装apache以及httpd.conf基本配置

摘要: 1.yum安装apache #yum install httpd -y 2.随系统自启动 #chkconfig httpd on 3.开启apache #service httpd start PS:在CentOS里Apache的默认文档路径的位置是在/var/www/html,配置文件的路径是/etc/httpd/conf/httpd.conf。其他的配置存储在/etc/httpd... 阅读全文

posted @ 2016-08-15 16:03 zyz913614263 阅读(3553) 评论(0) 推荐(0)

MySQL auto_increment介绍 以及 查询和修改auto_increment的方法

摘要: 查询表名为tableName的auto_increment值: SELECT AUTO_INCREMENT FROM information_schema.tables WHERE table_name="tableName"; 修改表名为tableName的auto_increment值: ALT 阅读全文

posted @ 2016-08-15 15:26 zyz913614263 阅读(2071) 评论(0) 推荐(0)

导航