Stella981 Stella981
4年前
CentOS升级Python到2.7版本
查看python的版本pythonVPython2.4.31.先安装GCCyumyinstallgcc2.下载Python2.7.2wgethttp://python.org/ftp/python/2.7.2/Python2.7.2.tar.bz23.解压Python2.7.2
Stella981 Stella981
4年前
CentOS7 PHP+Redis实现Session共享
先yum简单的安装rediswgetO/etc/yum.repos.d/CentOSBase.repohttp://mirrors.aliyun.com/repo/epel7.repoyumyinstallredis简单配置一下:vim/etc/redis.confdaemonizeye
Wesley13 Wesley13
4年前
vps简单的sshd安全设置
昨儿刚注册了84的vps,最低配置,还是挺便宜的。拿到手机器没有安装诸如kloxo之类的面板,只有一个最小化安装的centos5.5。很明显,快速搭建站点是不可能了,先给服务器加固一下。ssh作为直观操纵服务器的利器,安全性至关重要。以下是我的安全策略:1.禁止sshclient通过root登录,2.不允许用户更改passwd,s
Wesley13 Wesley13
4年前
ubuntu 安装python3.6后,terminal终端打不开问题
由于Ubuntu16.04,自带Python2.7和Python3.5当我安装完Python3.6.5后,terminal终端打不开了,jekay@jekaypc:~$gnometerminalTraceback(mostrecentcalllast): File"/usr/bin/gnometerminal",
Stella981 Stella981
4年前
OpenSUSE42.3 leap 开启ssh登陆
一、产看ssh是否安装OpenSUSE:~rpmqa|grepsshlibssh211.4.318.3.x86\_64opensshaskpass1.2.4.112.1.x86\_64opensshhelpers7.2p213.1.x86\_64openssh7.2p213
Wesley13 Wesley13
4年前
postgresql10监控
postgres配置需要安装postgresql10contrib在/var/lib/pgsql/10/data/postgresql.conf最后添加shared_preload_libraries'pg_stat_statements'pg_stat_statements.max10000
Wesley13 Wesley13
4年前
Ubuntu配置NTP
1、安装 aptgetinstallntp2、修改ntp.conf配置文件vi/etc/ntp.conf添加以下行server120.24.166.46(阿里云NTPServer)restrict192.168.1.0mask255.255.255.0nomodifyrestrict
Stella981 Stella981
4年前
PHP连接ssh服务器
首先需要安装php\_ssh2扩展,这里就不再赘述了。脚本实例:$connectionssh2_connect('127.0.0.1',22);ssh2_auth_password($connection,'root','yourpassword');$streamssh2_exec
Stella981 Stella981
4年前
Hbase Shell 搭建Docker测试环境&常用命令
_测试环境安装与配置:_dockersearchhbasepull稳定版dockerpullharisekhon/hbase:1.3dockerrundhapp.hbase.comp2181:2181p8080:8080p8085:8085p9090:9090p9095
Stella981 Stella981
4年前
Kubernetes 学习1 Devops 核心要点和k8s架构概述
一、概述  1、我们以往在去实现安装部署应用程序时我们要去实现部署实现应用手动去做会非常麻烦,所以我们后来便有了工具,像ansible等等,这个工具其实就是一个应用编排工具。他能够安装,配置,服务启动,甚至能够让你按照所定义的Playbok完成对多种应用程序在实现有依赖关系时将我们手工需要配置的工作反应在ansible配置文件playbox中,让其按照p