ubuntu
大海Online
无
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
ubuntu 注册 wins
以下是为了让ubuntu进入windows网络,实现互ping,互连 1. ubuntu进入windows网络,必须安装samba [code="shell"] sudo apt-get install samba [/code] 2. 修改/etc/samba/smb.conf, 将wins server修改为正确的ip 可以在windows上, 敲入ipconf...原创 2013-11-06 12:17:41 · 387 阅读 · 0 评论 -
ubuntu 五笔
ubuntu 使用五笔输入法 ubuntu 13.10 测试通过 [list] [*]sudo apt-get install ibus-table-wubi [*]ibus-daemon -x -r -d [*]选择五笔输入,生效 [/list] 使用SHIFT+SPACE切换全半角 使用SHIFT切换中英文输入 ...原创 2013-11-04 15:36:05 · 181 阅读 · 0 评论 -
pycompile not found
sudo apt-get remove python 后, 出现了很多错误, 导致后续的无法进行 pycompile not found 解决方案: 删掉 /usr/bin/pycompile, 然后继续apt-get -f install / remove gconf2 not found 错误 sudo dpkg-reconfigure gconf2 sudo apt...原创 2013-10-17 16:10:18 · 1423 阅读 · 0 评论 -
ubuntu 与 windows 的互联与共享
[size=x-large]windows访问ubuntu[/size] 1. ubuntu 安装 samba [code="shell"] sudo apt-get install samba [/code] 2. 修改 /etc/samba/smb.conf文件 [code="conf"] [global] workgroup = WORKGROUP ...原创 2013-02-21 18:23:21 · 384 阅读 · 0 评论 -
下列签名无效: NODATA 1 NODATA 2
ubuntu下 apt-get update 时,报错 下列签名无效: NODATA 1 NODATA 2 原因是: 网络连接出错了, 对应的网址连不上去 比如: archive.ubuntu.com, 连接不上, 可换成 cn.archive.ubuntu.com 或者: 网络有代理, 什么的被拦截了 ...原创 2013-07-15 11:42:33 · 773 阅读 · 0 评论 -
wget 整站下载
下载整站 [code="shell"] wget -r -nv --restrict-file-names=nocontrol http://seavers.iteye.com/ [/code] 下载时可以加 -np, 不下载父目录 [code="shell"] wget -r -nv --restrict-file-names=nocontrol -np http://seave...原创 2013-11-26 10:22:13 · 4409 阅读 · 0 评论 -
curlftpfs
多数curlftpfs的例子是这样的 [code="shell"] sudo curlftpfs –o rw,allow_other ftp://username:password@192.168.1.111 /ftp [/code] 这种写法,有一个缺点,就是,当mount查看时, 会显示出密码 换成另一种写法吧: [code="shell"] sudo curlf...原创 2013-06-21 22:06:21 · 715 阅读 · 0 评论 -
umount
mount nfs后, 如果遇到服务器修改 /etc/exports 等原因时,经常会遇到 [code="text"] umount2: Stale NFS file handle umount: htdocs: Stale NFS file handle [/code] 或者 [code="text"] /var/www/html was not found in /proc/mo...原创 2013-06-21 13:53:56 · 222 阅读 · 0 评论 -
ubuntu ipconfig
sudo vi /sbin/ipconfig [code="bash"] #! /bin/bash for word in `ifconfig eth0 | grep "inet addr" | sed 's/ inet addr/addr/g'`; do echo $word | sed 's/:/\t/g'; done route -n | awk '/UG/ ...原创 2013-11-06 13:45:35 · 2076 阅读 · 0 评论 -
linux进阶命令
linux版本:uname -ar cpu信息: cat /proc/cpuinfo mem信息: cat /proc/meminfo apache日志,过滤IP,并按照IP的次数倒排序 cat 2011-01-05-access.log | awk '{print $1}' | sort | uniq -c | sort -k1,1nr 同理,有于 url, referer...原创 2011-01-05 20:11:44 · 143 阅读 · 0 评论 -
ubuntu 无法载入支持的服务器方式列表 请检查您的gvfs安装
[size=large]ubuntu "无法载入支持的服务器方式列表 请检查您的gvfs安装" 的解决方案[/size] 碰到两次这个错误了,记录下解决方案 [code="shell"] sudo apt-get remove gvfs sudo apt-get install ubuntu-desktop [/code] 原因不明,重装解决问题 补: 如果有些ub...原创 2013-05-08 11:10:56 · 1584 阅读 · 0 评论 -
批量转换GBK到UTF-8
[size=x-large]批量转换GBK到UTF-8[/size] [code="shell"] find src | grep ".java" | grep -v ".svn" | xargs -I% echo "iconv -f GBK -t UTF-8 % > %.temp " | bash find src | grep ".java" | grep -v ".svn&qu原创 2013-05-02 18:58:44 · 219 阅读 · 0 评论 -
ubuntu下的apache
最近仔细的研究了下ubuntu的apache ubuntu下的apache跟其它操作系统下的apache, 有很大的区别 ubuntu下安装apache [code="shell"] sudo apt-get install apache2 [/code] ubuntu下启用apache的模块 [code="shell"] sudo a2enmod [/c...原创 2013-04-06 15:06:32 · 180 阅读 · 0 评论 -
ubuntu下安装phpmyadmin
其实ubuntu下安装phpmyadmin很简单 [code="shell"] sudo apt-get install phpmyadmin [/code] 然而,装完之后的配置, 就让人容易出错了 起初我一直在修改 /usr/share/phpmyadmin/config.inc.php 然而,不是的,正确的位置在 /etc/phpmyadmin/config.inc....原创 2013-04-01 23:22:39 · 215 阅读 · 0 评论 -
ubuntu 支持无线网卡
在cubieboard上测试了下无线网卡, ubuntu上也应该是适用的 要求: [code="shell"] sudo apt-get install wpasupplicant [/code] 插上无线网卡后, 在ifconfig里看到了wlan0 然后在 /etc/network/interfaces 里添加四行即可, 完整的见下 [code="conf"] ...原创 2013-03-26 08:23:56 · 701 阅读 · 0 评论 -
ubuntu name server
我们在ubuntu下经常会遇到以下问题 1. windows下ping ubuntu的机器名ping不到 2. ubuntu下ping windows下的机器名 ping 不到 3. ubuntu下ping ubuntu下的机器名ping不到 以上就是碰到了name server的问题了 首先, 我们要理清楚以下几个问题 1. windows是如何根据name寻找ip的...原创 2013-03-23 14:47:50 · 2487 阅读 · 0 评论 -
ubuntu 下使用 tf 卡
记录下,在ubuntu下使用tf卡的问题 在ubuntu使用了下tf卡,在windows下使用读卡器正常, 在ubuntu下就变成63M了 使用 [code="shell"] sudo fdisk /dev/sdb [/code] 之后为交互式的命令行操作 [list] [*]使用p显示当前分区情况 [*]使用d命令删除了所有的分区 [*]使用o命令改为兼容的分区表结构...原创 2013-03-20 16:45:47 · 1190 阅读 · 0 评论
分享