
ubuntu
光子乘羽
我从来没有长大,也从来没有停止过成长。
展开
-
ubuntu22.04安装pytorch GPU
pytorch原创 2023-03-02 18:47:29 · 528 阅读 · 0 评论 -
Virtualbox+ubuntu安装配置
安装Virtualbox+ubuntu,参考:https://blog.youkuaiyun.com/super828/article/details/117138727安装freesurfer参考:https://blog.youkuaiyun.com/uinglin/article/details/79541063PS:在获取license时我翻墙才获得,不翻墙在提交时注册不了,因为刷不出来“I am not a robot"的验证图片。https://blog.youkuaiyun.com/yoyoxueli123/artic原创 2021-11-12 21:32:13 · 1287 阅读 · 0 评论 -
详解linux下的串口通讯开发
参考:https://www.cnblogs.com/colife/p/5531093.html比较全面,转发一下。串行口是计算机一种常用的接口,具有连接线少,通讯简单,得到广泛的使用。常用的串口是RS-232-C接口(又称EIA RS-232-C)它是在1970年由美国电子工业协会(EIA)联合贝尔系统、调制解调器厂家及计算机终端生产厂家共同制定的用于串行通讯的标准。串口通讯指的是计算机依次以位(bit)为单位来传送数据,串行通讯使用的范围很广,在嵌入式系统开发过程中串口通讯也经常用到通讯方式之一转载 2020-05-18 21:51:49 · 2513 阅读 · 0 评论 -
thinkPad490 win10安装ubuntu18.04
一、制作U盘启动盘去官网下载ubuntu 18.04TSL镜像文件,用UltralSO软件,找一个没用的U盘,用镜像文件制作一个启动盘。详细制作过程请百度,很简单。二、创建硬盘空白分区 可以不进行分区,后面选择和Windows系统安装在一起,会自动分区。所以此步可以跳过。如果这里进行分区,后面选择和Windows系统安装在一起,Ubuntu会自动安装在...原创 2019-07-27 17:40:40 · 5500 阅读 · 0 评论 -
udev规则固定多USB端口号
udev规则固定多USB端口号*/etc/udev/rules.d *KERNEL=="ttyUSB*",ATTRS{idVendor}=="067b", ATTRS{idProduct}=="2303",MODE:="0777", SYMLINK+="serial_download"*KERNEL=="ttyUSB*",ATTRS{idVendor}=="0403",原创 2018-06-27 13:25:14 · 2083 阅读 · 0 评论 -
ubuntu gedit 显示Tab和空格
$sudo apt-get install gedit-plugins[配置]打开Gedit,点击“edit”->"preferences"->"plugins"。找到“Draw Spaces”选项,选中,并点击“configure plugin”,在弹出的窗口中选择“Draw newlines”。OK!...原创 2018-06-06 21:58:20 · 2603 阅读 · 0 评论 -
ubuntu ROS 系统时间同步
时间同步出现这个问题时需要时间同步isi@isi:~/peak-linux-driver-7.6/test$ makemake: *** 警告:文件“Makefile”的修改时间在将来4.8e+08make: 没有什么可以做的为 `all'。make: 警告:检测到时钟错误。您的创建可能是不完整的。下面介绍一下与时间服务器上的时间同步的方法 1. 安装ntpdate工具sudo apt-get ...原创 2018-03-06 16:27:17 · 2334 阅读 · 0 评论 -
windows 上用云主机运行C++程序
使用的是金山云主机。SSH连接Linux云主机 的说明:(需要下载Putty)https://docs.ksyun.com/read/latest/129/_book/connectdamibyssh.html在putty的host name中输入你的公网IP,点击open。登陆用户名,和密码。输入密码,看不见输入不要慌,linux就是这样保护安全的。登陆成功之后就进入了与主机的ubuntu系统。原创 2018-01-17 21:46:18 · 2204 阅读 · 0 评论 -
ubuntu不能挂在U盘:
我的错误:Error mounting /dev/sdb4 at /media/isi/SHUNING: Command-lin。。。exfat。。。安装exfat磁盘格式工具: sudo apt-get install exfat-utils原创 2017-02-26 10:40:02 · 730 阅读 · 0 评论 -
sudo apt-get update有警告
sudo gedit /etc/apt/sources.list换成:deb http://ftp.nankai.edu.cn/ubuntu/ trusty main multiverse restricted universedeb http://ftp.nankai.edu.cn/ubuntu/ trusty-backports main multiverse restricte原创 2017-02-24 22:22:44 · 657 阅读 · 0 评论 -
ubuntu14.04不能上网“没有可用的网络设备”
在Linux中你正在使用的网卡是什么sudo lshw -C network我的是intel的,联想电脑:以下参考:http://blog.chinaunix.net/uid-11829250-id-5748402.html联想服务器ThinkStation P310,在安装完ubuntu14.04(64bit)LTS后,不能上网。这是由于网卡驱动没有安装成功,需要自己原创 2017-02-22 18:54:35 · 9338 阅读 · 0 评论 -
ubuntu安装QQ
下载wineQQhttp://www.ubuntukylin.com/applications/showimg.php?lang=cn&id=2安装wine工具可以利用Ubuntu的软件中心,安装wine工具。也可以先设置软件源,再安装wine工具。设置好后,打开终端,输入一下代码:sudo apt-get updatesudo apt-get instal原创 2016-12-16 10:54:39 · 546 阅读 · 0 评论 -
ubuntu_install问题:The following packages have unmet dependencies:
问题The following packages have unmet dependencies: linux-generic : Depends: linux-headers-generic (= 4.4.0.38.40) but 4.4.0.36.38 is to be installed .........E: Unmet dependencies. Try 'apt-g原创 2016-09-28 21:52:28 · 10015 阅读 · 2 评论 -
ubuntu_Light Table字体及相关设置及使用
https://github.com/LightTable/LightTable/wiki/FAQhttp://docs.lighttable.com/tutorials/full/在view->commands, 输入Settings: User behaviors, 打开一个user.behavior的文档。有一行[:app :lt.objs.style/font-se原创 2016-08-26 16:39:28 · 2155 阅读 · 1 评论 -
ubuntu安装文本编辑器Light Table
Install Light Table IDE:1.) Download Light Table from its homepage2.) For global use, extract the download package and put the result folder to /opt/. sudo mv lighttable-0.8.1-linux /opt/L原创 2016-08-26 16:08:17 · 1753 阅读 · 0 评论 -
ubnutn安装geany
http://www.geany.org/manual/current/index.html#getting-startedhttp://www.geany.org/manual/current/index.html在软件中心就可以安装,或者sudo apt-get install geany可以安装相关插件,我没有装。可参考开头的官网链接。http://wiki.原创 2016-08-26 15:33:26 · 3397 阅读 · 0 评论 -
ubuntu窗口显示的菜单栏从左上角移到窗口上
在settings->appearence->behavior里设置,一看就明白,就是我的外观(appearence)没有装,开始怎么都找不的,然后在然见中心安装了,也是汗。在外观里也可以进行其他如桌面的设置原创 2016-08-26 15:24:17 · 5144 阅读 · 0 评论 -
ubuntu各种方法卸载软件
常用sudo apt-get remove 软件名称 sudo apt-get autoremove 软件名称 浏览已安装的程序。要查看已安装的软件包列表,请输入以下命令。请注意你希望卸载的软件包的名称。dpkg --list卸载程序和所有配置文件。在终端中输入以下命令,把替换成你希望完全移除的程序:sudo apt-get --原创 2016-08-26 14:38:30 · 31411 阅读 · 0 评论 -
ubuntu16。04安裝谷歌等中文輸入法
1,打開終端sudo apt-get install fcitx-googlepinyin2,在settings->Language Support里将keyboard input method system设置为fcitx3,注销系统,再登录在右上角的輸入法標志處點擊,我的textentrysettings進不去啊。但是上面有ConfigureFcitx,點擊進入,左下角原创 2016-08-22 13:37:38 · 1077 阅读 · 0 评论 -
重装win8.1和ubuntu
今天一不小心开机出现了这个问题:(recovery)your pc needs to be repaired然后就重装呗。但是今天的电脑不是昨天的电脑,今天的u盘不是昨天的U盘,就像今天的我不是昨天的我一样。尝试装双系统失败之后,我把C盘甚至D盘都格掉之后开始装,算是回到了起点。装的过程是坎坷的,装win8.1时还好,装ubuntu时直接将系统解压到u盘不行,尽原创 2016-08-21 20:09:00 · 598 阅读 · 0 评论 -
台式机win8.1下装ubuntu16.04双系统,并解决启动项Windows系统消失的问题。
电脑应该是在UEFI下。把从官网上下的系统解压到u盘,然后插到要装的机子上重启。进入第一项,Try Ubuntu without installation,进入后关闭网络,选第一个应用install ubuntu。或者在开始时选第二项install ubuntu,只是这样不能关闭网络,没多大影响。选择语言,继续,如果出现问题,back一下,就会出现安装选项,我选择了第一项和wind原创 2016-08-19 21:31:07 · 3074 阅读 · 0 评论 -
系统卸掉之后开机启动仍有该系统的索引的解决办法_win8.1卸掉ubuntu
下载easyBCD,剩下的看easyBCD界面就懂。原创 2016-08-06 11:01:25 · 514 阅读 · 0 评论 -
E: Unable to locate package...
sudo apt-get install..时出现E: Unable to locate package...解决:sudo apt-get update原创 2015-11-30 11:21:19 · 2422 阅读 · 0 评论 -
如何卸载Ubuntu软件
方法 1: 使用Synaptic软件包管理器进行卸载1打开软件包管理器。Ubuntu自带了一个GUI(Graphical User Interface,图形化用户界面)软件包管理器,它可以让你在一个可视化窗口中卸载程序。如果你不习惯使用命令行,这一工具将非常有用。点击系统,然后选择管理。在管理菜单中,选择Synaptic软件包管理器。某些较新版本的Ubuntu没有预转载 2015-10-16 16:03:02 · 2845 阅读 · 0 评论 -
UNIX Tutorial Eight
UNIX Tutorial Eight 8.1 UNIX VariablesVariables are a way of passing information from the shell to programs when you run them. Programs look "in the environment" for particular variables and if th转载 2015-08-20 18:07:38 · 579 阅读 · 0 评论 -
UNIX Tutorial Seven_下载配置安装软件剥离代码
UNIX Tutorial Seven 7.1 Compiling UNIX software packages We have many public domain and commercial software packages installed on our systems, which are available to all users. However, students转载 2015-08-20 18:05:18 · 578 阅读 · 0 评论 -
UNIX Tutorial Six_Other useful UNIX commands
UNIX Tutorial Six Other useful UNIX commands http://www.ee.surrey.ac.uk/Teaching/Unix/unix6.htmlquotaAll students are allocated a certain amount of disk space on the file system for their转载 2015-08-20 18:03:49 · 449 阅读 · 0 评论 -
UNIX Tutorial Five
UNIX Tutorial Five http://www.ee.surrey.ac.uk/Teaching/Unix/unix5.html5.1 File system security (access rights) In your unixstuff directory, type % ls -l (l for long listing!)You will see t转载 2015-08-20 18:01:29 · 441 阅读 · 0 评论 -
UNIX Tutorial Four
UNIX Tutorial Four http://www.ee.surrey.ac.uk/Teaching/Unix/unix4.html4.1 WildcardsThe * wildcard The character * is called a wildcard, and will match against none or more character(s) in a转载 2015-08-20 17:59:58 · 438 阅读 · 0 评论 -
UNIX Tutorial Three
UNIX Tutorial Three http://www.ee.surrey.ac.uk/Teaching/Unix/unix3.html3.1 Redirection Most processes initiated by UNIX commands write to the standard output (that is, they write to the term转载 2015-08-20 17:56:48 · 367 阅读 · 0 评论 -
UNIX Tutorial Two_files
UNIX Tutorial Two Copying Filescp (copy)cp file1 file2 is the command which makes a copy offile1 in the current working directory and calls it file2What we are going to do now, is to take转载 2015-08-20 16:30:44 · 576 阅读 · 0 评论 -
UNIX Tutorial One_directories
UNIX Tutorial One 1.1 Listing files and directories ls (list) When you first login, your current working directory is your home directory. Your home directory has the same name as your user-name转载 2015-08-20 16:22:43 · 498 阅读 · 0 评论 -
UNIX Introduction
UNIX Introduction What is UNIX? UNIX is an operating system which was first developed in the 1960s, and has been under constant development ever since. By operating system, we mean the suite of转载 2015-08-20 15:47:29 · 522 阅读 · 0 评论 -
ubuntu12.04右上角不显示无线网路标识/电池标识
应该是驱动的问题解决方法:更新下系统就行了点击右上角的符号,点击software up to date.原创 2015-01-23 18:52:50 · 977 阅读 · 0 评论 -
ubuntu12.04不能关机
问题描述:shut down不能关机,而是回到输入密码的界面。解决方法:更新下系统就行了点击右上角的符号,点击software up to date.原创 2015-01-23 18:49:40 · 740 阅读 · 0 评论 -
终端获得root权限的简单方法
终端获得root权限的方法有很多,见学长用的一个比较简单sudo -s原创 2014-12-28 14:59:08 · 2429 阅读 · 0 评论 -
ubuntu12.04查看文件(夹)时间
终端输入 stat 文件(夹)名例:stat /home/hsn/rosdepstat * 可以查看文件夹下所有文件时间原创 2014-12-28 14:55:51 · 2416 阅读 · 0 评论 -
ubuntu12.04切换输入法 及 输入法图标消失的解决方法
打开终端输入killall ibus-daemon 结束ibus进程如果ibus没有运行,会显示:ibus-daemon: no process found然后输入ibus-daemon -d就出来了。另外,打开系统设置/语言支持最下面也有ibus,选择ibus。不知道为什么这个有时候不管用。原创 2014-12-26 16:34:55 · 1973 阅读 · 0 评论 -
ubuntu12.04将tgz文件解压到指定目录
将tgz文件解压到指定目录 tar在linux上是常用的打包、压缩、加压缩工具,他的参数很多,折里仅仅列举常用的压缩与解压缩参数 参数: -c :create 建立压缩档案的参数; -x : 解压缩压缩档案的参数; -z : 是否需要用gzip压缩; -v: 压缩的过程中显示档案; -f: 置顶文档名,在f后面立即接文件名,不能再加参数转载 2014-12-25 16:51:19 · 12287 阅读 · 0 评论 -
ubuntu12.04解压/压缩 文件
tar-c: 建立压缩档案-x:解压-t:查看内容-r:向压缩归档文件末尾追加文件-u:更新原压缩包中的文件这五个是独立的命令,压缩解压都要用到其中一个,可以和别的命令连用但只能用其中一个。下面的参数是根据需要在压缩或解压档案时可选的。-z:有gzip属性的-j:有bz2属性的-Z:有compress属性的-v:显示所有过程-O:将文件解开到标准输出下面的参数-f是转载 2014-12-25 16:48:31 · 1387 阅读 · 0 评论