0x00 最近迷上了Telegram,也就是电报,觉得通过这个获取国外的新闻比较方便 可是我的VPS小机子不给力,一开始使用的Centos 6x,死活装不上去, 发现MTproxy不支持Centos 6x 于是重装换成了Centos 7x 0x01 需要准备: 1. 一台 Centos 7x 的主机(VPS与服务器均可) 2. 一个SSH连接软件,我这里用的putty(windows平台的) 3. 脑子 1x00 用软件连接主机(废话) 1x01 首先现更新软件包 yum update -y 1…
安装 nginx yum install epel-release yum install nginx 配置 nginx sudo vim /etc/nginx/nginx.conf, 改成下面配置: user nginx; worker_processes auto; error_log /var/log/nginx/error.log; pid /run/nginx.pid; events { worker_connections 1024; } http { include /etc/ng…
centos 6.x Python2.7x安装 yum install -y gcc gcc-develwget https://www.python.org/ftp/python/2.7.14/Python-2.7.14.tgztar xf Python-2.7.14.tgzcd /root/Python-2.7.14./configuremake && make installmv /usr/bin/python python2.6.6ln -s /usr/local/bin/pyth…
Linux使用Nginx Yum存储库上安装Nginx,适用于Red Hat Enterprise Linux和CentOS系统. 1.添加设置Nginx Yum存储库 在CentOS中首次安装Nginx时,需要添加Nginx软件包,使用以下命名,添加安装 sudo yum install yum-utils 设置Yum存储库,请创建/etc/yum.repos.d/nginx.repo配置文件,配置内容如下 [nginx-stable] name=nginx stable repo baseu…
安装apache [root@centos share]# yum -y install httpd Loaded plugins: fastestmirror, refresh-packagekit Loading mirror speeds from cached hostfile  * base: mirrors.yun-idc.com  * extras: mirrors.yun-idc.com  * updates: mirrors.pubyun.com Setting up Inst…
简介 Shutter前身叫GScrot,它是一款相当棒的截图软件. 通过Shutter,你可以截取包括选定区域.全屏幕.窗口.窗口内的控件甚至网页的图像.通过内置的强大插件机制,你可以在截图后,对图像进行各式各样的增强,如增加阴影,打上标志等等. 安装 Ubuntu $ # 添加安装包软件源 $ sudo add-apt-repository ppa:shutter/ppa $ # 更新源并安装shutter $ sudo apt-get update && sudo apt-get in…
RabbitMQ集群安装配置+HAproxy+Keepalived高可用 转自:https://www.linuxidc.com/Linux/2016-10/136492.htm rabbitmq 集群 消息队列 RabbitMQ简介 RabbitMQ是流行的开源消息队列系统,用erlang语言开发.RabbitMQ是AMQP(高级消息队列协议)的标准实现. AMQP,即Advanced Message Queuing Protocol,高级消息队列协议,是应用层协议的一个开放标准,为面向消息的…
CentOS 7 安装 Docker 这里介绍 ContOS 7 的安装 docker V1.2+,包括阿里云加速 docker 镜像下载的设置,这对提升使用 docker 体验至关重要.其他系统安装或升级请查官方手册. 1.安装 Docker 引擎 docker 官方安装手册很详细,这时仅是 CentOS 主要的核心内容 [^1]. 1.跟新配置 sudo yum update 2.添加 yum 仓库 sudo tee /etc/yum.repos.d/docker.repo <<-'EOF…
安装过程: CentOS安装 wget --no-check-certificate https://gist.github.com/LazyZhu/dc3f2f84c336a08fd6a5/raw/d8aa4bcf955409e28a262ccf52921a65fe49da99/net_speeder_lazyinstall.shsh net_speeder_lazyinstall.sh 安装完毕后再敲入:nohup /usr/local/net_speeder/net_speeder ven…
一.MySQL安装 Centos下安装mysql 请点开:http://www.centoscn.com/CentosServer/sql/2013/0817/1285.html 二.MySQL的几个重要目录 MySQL安装完成后不象SQL Server默认安装在一个目录,它的数据库文件.配置文件和命令文件分别在不同的目录,了解这些目录非常重要,尤其对于Linux的初学者,因为 Linux本身的目录结构就比较复杂,如果搞不清楚MySQL的安装目录那就无从谈起深入学习. 下面就介绍一下这几个目录.…