Stella981 Stella981
3年前
CentOS 系统内核优化
ulimit调优ulimit n 查看最大允许打开文件数ulimit u 查看最大允许进程数/etc/security/limits.conf格式如下username|@groupname type resource limitusername|@groupname:为限定的用户名或
Stella981 Stella981
3年前
Linux下的openvpn配置 与 easy
注意:以下操作由服务端操作即可PS:为什么我找不到var文件??\安装wgetO/etc/yum.repos.d/epel.repohttp://mirrors.aliyun.com/repo/epel7.repoyuminstallopenvpny//提供
Stella981 Stella981
3年前
Docker镜像制作
  使用docker原始源为centos制作一个nginx镜像  pull一个centos镜像dockerpullcentos  运行进入容器dockerrunitcentos  容器内安装wgetyumyinstallwget  更换镜像源为阿里wgetO/etc/y
Wesley13 Wesley13
3年前
supervisor 管理进程
supervisor管理进程说明Supervisor是一个用Python写的进程管理工具,可以很方便的用来启动、重启、关闭进程.安装pipinstallsupervisor配置echo_supervisord_conf/etc/s
Stella981 Stella981
3年前
Apache跨域
首先编辑httpd.conf(/etc/httpd/conf/httpd.conf)把LoadModuleheaders\_modulemodules/mod\_headers.so前面的注释删除,开启apache头信息自定义模块找到<Directory/添加一行:HeadersetAccessControlAllowOrig
Stella981 Stella981
3年前
CentOS6.5下安装jenkins
参考博客:https://blog.csdn.net/qq\_24644517/article/details/808304091.添加jenkins源wget O /etc/yum.repos.d/jenkins.repo http://pkg.jenkinsci.org/redhat/jenkins.reporpm import ht
Stella981 Stella981
3年前
Centos6安装GDB调试信息
安装debuginfoinstall:yuminstallyumutils修改“/etc/yum.repos.d/CentOSDebuginfo.repo”文件的enable1使用debuginfoinstallglibc2.121.132.el6.i686安装没有CentOSDebuginfo.repo文件就创建一个,
Stella981 Stella981
3年前
Redhat对象网关指南
1.配置更换默认的端口从apache迁移到civetweb一个基于apache的配置类似以下形式:client.radosgw.gatewaynode1host{hostname}keyring/etc/ceph/ceph.client.radosgw.keyringrgw
Stella981 Stella981
3年前
Linux查看硬件信息
系统unamea查看内核/操作系统/CPU信息headn1/etc/issue查看操作系统版本cat/proc/cpuinfo查看CPU信息hostname查看计算机名lspcitv列出所有PCI设备(yuminstall
Stella981 Stella981
3年前
CentOS 命令登录MySQL时,报错ERROR 1045 (28000) Access denied for user root
CentOS命令登录MySQL时,报错ERROR1045(28000):Accessdeniedforuserroot@localhost(https://my.oschina.net/u/570656)(usingpassword:NO)错误解决方法1、停用mysql服务:/etc/rc.d/init.d/mysqlds