标签: linux

Linux 普通用户启动nginx报错处理

nginx 配置的user为 www 用户,root启动之后主进程显示root,子进程显示是www,但是切换到www 用户之后执行 nginx -t 等报错 /usr/local/nginx/sbin/nginx -t nginx: [warn] the “user” directive makes sense only if the master process runs with super-user privileges, ignored in /usr/local/nginx/conf/nginx.conf:2 nginx: the configuration

继续阅读 >>

Linux运维常见面试题之精华收录

1、什么是运维?什么是游戏运维? 1)运维是指大型组织已经建立好的网络软硬件的维护,就是要保证业务的上线与运作的正常, 在他运转的过程中,对他进行维护,他集合了网络、系统、数据库、开发、安全、监控于一身的技术 运维又包括很多种,有DBA运维、网站运维、虚拟化运维、监控运维、游戏运维等等 2)游戏运维又有分工,分为开发运维、应用运维(业务运维)和系统运维 开发运维:是给应用运维开发运维工具和运维平台的 应用运维:是给业务上线、维护和做故障排除的,用开发运维开发出来的工具给业务上线、维护、做故障排查 系统运维:是给应用运维提供业务上的基础设施,比如:系统、网络、监控、硬件等等 总结:开发运维和系统

继续阅读 >>

Greenplum 扩展 segment实例个数

扩展Greenplum segment个数,总共分三步。 将主机加入集群(如果在原有主机扩展,不需要这一步) 这一步主要做的是 环境配置,例如OS kernel 参数; 创建gp管理用户; ssh key的交换(使用gpssh-exkeys -e exist_hosts -x new_hosts); greenplum bin软件的拷贝; 规划segment 数据目录; 使用gpcheck检查 (gpcheck -f new_hosts ); 使用gpcheckperf检查性能 (gpcheckperf -f new_hosts_file -d /data1 -d /data2 -v) &nb

继续阅读 >>

centos7系统greenplum5.7集群详细安装配置文档-亲试通过

1.准备 这里准备了4台服务器,1台做master,1台做standby,3台都做存储。 ip host 配置 安装 10.0.0.2 mdw 2核64G 3*600G raid5 master 10.0.0.3 sdw1 2核128G 10*2TB raid10 segment 10.0.0.4 sdw2 2核128G 10*2TB raid10 segment 10.0.0.5 sdw3 2核128G 10*2TB raid10 segment+standbymaster   OS:Red Hat Centos  Linux Server release 7.3 GP:green

继续阅读 >>