go System Setting -->software & updates -->(不用勾选source code) --> choose a download server 自己会定位选择一个最好的源,一般是阿里云,选完close就好了
Ubuntu刚安装后,不能在terminal中运行su命令,需要手动设定
open terminal
sudo passwd root
Enter new UNIX password:
Retype new UNIX password:
去除密码:`sudo passwd-l root`
参考教程 https://blog.csdn.net/Areigninhell/article/details/79696751
cd Downloads/
wget "http://cdn2.ime.sogou.com/dl/index/1524572264/sogoupinyin_2.2.0.0108_amd64.deb?st=tQdHKEaxh6PcyFVf4QfT1A&e=1539855246&fn=sogoupinyin_2.2.0.0108_amd64.deb"
`ls`
`sudo dpkg -i sogou[Tab]`
`sudo apt-get install -f `
go System Setting --> Language Support --> change iBus to fcix
go terminal and reboot
重新启动以后,你会发现在屏幕右上方有了企鹅输入fcitx ——> 右键小企鹅,选择configureFcitx -->添加搜狗输入法 ——>+ ——> 搜索sogou 重启
https://support.typora.io/Typora-on-Linux/
sudo apt-get install git
下载 https://www.wps.cn/product/wpslinux/
sudo dpkg -i 下载来的wps包
下载链接:
https://pan.baidu.com/s/149i6y6OOdLeZWCwTLPschg 提取码: twzs 复制这段内容后打开百度网盘手机App,操作更方便哦,
解压出来cd到上一级路径,百度网盘下载压缩包要会员,需要解压出来的可以Q我:3023427335
sudo mkdir /usr/share/fonts/wps-office
sudo cp wps_symbol_fonts /usr/share/fonts/wps-office
报错:
这是由于第一个directory 下面还有目录,无法直接拷贝
加上 -r recursive 递归 即可
sudo cp -r /test1 /test2
sudo apt-get install exfat-utils
Seetings --> Keyboard --> shortcuts --> Custom Shortcuts --> + -->
Name:screenshot; Command:终端启动命令,这里填:gnome-screenshot -a -->Apply
点击Disabled 按下 Ctrl +Alt +Z 三个键
sudo apt install unzip
unzip FileName.zip 出错的话直接安装后手动解压
sudo apt install unrar
unrar x FileName.zip
sudo apt-get install xxx
如果显示 E: Unable to locate package xxx
先sudo apt update
一下
step1:添加源镜像 sudo add-apt-repository ppa:mystic-mirage/pycharm
step2:sudo apt update
step3:sudo apt-get install pycharm
sudo apt-get install pycharm-community
pycharm 的Theme设置为Darcula才是深色背景,默认白色
字体设置成DejaVu Sans Mono
sudo apt-get install mysql-server
sudo apt-get install mysql-workbench
mysql -uroot -pxxx
进入mysql后:use mysql
update user set host='%' where user='root';
flush privileges
终端重启service mysql restart