随笔分类 -  B---Linux学习笔记

摘要:安装 Apache2 在终端输入该命令 ,使用 apt-get 安装 Apache2: sudo apt-get install apache2 -y 安装好后,您可以通过访问实验室IP地址 http://115.159.91.170 查看到 “it works” 界面,说明 apache2 安装成 阅读全文
posted @ 2018-01-30 03:21 douzujun 阅读(350) 评论(0) 推荐(0)
摘要:过滤,管道与重定向 过滤 管道 重定向 运维常用 给某目录设置权限 阅读全文
posted @ 2018-01-30 01:03 douzujun 阅读(174) 评论(0) 推荐(0)
摘要:#include #include #include #include #include #include #include #include using namespace std; void copy(char *a, char *b); void copy(char *a, char *b) { int fds, fdd; char buf[1024 *... 阅读全文
posted @ 2017-11-24 15:23 douzujun 阅读(914) 评论(0) 推荐(0)
摘要:亲试有用:http://blog.csdn.net/zth1002/article/details/51383508 sudo update-alternatives --install /usr/bin/java java /opt/jdk1.8/bin/java 300 sudo update- 阅读全文
posted @ 2017-10-14 02:25 douzujun
摘要:gcc: http://wiki.ubuntu.org.cn/Gcchowto gdb: http://wiki.ubuntu.org.cn/%E7%94%A8GDB%E8%B0%83%E8%AF%95%E7%A8%8B%E5%BA%8F 阅读全文
posted @ 2017-02-18 14:12 douzujun 阅读(199) 评论(0) 推荐(0)
摘要:https://github.com/Valloric/YouCompleteMe/wiki/Building-Vim-from-source http://blog.jobbole.com/58978/ 效果如图: 阅读全文
posted @ 2017-02-08 03:22 douzujun 阅读(434) 评论(0) 推荐(0)
摘要:总结: 分区-->格式化-->起一个设备文件名(逻辑分区一定从5开始)-->指定挂载点(必须是空的目录名称作为盘幅) 阅读全文
posted @ 2017-01-14 14:08 douzujun 阅读(208) 评论(0) 推荐(0)
摘要:这几天在虚拟机vmware上部署centos系统,想通过内部联网用yum命令安装必需的软件,但是一直不能静态地址联网,今天终于找到一个方法centos内部设置IP,对外联网。设置过程如下: 1、首先是网络适配器设置为NAT; 2、然后是IP设置,修改/etc/sysconfig/network-scripts/ifcfg-eth0的内容为: DEVICE=eth0 TYPE=Ethernet O... 阅读全文
posted @ 2016-08-08 21:21 douzujun 阅读(21486) 评论(0) 推荐(0)