深度配置

安装环境配置

CRT安装

# 安装ssh
sudo apt-get install ssh

1 安装SecureCRT
sudo dpkg -i scrt-8.3.1-1537.ubuntu16-64.x86_64.deb

2、运行破解脚本,提示破解信息License
sudo perl securecrt_linux_crack.pl /usr/bin/SecureCRT

3 安装CRT
SecureCRT

提示如下:
crack successful

License:

	Name:		xiaobo_l
	Company:	www.boll.me
	Serial Number:	03-94-294583
	License Key:	ABJ11G 85V1F9 NENFBK RBWB5W ABH23Q 8XBZAC 324TJJ KXRE5D
	Issue Date:	04-20-2017

3、运行SecureCRT填写注册信息
(注意填License Key时需要将中间的空格去掉,否则可能报版本号不识别)


安装SecureCRT提示缺少依赖文件libssl1.0.0的解决方法:
因为新版本的系统中都是高版本,而libssl1.0.0在新的更新源里没有了,可以直接去
https://pkgs.org/download/libssl1.0.0下载对应的版本
sudo dpkg -i libssl1.0.0_1.0.1t-1+deb8u8_amd64.deb 

当运行SecureCRT时报错提示缺少libpng12.so.0解决办法:
1、下载libpng12-0_1.2.54-1ubuntu1_amd64.deb进行安装
或
2、直接将libpng12.so.0拷贝到/usr/lib/x86_64-linux-gnu/目录下 
sudo cp libpng12.so.0 /usr/lib/x86_64-linux-gnu/

更换deepin源

# 备份原始
sudo cp /etc/apt/sources.list  /etc/apt/sources.list.back

# 修改原
sudo vim etc/apt/sources.list

# 更换源
## Generated by deepin-installer
deb [by-hash=force] https://mirrors.aliyun.com/deepin/ lion main contrib non-free
#deb-src https://mirrors.aliyun.com/deepin/ lion main contrib non-free

清华源
#删除内容,并添加以下内容:
## Generated by deepin-installer
deb [by-hash=force] https://mirrors.tuna.tsinghua.edu.cn/deepin panda main contrib non-free

# 更新
sudo apt-get update
如果你有需求,执行以下命令更新系统
sudo apt-get upgrade

reboot	

开发配置

安装Python3.6

# 安装依赖环境
sudo apt install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm  libncurses5-dev  libncursesw5-dev xz-utils tk-dev

# 下载安装包

wget https://www.python.org/ftp/python/3.6.8/Python-3.6.8.tgz

# 解压
tar xvf Python-3.6.8.tgz

# 配置

cd Python-3.6.8
./configure --enable-optimizations

# 编译安装
sudo make -j 4  && sudo make install

更换pip源

# 更新pip
sudo pip3 install --upgrade pip

sudo mkdir ~/.pip
sudo vim ~/.pip/pip.conf
	# 1
	[global]
	index-url =  https://mirrors.aliyun.com/pypi/simple
	
	# 两个都行
	[global]
    index-url = https://pypi.douban.com/simple
    [install]
    use-mirrors =true
    mirrors =https://pypi.douban.com/simple/
    trusted-host =pypi.douban.com

	

安装Python虚拟环境

pip3 install virtualenv 

pip3 install virtualenvwrapper


# 存放虚拟环境
mkdir $HOME/.virtualenv

sudo vim ~/.bashrc
	
    export WORKON_HOME=$HOME/.virtualenvs	# 虚拟环境工作目录
    export VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python3	# python3解释器
    export VIRTUALENVWRAPPER_VIRTUALENV=/home/test/.local/bin/virtualenv	# 虚拟环境配置路径
    
    # 2.如果找不到,可以用下面命令查找路径
	sudo find / -name "virtualenv"
	
    source /home/test/.local/bin/virtualenvwrapper.sh


source ~/.bashrc

虚拟环境安装

redis

sudo apt-get install redis-server -y

Git

sudo apt-get -y install git

MySQL

# 安装之前一定要换源
sudo apt-get install mysql-server -y

sudo cat /etc/mysql/debian.cnf
Automatically generated for Debian scripts. DO NOT TOUCH!
[client]
host     = localhost
#用户名密码
user     = debian-sys-maint
password = VPgo7lfDrISsIP9u
socket   = /var/run/mysqld/mysqld.sock
[mysql_upgrade]
host     = localhost
user     = debian-sys-maint
password = VPgo7lfDrISsIP9u
socket   = /var/run/mysqld/mysqld.sock

mysql -udebian-sys-maint -pVPgo7lfDrISsIP9u

use mysql;
update user set plugin="mysql_native_password",authentication_string=password('root') where user="root";

FLUSH PRIVILEGES;

sudo vim /etc/mysql/mysql.conf.d/mysqld.cnf
在mysqld节点,添加以下:
character-set-server = utf8

sudo systemctl restart mysql.service

show variables like 'char%'; 

美化

软件安装

  • QQ
  • 微信
  • Pycahrm
  • typora
  • notepad
  • postman
  • DBeaver
  • 网易云音乐
  • 虚拟机
  • GNS3

dock栏安装

# 设置开机启动
sudo apt-get install -y plank

# 默认dock栏模式更改为高效模式 位置在上 开启系统特效模式

# plank

安装ctrl + 鼠标右键 选择模式透明模式

# 设置完毕重启

桌面特效

sudo apt-get install -y systemsetings

# 桌面行为

# 桌面特效

Glide

magic lamp

wobby windows

zsh主题

# 安装
sudo apt-get install -y zsh curl

# 下载 推荐第一种
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"

wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O - | sh

# 如第一种不可用
chsh -s /bin/zsh

chmod -R 777 .oh-my-zsh 


	# 查看主题
ls ~/.oh-my-zsh/themes


# 修改主题
sudo vim ~/.zshrc
	# 配置最前面
	ZSH_DISABLE_COMPFIX="true"
	ZSH_THEME="ys"	# 修改主题
source ~/.zshrc	# 配置生效

# 自动补全插件
git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions

# 语法高亮
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting

# 编辑~/.zshrc文件将然后将插件引用命令写入该文件最后一行(必须)
sudo vim ~/.zshrc
	source "$ZSH_CUSTOM/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
source ~/.zshrc

# 自动跳转
# clone 到本地
git clone git://github.com/joelthelion/autojump.git
# 进入clone目录,接着执行安装文件
cd autojump
./install.py
# 接着根据安装完成后的提示,在~/.zshrc最后添加下面语句:
sudo vim ~/.zshrc    
[[ -s /home/misfit/.autojump/etc/profile.d/autojump.sh ]] && source /home/misfit/.autojump/etc/profile.d/autojump.sh

# 启用插件
sudo vim ~/.zshrc
	plugins=( git 
            autojump 
            zsh-autosuggestions 
            zsh-syntax-highlighting
            )
   source ~/.zshrc         

zsh

图标美化

美化地址

配置网速

深度论坛搜索网速

虚拟机安装

chmod +x VMware-Workstation-Full-15.5.0.x86_64.bundle
sudo ./VMware-Workstation-Full-15.5.0.x86_64.bundle

UZ792-DHF8J-M81XP-MGM5T-MCAF2
UY758-0RXEQ-M81WP-8ZM7Z-Y3HDA
VF750-4MX5Q-488DQ-9WZE9-ZY2D6
UU54R-FVD91-488PP-7NNGC-ZFAX6
YC74H-FGF92-081VZ-R5QNG-P6RY4
YC34H-6WWDK-085MQ-JYPNX-NZRA2

CG54H-D8D0H-H8DHY-C6X7X-N2KG6
 
ZC3WK-AFXEK-488JP-A7MQX-XL8YF
 
AC5XK-0ZD4H-088HP-9NQZV-ZG2R4
 
ZC5XK-A6E0M-080XQ-04ZZG-YF08D
 
ZY5H0-D3Y8K-M89EZ-AYPEG-MYUA8

虚拟机安装

posted @ 2020-08-23 01:49  SR丶  阅读(196)  评论(0)    收藏  举报