123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782 |
- <!DOCTYPE HTML>
- <html lang="" >
- <head>
- <meta charset="UTF-8">
- <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
- <title>常用软件安装 · 代码收集</title>
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
- <meta name="description" content="">
- <meta name="generator" content="GitBook 3.1.1">
-
-
-
-
- <link rel="stylesheet" href="../../gitbook/style.css">
-
-
-
- <link rel="stylesheet" href="../../gitbook/gitbook-plugin-search-pro/search.css">
-
-
-
- <link rel="stylesheet" href="../../gitbook/gitbook-plugin-highlight/website.css">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <meta name="HandheldFriendly" content="true"/>
- <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
- <meta name="apple-mobile-web-app-capable" content="yes">
- <meta name="apple-mobile-web-app-status-bar-style" content="black">
- <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
- <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">
-
- <link rel="next" href="../../git/git.html" />
-
-
- <link rel="prev" href="../instruction.html" />
-
- </head>
- <body>
-
- <div class="gb-page-wrapper">
- <header class="gb-page-header">
- <div class="container">
-
-
- <div id="book-search-input" role="search">
- <input type="text" placeholder="Type to search" />
- </div>
- <a href="../.." class="logo">
- <img src="../../gitbook/images/logo/128.png">
- <h1>代码收集</h1>
- </a>
-
-
- <a href="https://github.com/seamong/myBlogs/blob/doc/ubuntu/software/README.md" target="_blank" class="btn btn-link pull-right hidden-xs">
- <i class="octicon octicon-mark-github"></i> 在GitHub编辑本页
- </a>
- <a href="../../faq.md" class="btn btn-link pull-right hidden-xs">
- F.A.Q
- </a>
- <a href="https://github.com/seamong/myBlogs/README.md" target="_blank" class="btn btn-link pull-right hidden-xs">
- 当前版本0.0.1
- </a>
-
- </div>
- </header>
- <div class="gb-page-body">
- <div class="gb-page-inner">
- <div class="container">
- <div class="row">
- <div class="col-md-3">
-
-
- <div class="panel panel-default">
-
- <div class="panel-heading">
- <h3 class="panel-title">介绍</h3>
- </div>
-
- <div class="list-group">
-
-
-
- <a href="../../" class="list-group-item ">
-
-
-
- 关于本文档
-
- </a>
-
-
-
- </div>
- </div>
-
- <div class="panel panel-default">
-
- <div class="panel-heading">
- <h3 class="panel-title">JavaScript</h3>
- </div>
-
- <div class="list-group">
-
-
-
- <a href="../../JavaScript/principle/" class="list-group-item ">
-
-
-
- <i class="octicon octicon-chevron-right"></i>
-
- 原理解析
-
- </a>
-
-
-
-
- <a href="../../JavaScript/cases/" class="list-group-item ">
-
-
-
- <i class="octicon octicon-chevron-right"></i>
-
- 案例解析
-
- </a>
-
-
-
- </div>
- </div>
-
- <div class="panel panel-default">
-
- <div class="panel-heading">
- <h3 class="panel-title">angular</h3>
- </div>
-
- <div class="list-group">
-
-
-
- <a href="../../angular/study_notes/" class="list-group-item ">
-
-
-
- <i class="octicon octicon-chevron-right"></i>
-
- Study notes
-
- </a>
-
-
-
-
- <a href="../../angular/ng.html" class="list-group-item ">
-
-
-
- ng
-
- </a>
-
-
-
- </div>
- </div>
-
- <div class="panel panel-default">
-
- <div class="panel-heading">
- <h3 class="panel-title">css</h3>
- </div>
-
- <div class="list-group">
-
-
-
- <a href="../../css/principle/" class="list-group-item ">
-
-
-
- 原理解析
-
- </a>
-
-
-
-
- <a href="../../css/cases/" class="list-group-item ">
-
-
-
- <i class="octicon octicon-chevron-right"></i>
-
- 案例收集
-
- </a>
-
-
-
- </div>
- </div>
-
- <div class="panel panel-default">
-
- <div class="panel-heading">
- <h3 class="panel-title">vue</h3>
- </div>
-
- <div class="list-group">
-
-
-
- <a href="../../vue/components/" class="list-group-item ">
-
-
-
- <i class="octicon octicon-chevron-right"></i>
-
- components
-
- </a>
-
-
-
-
- <a href="../../vue/router/" class="list-group-item ">
-
-
-
- <i class="octicon octicon-chevron-right"></i>
-
- router
-
- </a>
-
-
-
-
- <a href="../../vue/vuex/" class="list-group-item ">
-
-
-
- VUE
-
- </a>
-
-
-
- </div>
- </div>
-
- <div class="panel panel-default">
-
- <div class="panel-heading">
- <h3 class="panel-title">ubuntu</h3>
- </div>
-
- <div class="list-group">
-
-
-
- <a href="../serves/" class="list-group-item ">
-
-
-
- <i class="octicon octicon-chevron-right"></i>
-
- 服务器生存指南
-
- </a>
-
-
-
-
- <a href="../instruction.html" class="list-group-item ">
-
-
-
- 常用指令
-
- </a>
-
-
-
-
- <a href="./" class="list-group-item active">
-
-
-
- 常用软件安装
-
- </a>
-
-
-
- </div>
- </div>
-
- <div class="panel panel-default">
-
- <div class="panel-heading">
- <h3 class="panel-title">GIT</h3>
- </div>
-
- <div class="list-group">
-
-
-
- <a href="../../git/git.html" class="list-group-item ">
-
-
-
- git 命令
-
- </a>
-
-
-
-
- <a href="../../git/push.html" class="list-group-item ">
-
-
-
- git~push
-
- </a>
-
-
-
-
- <a href="../../git/faq.html" class="list-group-item ">
-
-
-
- git~F.A.Q
-
- </a>
-
-
-
- </div>
- </div>
-
- <div class="panel panel-default">
-
- <div class="panel-heading">
- <h3 class="panel-title">NODE&NPM</h3>
- </div>
-
- <div class="list-group">
-
-
-
- <a href="../../node/0.html" class="list-group-item ">
-
-
-
- <i class="octicon octicon-chevron-right"></i>
-
- node
-
- </a>
-
-
-
-
- <a href="../../node/npm/0.html" class="list-group-item ">
-
-
-
- npm
-
- </a>
-
-
-
- </div>
- </div>
-
- <div class="panel panel-default">
-
- <div class="list-group">
-
-
-
- <a href="../../other/faq.html" class="list-group-item ">
-
-
-
- FAQ
-
- </a>
-
-
-
-
- <a href="../../other/examples.html" class="list-group-item ">
-
-
-
- Examples
-
- </a>
-
-
-
- </div>
- </div>
-
- </div>
- <div class="col-md-9">
-
- <div id="book-search-results">
- <div class="search-noresults">
-
-
- <div class="gb-markdown book-page-inner">
- <h1 id="常用软件安装">常用软件安装</h1>
- <h3 id="通用功能">通用功能</h3>
- <pre><code class="lang-bash">添加软件源: sudo apt-get-repository ppa:源
- </code></pre>
- <h3 id="更换软件源">更换软件源</h3>
- <pre><code class="lang-bash">sed -i <span class="hljs-string">'s/archive.ubuntu.com/mirrors.ustc.edu.cn/g'</span> /etc/apt/sources.list
- apt-get update
- </code></pre>
- <h3 id="ubuntu-更换阿里云软件源">Ubuntu 更换阿里云软件源</h3>
- <pre><code class="lang-bash"><span class="hljs-comment"># 备份</span>
- sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
- <span class="hljs-comment"># 修改</span>
- sed -i <span class="hljs-string">'s/cn.archive.ubuntu.com/mirrors.aliyun.com/g'</span> /etc/apt/sources.list
- <span class="hljs-comment"># 更新</span>
- sudo apt-get update
- </code></pre>
- <h3 id="挂载共享文件">挂载共享文件</h3>
- <pre><code class="lang-bash">1.打开VirtualBox,设置虚拟机的共享文件
- 2.VirtualBOX控制台=>设备=>安装增强功能
- 3.打开ubuntu的终端(Ctrl + Alt + T)=>输入 [ mount -t vboxsf 共享文件夹名 挂载路径 ]
- mount -t vboxsf wwww /mnt/www
- </code></pre>
- <h3 id="安装搜狗输入法">安装搜狗输入法</h3>
- <pre><code>http://pinyin.sogou.com/linux/help.php
- </code></pre><h3 id="安装sublime">安装sublime</h3>
- <pre><code>http://www.cnblogs.com/shiddong/p/6106504.html
- </code></pre><h3 id="vagrant安装">vagrant安装</h3>
- <pre><code class="lang-bash">$ sudo dpkg -i *.deb //安装软件
- //如果是由于软件依赖问题的话,执行下列的命令,然后再次运行安装命令
- $ sudo apt-get <span class="hljs-_">-f</span> install
- </code></pre>
- <h3 id="chrome安装">chrome安装</h3>
- <pre><code class="lang-bash">下载源:$ sudo wget https://repo.fdzh.org/chrome/google-chrome.list -P /etc/apt/sources.list.d/
- 导入公钥:$ wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
- 更新:$ sudo apt-get update
- 下载并安装:$ sudo apt-get install google-chrome-stable
- 启动: $ /usr/bin/google-chrome-stable
- </code></pre>
- <h3 id="wine安装">wine安装</h3>
- <p>1、安装源</p>
- <pre><code class="lang-bash"> sudo add-apt-repository ppa:wine/wine-builds
- sudo apt-get update
- </code></pre>
- <p>2、安装wine</p>
- <pre><code class="lang-bash">sudo apt-get install --install-recommends wine-staging
- sudo apt-get install winehq-staging
- </code></pre>
- <p>3、卸载wine</p>
- <pre><code class="lang-bash"><span class="hljs-comment">#1).卸载wine主程序,在终端里输入:</span>
- sudo apt-get remove --purge wine
- <span class="hljs-comment">#2).然后删除wine的目录文件:</span>
- rm -r ~/.wine
- <span class="hljs-comment">#3).卸载残留不用的软件包:</span>
- sudo apt-get autoremove
- </code></pre>
- <p>4、终端中输入wine,检测是否安装完成。</p>
- <h3 id="shadowsocks-qt5安装">shadowsocks-qt5安装</h3>
- <pre><code class="lang-bash"><span class="hljs-comment">#1.安装源</span>
- sudo add-apt-repository ppa:hzwhuang/ss-qt5
- sudo apt-get update
- <span class="hljs-comment">#2.安装shadowsocks-qt5</span>
- sudo apt-get install shadowsocks-qt5
- </code></pre>
- <h3 id="显示网速">显示网速</h3>
- <pre><code class="lang-bash">1.安装源
- sudo add-apt-repository ppa:fossfreedom/indicator-sysmonitor
- sudo apt-get update
- 2.安装indicator-sysmonitor
- sudo apt-get install indicator-sysmonitor
- </code></pre>
- <h3 id="网速限制">网速限制</h3>
- <p>1.<a href="https://github.com/magnific0/wondershaper" target="_blank">wondershaper地址</a></p>
- <pre><code class="lang-bash"><span class="hljs-comment">#2.下载</span>
- git <span class="hljs-built_in">clone</span> git@github.com:magnific0/wondershaper.git
- <span class="hljs-built_in">cd</span> wondershaper
- <span class="hljs-comment">#3.使用</span>
- <span class="hljs-comment">#(1) 查看网络使用接口</span>
- ifconfig
- or
- ip addr show
- <span class="hljs-comment">#(2)示例</span>
- <span class="hljs-comment"># 设置</span>
- sudo ./wondershaper <span class="hljs-_">-a</span> wlp4s0 -u 4096 <span class="hljs-_">-d</span> 8192
- <span class="hljs-comment"># 清除设置</span>
- sudo ./wondershaper -c <span class="hljs-_">-a</span> wlp4s0
- <span class="hljs-comment">#(3)说明</span>
- -u 设置 上行网速(单位:Mbps)
- <span class="hljs-_">-d</span> 设置 下行网速(单位:Mbps)
- </code></pre>
- <h3 id="steam">steam</h3>
- <pre><code>文档:http://blog.csdn.net/jianwen_hi/article/details/51843385
- 1.记录第一种简易安装的方式:
- sudo add-apt-repository multiverse sudo apt update sudo apt install steam
- </code></pre><h3 id="yarn">yarn</h3>
- <pre><code>curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
- echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
- sudo apt-get update && sudo apt-get install yarn
- </code></pre><h3 id="install-software">install software</h3>
- <p>下载源码安装包</p>
- <pre><code class="lang-bash">wget http://nodejs.org/dist/v0.12.0/node-v0.12.0.tar.gz //这里我是直接下载好文件放到指定目录下
- </code></pre>
- <p>解压源码安装包</p>
- <pre><code class="lang-bash">tar xvf node-v0.12.0.tar.gz
- </code></pre>
- <p>如果服务器没有源码编译环境, 先要下载一些编译环境,等待几分钟。</p>
- <pre><code class="lang-bash">sudo yum install gcc gcc-c++
- </code></pre>
- <p>进入已经解压的的文件夹</p>
- <pre><code class="lang-bash"><span class="hljs-built_in">cd</span> node-v0.12.0
- </code></pre>
- <p>开始配置编译</p>
- <pre><code class="lang-bash">./configure
- make
- </code></pre>
- <p>编译成功然后安装</p>
- <pre><code class="lang-bash">sudo make install
- </code></pre>
- <p>软件源</p>
- <pre><code class="lang-bash"> deb http://mirrors.aliyun.com/ubuntu trusty main restricted universe multiverse
- deb http://mirrors.aliyun.com/ubuntu trusty-updates main restricted universe multiverse
- deb http://mirrors.aliyun.com/ubuntu trusty-backports main restricted universe multiverse
- deb http://mirrors.aliyun.com/ubuntu trusty-security main restricted universe multiverse
- </code></pre>
- </div>
-
- <hr>
- <div class="btn-group btn-group-justified">
-
- <a class="btn" href="../instruction.html"><b>上一页:</b> 常用指令</a>
-
-
- <a class="btn" href="../../git/git.html"><b>下一页:</b> git 命令</a>
-
- </div>
-
- </div>
- <div class="search-results">
- <div class="has-results">
-
- <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
- <ul class="search-results-list"></ul>
-
- </div>
- <div class="no-results">
-
- <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
-
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <footer class="gb-page-footer">
- <div class="container">
- <ul class="menu">
- <li class="pull-right">
- <span class="service-info">Copyright GitBook 2018</span>
- </li>
- <li>
- <a href="#">Return to the top</a>
- </li>
- <li>
- <a href="#">Updated May 31st 18</a>
- </li>
- </ul>
- </div>
- </footer>
- </div>
- <script src="../../gitbook/gitbook.js"></script>
-
- <script src="../../gitbook/gitbook-plugin-search-pro/jquery.mark.min.js"></script>
-
-
- <script src="../../gitbook/gitbook-plugin-search-pro/search.js"></script>
-
-
- <script src="../../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
-
-
- <script src="../../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
-
- <script>
- (function() {
- gitbook.page.hasChanged({"page":{"title":"常用软件安装","level":"6.3","depth":1,"next":{"title":"git 命令","level":"7.1","depth":1,"path":"git/git.md","ref":"./git/git.md","articles":[]},"previous":{"title":"常用指令","level":"6.2","depth":1,"path":"ubuntu/instruction.md","ref":"ubuntu/instruction.md","articles":[]},"dir":"ltr"},"config":{"plugins":["theme-official@2.1.1","-sharing","-fontsettings","sitemap","-search","search-pro"],"root":"./docs/","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sitemap":{"hostname":"https://blog.honghaitao.net/"},"search-pro":{"cutWordLib":"nodejieba","defineWord":["小需求","基础建设"]},"highlight":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"theme-official":{},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{"version":"0.0.1"},"title":"代码收集","gitbook":"3.1.1"},"file":{"path":"ubuntu/software/README.md","mtime":"2018-05-31T03:17:33.687Z","type":"markdown"},"gitbook":{"version":"3.1.1","time":"2018-05-31T08:39:58.544Z"},"basePath":"../..","book":{"language":""}});
- })();
- </script>
-
- </body>
- </html>
|