下面分享几个可以提升Linux使用流畅的小技巧
文章目录
linux改源(图形化:直接在soft 管理 选择其他源)
为了提高下载速度,这里更改源下载地址为阿里的
下面是整个source文件,可直接替换掉
/etc/apt/sources.list
**
> deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted > deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted >deb http://mirrors.aliyun.com/ubuntu/ xenial universe >deb http://mirrors.aliyun.com/ubuntu/ xenial-updates universe > deb http://mirrors.aliyun.com/ubuntu/ xenial multiverse > deb http://mirrors.aliyun.com/ubuntu/ xenial-updates multiverse** > deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse > deb http://archive.canonical.com/ubuntu xenial partner > deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted >deb http://mirrors.aliyun.com/ubuntu/ xenial-security universe > deb http://mirrors.aliyun.com/ubuntu/ xenial-security multiverse > deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted multiverse universe #Added by software-properties > deb-src http://archive.ubuntu.com/ubuntu xenial main restricted #Added by software-properties > deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted multiverse universe #Added by software-properties > deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted multiverse universe #Added by software-properties > deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse #Added by software-properties > deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable > > deb-src [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable > > deb-src http://archive.canonical.com/ubuntu xenial partner
pip使用豆瓣的镜像源
pip3 install -i https://pypi.doubanio.com/simple/ tensorflow
参考地址:https://www.cnblogs.com/baijinshuo/p/10195049.html
环境变量编辑 .bashrc
如往.bashrc 文件中加入 conda activate py35
每次启动默认进入py35环境
下载搜狗输入法等 安装fcitx扩展工具
设置共享文件夹 (直接使用vmware tools拖拽)
设置共享文件夹就可以不用通过邮箱等传递文件了
5.进入虚拟机,安装VMware Tools
然后右键用终端打开。也可以先将其拷贝到linux里面,然后进入该目录
6.解压
tar zxvf VMwareTools-10.1.15-6627299.tar.gz
cd vmware-tools-distrib/
./vmware-install.pl
7.至此,在/mnt/hgfs/下应该就能看到刚才在虚拟机中设置的windows下的共享文件夹share了
8.最好创建一个软连接到home目录,方便进入共享目录
如,新建ishare文件夹
cd /mnt/hgfs
ln -s /mnt/hgfs/share/ ~/ishare
更改虚拟机用户名和密码
https://blog.csdn.net/hfutdog/article/details/88071958