Ubuntu 通過 socks5代理更快速的安裝更新
- vi /etc/tsocks.conf
- 做一個簡單的配置就好了:
- local = 192.168.1.0/255.255.255.0 #local表示本地的網路,也就是不使用socks代理的網路
- local = 127.0.0.0/255.0.0.0
- server = 127.0.0.1 #socks伺服器的IP
- server_type = 5 #socks服務版本
- server_port = 7070 #socks服務使用的埠
- 要注意的是"server"中的IP必須包含在"local"裡面,否則不能使用,比如使用apt更新的時候會報下面這個錯誤:
- 0% [Working]20:13:21 libtsocks(11619): SOCKS server xxx.xx.xxx.xxx (xxx.xxx.xxx.xxx) is not on a local subnet!
- 使用tsocks代理apt-get:
- tsocks apt-get update
- tsocks aptitude upgrade
- ...
- 很簡單,就是在命令前面加上"tsocks"就可以了,tsocks會使用"exec"來執行命令。
相關推薦
Ubuntu 通過 socks5代理更快速的安裝更新
vi /etc/tsocks.conf做一個簡單的配置就好了:local = 192.168.1.0/255.255.255.0 #local表示本地的網路,也就是不使用socks代理的網路local = 127.0.0.0/255.0.0.0server = 127.0.0.1 #socks伺服器的I
在Ubuntu上使用離線方式快速安裝K8S v1.11.1
在Ubuntu上使用離線方式快速安裝K8S v1.11.1 0、安裝包檔案下載 https://pan.baidu.com/s/1nmC94Uh-lIl0slLFeA1-qw v1.11.1 檔案大小 630M左右 1、系統環境 系統版本 Ubuntu 18.04 LTS kubernete v1.1
Ubuntu 12.04 安裝socks5代理伺服器dante-server
dante-server是一個很好的socks4/5代理伺服器軟體。 使用apt-get安裝
Nodejs 和 Electron ubuntu下快速安裝
配置問題 選擇 https 前端知識 VM 失敗 url ctr 網上 查找時間管理軟件的時候發現了superProductivity這個程序,使用electron進行開發,於是看了一下介紹,手癢了,嘗試進行環境搭建,一下步慢慢補齊前端知識吧 nodejs安裝 nod
用Ubuntu快速安裝Jenkins
echo 簡單 list 啟用 鏡像 jenkins apt-get 網上 tps 一、安裝操作系統,安裝前準備。 1、操作系統:Ubuntu 18.04 (大家都知道Ubuntu的特點,在線安裝,方便很多) 2、apt源。apt源在官網上面分很多種,每個版本的源不一樣,如
RabbitMQ 通過Docker方式快速安裝
首先進入RabbitMQ 官網 http://www.rabbitmq.com/download.html 找到 Docker image 並進入 這裡是最新版本 3.7.7-management,找到你需要安裝的版本, -m
解決安裝雙系統Ubuntu分割槽被日誌檔案快速耗盡
在參加機器人比賽時,實驗室購置兩臺miniPC作為機器人的控制核心,相關軟體執行在ubuntu下,於是就為其安裝ubuntu14.04且覆蓋掉預裝的win10。安裝過程設定U盤啟動後發現根本就裝不了,後面考慮到雙系統的方法,使用easyBCD加啟動選項。在win10分了幾十個G的空間用來給unu
K8S 1.12大特性最快最深度解析:通過ComponentConfig更輕鬆安裝和升級
前言 版本化元件配置檔案是由華為在Kubernetes社群v1.12週期重點推動的特性,並在Kubernetes 1.12進入alpha階段。接下來我們將敘述版本化元件配置檔案的演變過程,以及以kube-proxy為例闡述如何將現有元件遷移到版本化配置檔案,最後,作出一些未來工作設想。
Alien 快速安裝 Rippled 節點【Ubuntu】
關聯文件: https://developers.ripple.com/install-rippled.html 伺服器的基本情況: 作業系統:Ubuntu 16.04.5 LTS CPU/記憶體/硬碟:8C/8G/500G 部署步驟: sudo apt-get upd
通過yum源快速安裝nginx
使用yum源直接安裝nginx 1、配置nginx源 centos6: rpm -ivh http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm
新安裝的Ubuntu在使用sudo apt-get update更新原始碼的時候出現如下錯誤: W: GPG 錯誤:http://ppa.launchpad.net precise Release:
新安裝的Ubuntu在使用sudo apt-get update更新原始碼的時候出現如下錯誤: W: GPG 錯誤:http://ppa.launchpad.net precise Release: 由於沒有公鑰,無法驗證下列簽名: NO_PUBKEY 3EE66BD3F5
socks5 代理: DANTE 一鍵安裝指令碼
下載指令碼 wget --no-check-certificate https://raw.github.com/Lozy/danted/master/install.sh -O install.sh 安裝 bash install.sh --port=埠 --user=自己設定使用者名
Ubuntu通過apt-get安裝指定版本和查詢指定軟體有多少個版本
一、通過apt-get安裝指定版本apt-get install <<package name>>=<<version>>二、查詢指定軟體有多少個版本說明:在Linux用這個查詢並不能完全的把所有版本都列舉出來,因為每個版本都與系統版本和CPU架構有關,比如一個
ubuntu快速安裝tensorflow\pytorch
sudo apt update sudo apt install python3-dev python3-pip pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple/ --user --upgrade tenso
ubuntu快速安裝最新版nodejs,只需2步
最近在 ubuntu 上安裝 nodejs。ubuntu自帶的 nodejs 版本太低了,然後找了些網上的教程,五花八門,走了些彎路。 最後發現只需2步即可,在此分享一下。 現在我開啟後出現的是: 也就是說此時此刻,9.2.0 是最新的版本
Debian & Ubuntu 軟體安裝解除安裝更新 + 軟體源
在Linux系統安裝完成之後,系統會有一些自帶的軟體可以使用,但是我們使用的時候要手動安裝軟體來搭建開發環境,本篇就來扯一扯Ubuntu和Debian下如何安裝軟體、解除安裝軟體、更新軟體以及更換源~ 1.軟體包 眾所周知,在Windows下安裝一個軟體,首先需要下載軟體安裝包,然後
報錯:Win10 這臺計算機中已經安裝了 .NET Framework 4.5.2/4.6.1/4.7.1等等任何版本 或版本更高的更新
Win10系統自帶的.net framework版本為4.7,自己安裝.NET Framework 4.5.2時會提示:這臺計算機中已經安裝了 .NET Framework 4.5.2 或版本更高的更新。 解決方法 下載安裝.net framework的開發版或者說開發包。開發版地址h
新安裝的Ubuntu在使用sudo apt-get update更新原始碼的時候出現如下錯誤: W: GPG 錯誤:http://ppa.launchpad.net precise Release:
新安裝的Ubuntu在使用sudo apt-get update更新原始碼的時候出現如下錯誤: W: GPG 錯誤:http://ppa.launchpad.net precise Release: 由於沒有公鑰,無法驗證下列簽名: NO_PUBKEY 3EE66BD3F599ACE3 W: G
Eclipse 通過代理伺服器proxy線上更新plug in配置問題
eclipse配置代理可以通過Window->Preferences->network connections設定相應代理地址,但是不能使用SOCKS設定才能正常工作。 本機就是上述情況,如果勾選SOCKS雖然代理支援該協議,但是在更新外掛時就是不能正常響應請求,總是出現連線失敗現象
Ubuntu 安裝開源微信(原始碼安裝+release快速安裝)
安裝linux微信: git clone https://github.com/geeeeeeeeek/electronic-wechat.git cd electronic-wechat npm install && npm start Mac OS X