摘要: 直接来个例子说明: #include <unistd.h> #include <errno.h> #include <stdio.h> //#incude <fcntl.h> //这里必须屏蔽掉 // Must use Linux specific fcntl header. #include </ 阅读全文
posted @ 2017-11-20 21:24 cutelinux 阅读(1645) 评论(0) 推荐(0) 编辑
摘要: CentOS 6.8 执行 # mysql -p Enter password: 输入密码的时候报错: ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ 阅读全文
posted @ 2016-11-15 19:12 cutelinux 阅读(554) 评论(0) 推荐(0) 编辑
摘要: 参考链接 http://www.cnblogs.com/lidabo/p/4633152.html http://www.cnblogs.com/vijayfly/p/5711962.html http://blog.csdn.net/testcs_dn/article/details/453956 阅读全文
posted @ 2016-11-11 00:32 cutelinux 阅读(1177) 评论(0) 推荐(0) 编辑
摘要: 服务端配置 1. 检查是否有安装nfs rpm -qa|grep nfs rpm -qa|grep rpcbind 若没有这安装nfs-utils和rpcbind yum install nfs-utils rpcbind 2.设置开机启动服务 chkconfig nfs onchkconfig r 阅读全文
posted @ 2016-11-09 20:44 cutelinux 阅读(906) 评论(0) 推荐(0) 编辑
摘要: 1、在可以联网的机器上使用yum工具安装,如果未联网,则挂载系统光盘进行安装。 # yum install samba samba-client samba-swat 2. 修改配置文件则永久生效,但是必须要重启系统 3. 清空iptables # iptables -F //清理防火墙规则 4、添 阅读全文
posted @ 2016-08-20 12:41 cutelinux 阅读(909) 评论(0) 推荐(0) 编辑
摘要: apache 阅读全文
posted @ 2016-08-13 17:03 cutelinux 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 1. 先检查下是否有安装VNC [root@yanghg yanghg]# rpm -qa | grep tigervnctigervnc-1.1.0-18.el6.x86_64tigervnc-server-1.1.0-18.el6.x86_64如果没有安装则执行: [root@yanghg ya 阅读全文
posted @ 2016-08-09 22:21 cutelinux 阅读(4422) 评论(0) 推荐(0) 编辑
摘要: 1. 首先添加toolchain环境变量 每一个开发平台所需要用到的交叉编译链接工具不一样,添加到系统 /etc/profile即可 su进入root,执行 vi /etc/profile 在最后添加:export PATH=$PATH:/usr/.../bin/ 添加完成后执行:source /e 阅读全文
posted @ 2016-08-04 17:06 cutelinux 阅读(539) 评论(0) 推荐(0) 编辑
摘要: CentOS下想访问NTFS分区,现在普遍的方法是利用ntfs-3g或者内核模块来实现。 一、使用ntfs-3g官方源码编译安装的方法: ntfs-3g下载页面:http://www.tuxera.com/community/ntfs-3g-download/ 安装步骤: tar zxvf ntfs 阅读全文
posted @ 2016-07-27 01:44 cutelinux 阅读(2489) 评论(0) 推荐(1) 编辑
摘要: 转自:http://blog.csdn.net/u012570105/article/details/50858884 VLC media player (commonly known as VLC) is a portable, free and open-source, cross-platfo 阅读全文
posted @ 2016-07-27 01:06 cutelinux 阅读(2081) 评论(0) 推荐(0) 编辑