在virtualhost中增加如下
server {
listen 3128;
location / {
resolver 8.8.8.8; #DNS
proxy_pass http://$http_host$request_uri;
}
#access_log /var/log/nginx/http_proxy.log;
}
然后重启nginx服务即可.
在virtualhost中增加如下
server {
listen 3128;
location / {
resolver 8.8.8.8; #DNS
proxy_pass http://$http_host$request_uri;
}
#access_log /var/log/nginx/http_proxy.log;
}
然后重启nginx服务即可.
sudo aptitude purge ibus
sudo add-apt-repository ppa:fcitx-team/nightly
sudo apt-get update
sudo aptitude install im-switch fcitx-sogoupinyin
im-switch -s fcitx -z default
重启选择搜狗输入法即可
可删除不用的双拼等输入法**
sudo apt-get install fcitx-config-gtk
fcitx-config-gtk3
不需要保存cookie到本地,直接右击下载
按钮,复制文件链接地址,然后wget 下载地址加引号就OK了
wget "download_url"
获取真实下载地址后使用wget替代品axel
工具下载即可,用法同wget
sudo apt-get install axel
axel "download_url"
#插入
alter table table\_name add index index\_name (`field1`, `field2`, `field3`)
#建表时
KEY `username_passwd_status` (`username`,`passwd`,`status`)
Copyright © 2016 yjiang's cake