参考页面: https://certbot.eff.org/#ubuntutrusty-nginx http://bbs.qcloud.com/thread-12059-1-1.html http://www.cnblogs.com/yanghuahui/archive/2012/06/25/2561568.html 1. 下载let's encrypt wget https://dl.eff.org/certbot-auto 2. 给权限 chmod a+x certbot-auto 3. 安…
前段时间帮朋友写了一个网站,现在做一个记录. .Net Core 安装: curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.co…
参考 How To Install and Use Docker: Getting Started 这篇最靠谱的文档在阿里云 Ubuntu  14.04 服务器上成功安装 docker . ---- 后来发现更简单的安装方法: curl -sSL https://get.docker.com/ | sh 或者: curl -sSL http://acs-public-mirror.oss-cn-hangzhou.aliyuncs.com/docker-engine/internet | sh -…
ubuntu 14.04 的内核是 3.13 ,所以内核不用升级. 安装过程例如以下: # apt-get update # apt-get install apt-transport-https # apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9 # bash -c "echo deb https://get.docker.io/…
1. 升级apt-get apt-get update 如果出现 : 说明没有你不是root用户,则需要用sudo命令 sudo apt-get update 下面出现权限问题都可以参照这个方法. 2. 安装 mysql-client-core-5.6 apt-get install MySQL-client-core-5.6 如果不是root用户请执行 sudo apt-get install mysql-client-core-5.6 3.安装mysql-client-5.6 apt-get…
由于默认安装的nethogs不能使用,提示:Creating socket failed while establishing local IP - are you root? 搜索资料后检查当前版本为0.8.0 决定重新安装其它版本. 卸载当前版本:apt-get remove nethogs 安装依赖: apt-get install build-essential libncurses5-dev libpcap-dev 下载新版本:wget -c https://github.com/ra…
Nginx的设置,RTMP在Ubuntu 14.04 https://www.vultr.com/docs/setup-nginx-rtmp-on-ubuntu-14-04…
前言:1.我常用的服务器在国内,但我又有某方面的需求,所以想要搭建一个pptpd的服务器    2.但我又不常用,所以感觉阿里云包年包月的不划算,所以准备采用阿里云按量付费的实例来搭建pptpd,并形成镜像.    3.使用时,直接使用自定义镜像创建实例.创建成功就可直接访问. 一.搭建pptp 服务器采用阿里云按量付费的实例 如何搭建pptp,见:阿里云ubuntu16.04搭建pptpd 注:1.配置dns解析时,应配:8.8.8.8 或8.8.4.4 二.开机自启动 sudo nano /…
1,下载VMware Workstation虚拟机 地址:http://1.xp510.com:801/xp2011/VMware10.7z 2,下载Ubuntu 14.04.5 LTS 32位Ubuntu(虚拟机最好安装64位的,英文qtCreator高版本的基本上都只有64位的包) 地址:http://mirrors.163.com/ubuntu-releases/14.04.5/ 3,安装安装Qtcreator:     sudo apt-get install qtcreator (Qt…
第一次尝试把本地的项目上线,   购买了某云的轻量应用服务器, 镜像为Ubuntu 16.04  直接运行 apt-get install nginx 出错   根据提示运行 apt-get update ,然后再运行安装命令 ,成功   然后官网还有这么一段话: For Debian/Ubuntu, in order to authenticate the nginx repository signature and to eliminate warnings about missing PG…