Ubuntu 16.04 Apache2 开启 Http2
Ubuntu 16.04默认源里的Apache2没有Http2模块,如果启用Http2模块一般会报错找不到模块. a2enmod http2 ERROR: Module http2 does not exist! 所以如果要启用Http2模块,需要从源码从头编一个Apache2.不过编译好的Http2模块可以直接拷贝出来使用,所以已经安装过Apache2了也不需要担心. 首先将源码源加入源列表之中: vi /etc/apt/sources.list 添加以下: deb-src http://archive.ubuntu.com/ubuntu/ xenial main universe restricted multiverse deb-src http://security.ubuntu.com/ubuntu xenial-security main universe restricted multiverse deb-src http://archive.ubuntu.com/…
Ubuntu Server 16.04 LTS Samba
Install Samba 切换到Root $sudo -s 安装Samba #apt-get install -y samba samba-common python-glade2 system-config-samba 备份并新建一份Samba空配置 #cp -pf /etc/samba/smb.conf /etc/samba/smb.conf.bak #cat /dev/null > /etc/samba/smb.conf Samba Configure Anonymous 创建匿名共享配置 #vim /etc/samba/smb.conf # /etc/samba/smb.conf [global] workgroup = WORKGROUP server…
Spacemacs使用Mu4e收发邮件
Spacemacs使用Mu4e收发邮件 安装 安装MBSync与Mu $sudo apt install isync mu4e 安装Spacemacs Layer dotspacemacs-configuration-layers '( mu4e (mu4e :variables mu4e-installation-path "/usr/share/emacs/site-lisp" mu4e-enable-notifications t) ) 配置 ~/.mbsyncrc IMAPAccount GmailOne Host imap.gmail.com Port 993 User gmailone@gmail.com # 使用明文密码 Pass password # 使用GPG PassCmd "gpg -d ~/.mbpasswd.gpg" UseIMAPS yes RequireSSL yes CertificateFile…
Ubuntu NTP自动更新时间
对时 https://time.is 手动更新时间 $sudo apt install ntpdate $sudo ntpdate cn.pool.ntp.org 自动更新 $sudo apt install ntp $sudo service ntp start…
Can't locate CGI.pm
安装配置Nginx与GitWeb运行错误,检测Nginx Logs: 2017/04/06 20:03:18 [error] 32701#32701: *1 FastCGI sent in stderr: "Can't locate CGI.pm in @INC (you may need to install the CGI module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.…