[root@MiWiFi-R2D-srv ~]# vi /etc/grub.d/40_custom #!/bin/shexec tail -n +3 $0# This file provides an easy way to add custom menu entries. Simply type ...
分类:
其他好文 时间:
2017-10-07 16:26:16
阅读次数:
194
1、vi /etc/vsftpd/vsftpd.conf# You may specify an explicit list of local users to chroot() to their home# directory. If chroot_local_user is YES, then ...
分类:
系统相关 时间:
2017-10-06 20:07:13
阅读次数:
987
123[root@namenode01backup]#su-appLastlogin:TueApr2609:48:44CST2016fromapplication03onpts/0su:failedtoexecute/bin/bash:Resourcetemporarilyunavailable如上,提示资源不足解决如下:123[root@namenode01backup]#egrep-v"^$|^#"/etc/security/limits.d/20-nproc.conf*sof..
分类:
其他好文 时间:
2017-09-29 23:01:27
阅读次数:
4144
1.运行 -> gpedit.msc 计算机配置 -> 管理模板 -> Windows组件 -> OneDrive -> 禁止使用OneDrive进行文件储存 -> 启用 2.运行 -> regedit 搜索018D5C66-4533-4307-9B53-224DE2ED1FE6 把Sy... ...
linux启动顺序主板BIOS加电自检检查硬件-->读取硬盘引导扇区(MBR)-->启动引导程序(grub)-->选择系统-->加载系统内核(kernelshell)-->启动系统读取相应的默认设置(环境变量,运行级别)-->启动相应的服务和进程-->登陆系统界面引导程序的配置文件/e..
分类:
系统相关 时间:
2017-09-11 18:12:59
阅读次数:
181
Mysql主从搭建操作系统:[root@localhost~]#cat/etc/redhat-releaseCentOSrelease6.8(Final)Master(主):192.168.137.32Slave(从):192.168.137.33第一步:在CentOS6.x下安装MySQL数据库这里我直接用脚本安装mysql5.7的vimauto_install_mysql.sh#!/bin/bashyuminstall-ywgetwge..
分类:
数据库 时间:
2017-09-08 11:50:52
阅读次数:
215
cgroup是如何做到内存,cpu和io速率的隔离?本文用脚本运行示例进程,来验证Cgroups关于cpu、内存、io这三部分的隔离效果。测试机器环境查看系统[root@localhost~]#cat/etc/redhat-releaseCentOSLinuxrelease7.2.1511(Core)安装相关软件[root@localhost~]#yum-yinstalllibcgrou..
分类:
其他好文 时间:
2017-08-25 17:40:26
阅读次数:
200
linux面试宝典(1)一、选择题1.Linux系统中DNS服务进程名为()A.namedB.httpdC.ftpdD.SysLog2.在UINX/Linux中,系统Root用户口令信息一半保存的文件夹是()A.autobatB.service.confC.inetd.confD.shadow3.在下列选项中,属于Linux系统日志服务的是()A.namedB.httpdC.ft..
分类:
系统相关 时间:
2017-07-18 16:41:57
阅读次数:
367
译者地址:【翻】Android Design Support Library 的 代码实验——几行代码,让你的 APP 变得花俏 原文:Codelab for Android Design Support Library used in I/O Rewind Bangkok session—-Mak ...
分类:
移动开发 时间:
2017-07-17 14:07:45
阅读次数:
206