Ubuntu16.04 Using Note
I meet lots of problems when i installed and use ubuntu 16.04.below is my using note:
(my operating system is english, so i use english and let this as an exerices.: )
1. First probelm : su: Authentication failure
Open Terminal Window and input command of su,then input the pass, but is return an error : su:Authentication failure.
the resolution is input command:sudo passwd root and input the new pass.then ur can resolve it.
2. Update the system:
use command : apt-get update then apt-get upgrade
It maybe useing half an hour to get info and soft from internet.
3.Install Sogoupinyin
Download the deb file of sogou from official website.
double click the deb file to install it.
4.Install Chrome
1 2 3 4 5 6 7 8 | //1.download the deb package //32bit sys wget https: //dl.google.com/linux/direct/google-chrome-stable_current_i386.deb //64bit sys wget https: //dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb //2. install it sudo dpkg -i google-chrome*; sudo apt- get -f install |
After instasll u can serch chrome in ubuntu.
5.Install Git
git is usefull for programmer!
if u dot install git. u can use the command sudo apt-get install git to install it.
6.use python3.5 instead of python2.7
1 2 3 4 | sudo apt-get instsall python3 -- install cd /usr/bin sudo rm -rf python --delete old sudo ln -s /usr/bin/python3 .5 /usr/bin/python -- replace and set py3.5 is default |
7.Install Django
1 2 | sudo apt-get install python-pip //if u use python3 apt-get install python3-pip sudo pip install Django -- pip install Django==1.11 |
8.Install MySql
1 2 3 4 | sudo apt-get install mysql-server sudo apt-get install mysql-client sudo apt-get install libmysqlclient-dev sudo apt-get install python-dev<br> sudo apt-get install mysql-workbench |
9.resolve error :E: Sub-process /usr/bin/dpkg returned an error code
1 2 3 4 5 6 7 | sudo mv /var/lib/dpkg/info /var/lib/dpkg/info .bak // 现将info文件夹更名 sudo mkdir /var/lib/dpkg/info // 再新建一个新的info文件夹 sudo apt-get update apt-get -f install xxx sudo mv /var/lib/dpkg/info/ * /var/lib/dpkg/info .bak sudo rm -rf /var/lib/dpkg/info // 把自己新建的info文件夹删掉 sudo mv /var/lib/dpkg/info .bak /var/lib/dpkg/info // 把以前的info文件夹重新改回名字 |
11.Install sublime-text3
1 2 3 4 5 6 7 8 9 | sudo add-apt-repository ppa:webupd8team /sublime-text-3 sudo apt-get update sudo apt-get install sublime-text-installer //uninstall sublime text : sudo apt-get remove sublime-text-installer |
10.Delete file/Directory
sudo rm xxFile
sudo rm -r xxDirectory
11.change authority
1 | sudo chmod -R 777 xxdirectory/filename |
12.Install FlashPlayer
1 2 3 4 5 | 执行解压命令:tar -zxvf install_flash_player_11_linux.x86_64.tar.gz sudo cp libflashplayer.so /usr/lib/firefox/browser/plugins 执行命令:sudo cp -r usr/* /usr 安装完成,重启下firefox即可正常使用观看视频了。 |
12.Install
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· .NET Core GC压缩(compact_phase)底层原理浅谈
· 现代计算机视觉入门之:什么是图片特征编码
· .NET 9 new features-C#13新的锁类型和语义
· Linux系统下SQL Server数据库镜像配置全流程详解
· 现代计算机视觉入门之:什么是视频
· Sdcb Chats 技术博客:数据库 ID 选型的曲折之路 - 从 Guid 到自增 ID,再到
· 99%的人不知道,桥接模式失败的真正原因是它!
· .NET Core GC压缩(compact_phase)底层原理浅谈
· Winform-耗时操作导致界面渲染滞后
· Phi小模型开发教程:C#使用本地模型Phi视觉模型分析图像,实现图片分类、搜索等功能