摘要: gcc gcc-c++ autoconf automake make 使用yum安装 yum -y install gcc gcc-c++ autoconf automake make 阅读全文
posted @ 2017-11-24 17:58 yihan_c 阅读(201) 评论(0) 推荐(0)
摘要: # Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.## This program is free software; you can redistribute it and/or modify# 阅读全文
posted @ 2017-11-24 14:31 yihan_c 阅读(563) 评论(0) 推荐(0)
摘要: whereis命令只能用于程序名的搜索,而且只搜索二进制文件(参数-b)、man说明文件(参数-m)和源代码文件(参数-s)。如果省略参数,则返回所有信息。 格式 whereis [options] file 命令参数 -b 定位可执行文件。 -m 定位帮助文件。 -s 定位源代码文件。 -u 搜索 阅读全文
posted @ 2017-11-24 11:53 yihan_c 阅读(224) 评论(0) 推荐(0)
摘要: 从服务器上下载文件 scp username@servername:/path/filename local 例如scp test@192.168.1.2:/test/Download/test.txt ./Download 把'192.168.1.2上的/test/Download/test.tx 阅读全文
posted @ 2017-11-24 10:39 yihan_c 阅读(126) 评论(0) 推荐(0)
摘要: 命令选项: -u 指定一个用户 -l 列出某个用户的任务计划 -r 删除某个用户的任务 -e 编辑某个用户的任务 阅读全文
posted @ 2017-11-24 10:28 yihan_c 阅读(123) 评论(0) 推荐(0)
摘要: netstat 常见参数 -a (all)显示所有选项,默认不显示LISTEN相关-t (tcp)仅显示tcp相关选项-u (udp)仅显示udp相关选项-n 拒绝显示别名,能显示数字的全部转化成数字。-l 仅列出有在 Listen (监听) 的服務状态 -p 显示建立相关链接的程序名-r 显示路由 阅读全文
posted @ 2017-11-24 10:25 yihan_c 阅读(205) 评论(0) 推荐(0)
摘要: 移动命令 h 左移一个字符l 右移一个字符,这个命令很少用,一般用w代替。k 上移一个字符j 下移一个字符以上四个命令可以配合数字使用,比如10j就是向下移动10行,其他命令也可配合数字使用,如x; Ctrl + e 向下滚动一行 Ctrl + y 向上滚动一行 Ctrl + d 向下滚动半屏 Ct 阅读全文
posted @ 2017-11-24 10:02 yihan_c 阅读(106) 评论(0) 推荐(0)
摘要: /etc/my.cnf 参考配置: [mysqld] #skip-grant-tables #default-character-set=utf8 #character-set-server=utf8 port= 3306 skip-external-locking key_buffer_size 阅读全文
posted @ 2017-11-24 09:21 yihan_c 阅读(201) 评论(0) 推荐(0)