linux
一只小coder
额,关注的人被清零了,管理员大大好狠,一个都没留
展开
-
gcc,gdb 个人笔记
gcc: -c : just compile don't link -o: -o2: gcc -g -o2 hello.c -o hello -l -L -Wall : display the warnin while compiling 静态编译 gcc -static -o gcc -shared -o hishared main.c -L. -lmyhi原创 2014-07-18 08:36:32 · 892 阅读 · 1 评论 -
linux c socket学习 server&client --->code
big endian 0x1234 大端:被解释为 0x1234 小端: 0x3412 htonl htons 发送数据时,主机数据类型转换成网络顺序 socket bind connect listen accept send recv 服务器: socket() 创建--->bind()--->listen()----原创 2014-06-17 16:59:56 · 631 阅读 · 0 评论 -
谷歌云ssh远程登录,centos初始化配置ssh,securecrt,winscp远程连接
走了很多坑,总是提示: The client has disconnected from the server.Reason: Unable to authenticate using any of the configured authentication methods. 总算找到了方法: 1. 切换root用户: sudo -i 2. 设置root密码:passwd root ...原创 2019-01-01 14:54:44 · 5063 阅读 · 10 评论