
ubuntu
iteye_7121
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
ubuntu etc中没有hosts文件
修改ubuntu下的hosts文件 Ubuntu系统的Hosts只需修改/etc/hosts文件,在目录中没有hosts文件,修改完之后要重启网络。具体过程如下:1、查找到并修改hostssudo gedit /etc/hosts2、更改hosts文件(解压码:laod.cn) Android安卓跟Linux系列.zip 3、保存后重启网络 sudo /etc/init.d/netwo...原创 2015-12-21 13:15:36 · 3191 阅读 · 0 评论 -
ubuntu中root切换
1.从user用户切换到root 当我们需要执行一些具有root权限的操作(如修还系统文件)时,经常需要用sudo授权,感觉很麻烦。此时我们可以切换到root用户,只需要执行sudo su ubuntu的root用户时没有固定密码的,它的密码是随机产生并且动态改变 的,貌似是每5分钟改变一次,所以用su(switch user)是不可以的,因为我们不知道root的密码 2....原创 2016-12-12 14:39:02 · 254 阅读 · 0 评论 -
E: Sub-process /usr/bin/dpkg returned an error code (100)
进入 http://archive.ubuntu.com/ubuntu/pool/main/d/dpkg/网址下载你需要的包。 mkdir /tmp/dpkg cd /tmp/dpkg wget http://archive.ubuntu.com/ubuntu/pool/main/d/dpkg/dpkg_1.15.5.6ubuntu4_i386.deb ar x dpkg*.deb...原创 2016-11-24 11:47:56 · 367 阅读 · 0 评论 -
ubuntu apt-get安装和卸载
命令 最佳卸载命令apt-get remove packagename --purge && apt-get autoremove --purge && apt-get clean 卸载程序(包括配置文件)、卸载依赖、删除/var/cache/apt/archives下所有安装包 最佳升级软件命令apt-get update &&...原创 2016-11-22 17:35:44 · 1776 阅读 · 0 评论 -
64位ubuntu sudo:add-apt-repository:command not found 问题
安装java8的时候,执行第一步报了sudo:add-apt-repository:command not found的错误。 经查找解决方案是,执行命令:add-apt-repository 的时候,除了要安装python-software-properties外还需要software-properties-common。 执行:sudo apt-get install softwar...原创 2016-11-21 15:44:27 · 200 阅读 · 0 评论 -
安装源配置文件“/etc/apt/sources.list”第 59 行有错误(发行版解析)
原因:sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner 解决:root 身份修改“/etc/apt/sources.list” 即可解决,如果是上述原因造成,则新增空格即可。 打开文件: sudo gedit /etc/apt/sources.list 修改文件59行: deb http:...原创 2016-02-19 09:56:50 · 807 阅读 · 0 评论 -
Ubuntu下彻底卸载mysql
1.卸载 mysql sudo apt-get autoremove --purge mysql-server-5.0sudo apt-get remove mysql-serversudo apt-get autoremove mysql-serversudo apt-get remove mysql-common 2.清理残留数据 dpkg -l |grep ^r...原创 2016-02-16 13:39:58 · 226 阅读 · 0 评论 -
ubuntu查看mysql版本的几种方法
mysql 1:在终端下:mysql -V(大写) //代码 $ mysql -V mysql Ver 14.14 Distrib 5.5.46, for debian-linux-gnu (i686) using readline 6.3 2:在mysql中:mysql> status;(引号要加) //代码 进入mysql 1.没有用户的 $ my...原创 2016-02-03 17:10:10 · 2022 阅读 · 0 评论 -
ubuntu下安装qq国际版
下载链接: http://www.ubuntukylin.com/applications/showimg.php?lang=cn&id=23 1.安装依赖库: 在终端输入: sudo apt-get install libgtk2.0-0:i386 如果是64位系统还要安装ia32-libs, 我们选择安装lib32ncurses5, 因此在终端输入 sudo ap...原创 2016-01-07 09:56:14 · 206 阅读 · 0 评论 -
ubutnu 安装MongoDB
安装MongoDB有好几种安装方法,我这里分享的是安装包安装。 MongoDB提供了linux平台上32位和64位的安装包,你可以在官网下载安装包。 下载地址:https://www.mongodb.com/download-center#community 选择要下载的版本之后,会生成一个下载链接。 1.下载 举个例子(64位安装包): curl -O https://fastd...原创 2017-02-21 11:50:08 · 177 阅读 · 0 评论