0. 设置环境变量的几种方式及区别
单一用户:.bashrc: 为每一个运行bash shell的用户执行此文件.当bash shell被打开时,该文件被读取。
打开用户主目录下的.bashrc,在这个文件中加入
export PATH=”$PATH:export PATH="$PATH:/home/***/android-sdk-linux_86/platform-tools/"
重启或注销就好了。
全局设置:
/etc/profile 是所有用户的环境变量
在/etc/profile中增加
export PATH="$PATH:/home/***/android-sdk-linux_86/platform-tools/"
系统设置:
/etc/enviroment是系统的环境变量
export PATH="$PATH:/home/***/android-sdk-linux_86/platform-tools/"
所以,当配置一个路径到profile和enviroment中后,新开一个终端,是不能使用默认命令的。
比如在profile和enviroment中设置了export PATH=****/android-sdk-linux_86/platform-tools后,
新开的终端中如果不source一下,是依然不能使用adb命令的,但是如果在.bashrc中设置了的话,新开的终端是可以直接使用adb的。
如果同一个变量在用户环境(/etc/profile)和系统环境(/etc/environment)有不同的值那应该是以用户环境为准了。
1. ThinderBird配置腾讯企业邮箱
(1) POP3/SMTP协议
收发邮件服务器地址分别如下。
接收邮件服务器:pop.exmail.qq.com (端口 110)
发送邮件服务器:smtp.exmail.qq.com (端口 25)
同时支持SSL加密方式登录,此时需要更改一下端口号。
接收服务器端口:995
发送服务器端口:465
(2) IMAP协议
接收邮件服务器:imap.exmail.qq.com
如果使用SSL加密方式,接收服务器端口是: 993
(3) 相关介绍
25端口(SMTP):25端口为SMTP(Simple Mail Transfer Protocol,简单邮件传输协议)服务所开放的,是用于发送邮件。
109端口(POP2):109端口是为POP2(Post Office Protocol Version 2,邮局协议2)服务开放的,是用于接收邮件的。
110端口(POP3):110端口是为POP3(Post Office Protocol Version 3,邮局协议3)服务开放的,是用于接收邮件的。
143端口(IMAP):143端口是为IMAP(INTERNET MESSAGE ACCESS PROTOCOL)服务开放的,是用于接收邮件的。
2. 安装Google Chrome浏览器
(1) 下载
32位版本
wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb
64位版本
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
(2) 安装
32位版本
sudo dpkg -i google-chrome-stable_current_i386.deb
64位版本
sudo dpkg -i google-chrome-stable_current_amd64.deb
kaizen@dell:~$ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
--2014-08-25 11:13:53-- https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
正在解析主机 dl.google.com (dl.google.com)... 203.208.46.165, 203.208.46.162, 203.208.46.160, ...
正在连接 dl.google.com (dl.google.com)|203.208.46.165|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度: 48424346 (46M) [application/x-debian-package]
正在保存至: “google-chrome-stable_current_amd64.deb”
100%[======================================>] 48,424,346 109KB/s 用时 7m 41s
2014-08-25 11:21:34 (103 KB/s) - 已保存 “google-chrome-stable_current_amd64.deb” [48424346/48424346])
kaizen@dell:~$ sudo dpkg -i google-chrome-stable_current_amd64.deb
Selecting previously unselected package google-chrome-stable.
(正在读取数据库 ... 系统当前共安装有 189162 个文件和目录。)
正在解压缩 google-chrome-stable (从 google-chrome-stable_current_amd64.deb) ...
正在设置 google-chrome-stable (36.0.1985.143-1) ...
update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/x-www-browser (x-www-browser) in 自动模式
update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/gnome-www-browser (gnome-www-browser) in 自动模式
update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/google-chrome (google-chrome) in 自动模式
正在处理用于 bamfdaemon 的触发器...
Rebuilding /usr/share/applications/bamf-2.index...
正在处理用于 desktop-file-utils 的触发器...
正在处理用于 gnome-menus 的触发器...
正在处理用于 man-db 的触发器...
3. Ubuntu 13.04软件源
#deb cdrom:[Ubuntu 12.04 _Precise_ - Build amd64 LIVE Binary 20130203-13:50]/ precise main
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ precise main restricted
deb-src http://cn.archive.ubuntu.com/ubuntu/ precise main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ precise-updates main restricted
deb-src http://cn.archive.ubuntu.com/ubuntu/ precise-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://cn.archive.ubuntu.com/ubuntu/ precise universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ precise universe
deb http://cn.archive.ubuntu.com/ubuntu/ precise-updates universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ precise-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://cn.archive.ubuntu.com/ubuntu/ precise multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ precise multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ precise-updates multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ precise-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://cn.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu precise-security main restricted
deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
deb http://security.ubuntu.com/ubuntu precise-security universe
deb-src http://security.ubuntu.com/ubuntu precise-security universe
deb http://security.ubuntu.com/ubuntu precise-security multiverse
deb-src http://security.ubuntu.com/ubuntu precise-security multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu precise partner
# deb-src http://archive.canonical.com/ubuntu precise partner
## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
# deb http://extras.ubuntu.com/ubuntu precise main
# deb-src http://extras.ubuntu.com/ubuntu precise main
4. 修改鼠标的速度
xset m x
其中x是鼠标的速度,如果想要使用默认的鼠标速度,执行 xset m default
分享到:
相关推荐
Java常用软件以及环境变量配置;Java常用软件以及环境变量配置Java常用软件以及环境变量配置Java常用软件以及环境变量配置Java常用软件以及环境变量配置
文档是在 Ubuntu 14.04.2 LTS 上,配置运行以下四个常用软件 jdk-8u5-linux-x64.tar.gz apache-tomcat-7.0.54.tar.gz mysql-5.6.10-linux-glibc2.5-x86_64.tar.gz jboss-4.2.3.GAcha 也配置了软件随系统开启自动...
Xampp,本地环境配置利器。,想来大家都不陌生吧~!!!!
自己根据标准AD教程修改的AD软件设置,简洁好用好用
服务器常用编程环境+软件部署手册
详细介绍了Linux服务器上常用WEB应用环境安装与配置及优化,包括: nginx配置及优化; mysql配置及优化; tomcat安装;...ant环境配置; jdk环境配置; 按日期切割tomcat日志; 按日期切割nginx日志;
1.Ubuntu常用软件安装,不常用的软件卸载操作; 2.桌面美化; 3.anaconda、pytorch深度学习环境配置; 4.vscode使用anaconda创建的虚拟环境配置; 5.远程连接配置、ssh协议(xshell),文件传输(xftp)等使用;
课程基于CentOS系统为标准详细的讲解Linux知识点、各种语言的运行环境配置和常用的软件应用部署和运维人员必备的实战项目技能。主流Web Server配置、优化和调试等操作。本教程也同样适用 资源太大,传百度网盘了,...
熟悉各种常用开发软件的配置; 熟悉各种常用开发软件的使用。 课程详情 相信很多初次接触编程的小伙伴都对本套视频充满了期待,毕竟这套视频可以帮助我们快速安装配置好Java开发环境。本套视频课程的内容主要包含...
01-Windows环境常用网络命令的测试和分析 02-使用Packet Tracer软件捕获IP数据包进行分析 03-观察集线器共享信道广播式通信的过程 04-观察网桥隔离物理网段 05-交换机的配置模式和常用的配置命令 06-交换机管理安全...
本文档详细介绍了有关机器学习的开发环境和软件的安装过程和使用介绍,并也介绍了常用的深度学习框架的安装和使用介绍,如TensorFlow、pytorch、mindspore等等。
一. 开发入门 1. S60/Symbian应用程序常用架构/框架 2. Symbian开发入门第一步 3. S60v1.2 N-GAGE QD 开发环境搭建(VC6版) 4. S60十大优秀软件 5. S60 系统手机类型及所用操作系统 6. S60 和 ...
这是在阿里云服务器上Ubuntu 18.04系统上,关于Java Web开发的常用软件安装与配置的PDF操作说明。
java环境配置: 从Sun公司的网站下载Java 2 SDK软件 说明:目前最新的JDK版本是1.6.0(或称为JDK 6),比较常用的版本为1.5.0和1.4.2。 初学的时候建议使用JDK学习Java,可以结合UltraEdit,JCreator等编辑工具。
MySQL所使用的 SQL 语言是用于访问数据库的最常用标准化语言。MySQL 软件采用了双授权政策,分为社区版和商业版,由于其体积小、速度快、总体拥有成本低,尤其是开放源码这一特点,一般中小型和大型网站的开发都选择...
Cygwin是一个用于在Windows上模拟Linux环境的软件。它可以作为那些虚拟机软件的一个部分替代品,相对于在虚拟机你使用Linux是比较好的选择。 文档前部分是关于命令的介绍(shell),后部分为安装、配置等教程。
介绍Git的特点、环境配置和常用操作;简单说明配置管理的概念 并建立配置管理环境;介绍基于Git进行配置管理的具体实践,包括分支管理和版本管理。使用Git进行配置管理,可有效解决代 码冲突、事务并发、文档冗余等...
当拿到一个新的linux服务器的时候一般要经过以下5个配置 修改HOSTANME vi /etc/sysconfig/network 修改HOSTNAME和IP的映射 vi /etc/hosts 关闭防火墙 service iptables stop 关闭防火墙的开机启动 ...
5.7 单元测试的常用工具简介 4 5 第6章 集成测试和系统测试 6.1 系统集成的模式与方法 6.2 功能测试 6.3 系统测试 6.4 压力测试、容量测试和性能测试 6.5安全性测试,可靠性和容错性测试 5 6 第7章 验收测试 ...
ubuntu下安装JAVA开发环境其实还是比较简单的,我们就以安装常用的jdk、eclipse、tomcat、svn client(找到一个可以和windows中的小乌龟类似的但安装还有点问题解决后会补上)、oracle client为例讲讲如何安装(相关...