• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
灬伊天?
博客园    首页    新随笔    联系   管理    订阅  订阅

随笔分类 -  CentOS命令

5-Zend Studio配置

摘要:0-将文件编码设置成utf-8 Window>Preferences>General>Content Types>Text Default encoding:utf-8 1-Zend Studio常用快捷键 智能提示:Alt+/ 复制当前行:Ctrl+Alt+向下键 删除当前行:Ctrl+D 块注释 阅读全文
posted @ 2016-09-05 18:16 灬伊天☂ 阅读(181) 评论(0) 推荐(0)
4-Server安全配置

摘要:0-禁止root使用ssh登入 vim /etc/ssh/sshd_config寻找:PermitRootLogin yes改为:PermitRootLogin nosystemctl restart sshd.service 1-Apache站点目录配置 vim /etc/httpd/conf/h 阅读全文
posted @ 2016-08-27 16:50 灬伊天☂ 阅读(147) 评论(0) 推荐(0)
3-PHP全部编码UTF-8

摘要:0-html <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <form accept-charset="UTF-8"></form> 1-css @CHARSET "UTF-8"; 2-js <script 阅读全文
posted @ 2016-08-27 13:56 灬伊天☂ 阅读(159) 评论(0) 推荐(0)
2-MySQL数据库编码uft-8

摘要:mysql> show variables like 'character%'; mysql> show variables like 'collation%'; mysql> status; mysql> exit; vim /etc/my.cnf [mysqld]default-storage- 阅读全文
posted @ 2016-08-25 18:15 灬伊天☂ 阅读(238) 评论(0) 推荐(0)
1-MySQL命令行

摘要:0、显示数据库 show databases; 1、选择数据库 use 数据库名; 2、显示数据库中的表 show tables; 3、显示数据表的结构 describe 表名; 4、显示表中记录 SELECT * FROM 表名; 5、建库 create database 库名; 6、建表 cre 阅读全文
posted @ 2016-08-21 15:17 灬伊天☂ 阅读(165) 评论(0) 推荐(0)
0-systemctl开机启动项

摘要:防火墙:iptables Apache服务名称:httpd MySQL服务名称:mysqld VSFTP服务名称:vsftpd <!--CentOS7新指令--> 使某服务 自动启动 systemctl enable httpd.service 使某服务 不自动启动 systemctl disabl 阅读全文
posted @ 2016-08-11 19:15 灬伊天☂ 阅读(1655) 评论(0) 推荐(0)

博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3