![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux
二儿娃
这个作者很懒,什么都没留下…
展开
-
chrony, ntp, 同步
cuhk ntp server http://support.ntp.org/bin/view/Servers/NtpCuhkEduHk$ sudo ntpdate -u ntp.cuhk.edu.hk$ sudo /etc/init.d/ntp restart原创 2013-06-03 21:00:11 · 1587 阅读 · 0 评论 -
apt-get update errors
'E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_intrepid_universe_binary-amd64_Packages,E:The package lists o原创 2013-10-10 19:21:03 · 329 阅读 · 0 评论 -
/usr/bin/ld: cannot find -lrt-wmp
1. find librt-wmp.a$ find . -name librt-wmp.a$ md5 filename$ file filename2. /ros_rt_wmp/$mkdir bin$ cp rt-wmp/lib/librt-wmp.a bin/3. /ros_rt_wmpvi CMakefileadd:原创 2013-08-08 16:33:47 · 841 阅读 · 0 评论 -
ubuntu reinstall system without format /home
ubuntu12.04系统,直接安装就不会删除/home, 甚至是/home没有单独分区。但是要保存之前所有ap-get install的软件,需要如下命令保存list, 并且在新系统下可以几条命令重新安装所有。Create a backup of what packages are currently installed:sudo dpkg --get-selections >原创 2013-10-20 21:22:17 · 547 阅读 · 0 评论 -
svn item is out of date
Q: *.tex file is out of dateA: as the following steps1. delete the *.tex in somewhere else.2. current path: svn resolved /path/to/dir/or/filesvn update --force /path/to/dir/or/filesvn原创 2013-10-30 14:37:16 · 520 阅读 · 0 评论 -
Ubuntu: software backup and reinstall
#backup apt system and recoveryA quick way of backing up a list of programs is to run this:dpkg --get-selections > ~/Package.listsudo cp /etc/apt/sources.list ~/sources.listsudo apt-key export原创 2013-11-18 11:31:34 · 917 阅读 · 0 评论 -
解决: could not write bytes broken pipe ubuntu
在window, ubuntu的双系统中,grub无法正常进入ubuntu, 报如题的错误,解决办法:sudo apt-get updatesudo apt-get purge nvidia-*sudo apt-get install invida-current-updates原创 2013-11-18 21:38:22 · 1017 阅读 · 0 评论 -
PgAdmin3访问远程server database
如图所示,单击左上角的类似电源插头的按钮,出现上层的对话框,如图填写信息,添加远程server的数据库。原创 2013-11-18 23:24:57 · 1828 阅读 · 0 评论 -
PSQL快速入门(二)
1. 数据库的读取用户必须和建立用户是用一个,才能够正常检索到数据.2. PSQL是可以通过large objects的方式存储大数据在表中. (相关介绍如下:)http://michael.otacoo.com/postgresql-2/playing-with-large-objects-in-postgres/其中, large objects是原始数据, table原创 2013-11-19 20:11:46 · 794 阅读 · 0 评论 -
Install Matlab in Ubuntu 12.04
First make a mount point, which is just a folder. For example:mkdir /media/mathworksThen mount the downloaded ISO to that directory. For this example, the ISO is in the home folder under the downl原创 2014-07-18 20:02:31 · 497 阅读 · 0 评论 -
dpkg: dependency problems prevent configuration of initramfs-tools
Try using dpkg directly:dpkg --configure -aIf this still complains about dependencies, trydpkg --configure -a --force-depends转载 2014-12-19 14:59:47 · 666 阅读 · 0 评论 -
加载laptop Aspire one (acer) 的wifi内核模块
查找laptop的wifi内核模块:$ modprobe原创 2014-04-15 16:54:03 · 527 阅读 · 0 评论 -
To restore Nautilus' split screen (F3) feature (找回F3分隔文件夹窗口) in Ubuntu 14.04
The simplest option is to change file managers. Nemo is quite similar to what Nautilus used to be.sudo add-apt-repository ppa:webupd8team/nemosudo apt-get updatesudo apt-get install nemo nem翻译 2015-04-20 16:23:27 · 828 阅读 · 0 评论 -
Dell m4800 装Ubuntu 14.04 无线网卡驱动的问题
由于系统驱动问题,DELL M4800安装Ubuntu 14.04找不到wifi模块,需要更新驱动。步骤如下:Update of the driver : sudo apt-get updatesudo apt-get --reinstall install bcmwl-kernel-source如果还没找到wifi,在官网下载最新的驱动,编译。按照翻译 2015-04-21 19:49:12 · 2423 阅读 · 0 评论 -
用uvc_camera pkg和webcam 发/image_view
Install Camera Drivers to work with ROS:$ sudo apt-get install ros-fuerte-camera-umdcheck pkg$ roscd uvc_cameracheck the web camera$ ls /dev/video*then come out:/dev/video0launch uvc_cam原创 2013-08-10 14:29:58 · 1807 阅读 · 0 评论 -
Change boot from windows to USB on ASUS x202e
1. Please enter the BIOS (press and hold F2 key when power on). 2. Switch to “Boot” and set “Lunch CSM” toEnabled. 3. Then switch to “Security” and set “Secure Boot Control” toDisabled.原创 2013-08-12 14:43:11 · 777 阅读 · 0 评论 -
uninstall make install
0. $ make clean1. $ sudo make uninstall *2. $ sudo make -n install *原创 2013-06-03 21:04:57 · 599 阅读 · 0 评论 -
修改网卡名字
cd /etc/udev/rule.d/sudo vi 70-persistent-net.rules修改# USB device 0x7392:0x7811 (usb)SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="80:1f:02:35:89:2e", ATTR{dev_id}=="0x0",原创 2013-07-12 11:53:36 · 688 阅读 · 0 评论 -
linux查看ubuntu版本,内核版本,系统位数,gcc版本
1. 查看linux版本user@username:~$cat /etc/issueUbuntu 11.04 \n \l 2. 查看内核版本1) user@username:~$ cat /proc/versionLinux version 2.6.38-13-generic (buildd@rothera) (gcc version 4.5.2 (Ubuntu/Linar原创 2013-07-12 11:54:44 · 581 阅读 · 0 评论 -
Ubuntu change user name
$ vi /etc/hostnamechange the oldname to newname原创 2013-07-16 13:50:51 · 1045 阅读 · 0 评论 -
How to run a script in ubuntu?
To run a shell script you first give it permissions:chmod u+x nameofthescriptThen you run it. Assuming you're in the directory where the script is:./nameofthescriptIf it needs to run w原创 2013-07-04 11:04:59 · 554 阅读 · 0 评论 -
RT-WMP 1. Installation
Note: 交叉编译(以下所有操作 如果没有特殊说明一般的命令都是在laptop上运行的, 再拷贝到epuck上)总结,交叉编译就是把 所有应该用gcc的地方换成arm-linux-gcc.需要在32-bit上面运行, 64位主要的问题是由于编译器不同,导致那个sniffer在显示的时候有问题. 对于kernel编译方面没什么影响. PS: 怎么查看本机cpu是几位的呢?命令:原创 2013-07-04 11:06:11 · 670 阅读 · 0 评论 -
Screen用法
1. Ctrl-a c 打开新的terminal窗口2. Ctrl-a space 不同的窗口之间的切换3. Ctrl-a r 恢复之前由于网络\串口连接中断的窗口查询 screen 用法:$ man screen原创 2013-07-04 18:36:05 · 467 阅读 · 0 评论 -
ubuntu下更改时间和时区的命令
用 $date nnddhhmmyyyy.ss就可以把时间设到写的时间了.nn with two digit month (e.g. 01, 05, 12),dd with two digit day (e.g. 02, 24, 31),hh with two digit hour in 24 hour clock format ( 00, 03, 23), y原创 2013-07-20 21:13:47 · 556 阅读 · 0 评论 -
minicom missing characters when display
Q: When I am trying to debug robot by minicom connection with a desktop, there are characters missing in display.A:It maybe because several terminals are opened for minicom. Just close the原创 2013-07-04 15:16:10 · 460 阅读 · 0 评论 -
chronyc
关于chrony的同步完成不是等5分钟那么简单。是需要$ chronyc-n sources看对应的server前是不是变成星号了 也可以用$ chronyc -n tracking看一下现在与server之间的时间差 或$chronyc后在输入界面里用makestep命令强制当前时间改为server的时间,但是误差会比较大.epuck setup in /etc/chro原创 2013-07-12 11:24:58 · 5526 阅读 · 0 评论 -
symbolic link
creat:$ ln -s original_file new_fileremove$unlink net_file原创 2013-08-08 11:01:33 · 430 阅读 · 0 评论 -
修改ubuntu username
sudo vi /etc/hostname原创 2013-08-09 14:31:08 · 899 阅读 · 0 评论 -
easy_install, pip installation
easy_install installation:$ sudo apt-get install python-setuptoolsTo check the version number of easy_install.$ easy_install --versionTo install pip run:$ sudo easy_install pip原创 2013-08-10 11:44:09 · 554 阅读 · 0 评论 -
在Ubuntu 14.04上装teamviewer
问题: Installed Teamviewer using a 64-bits system, but I get a dependency error解决方法:首先, 下载:wget http://www.teamviewer.com/download/teamviewer_linux.deb用Gdebi安装:sudo dpkg --add-ar翻译 2015-04-29 14:10:59 · 1711 阅读 · 0 评论