随笔分类 -  linux

摘要:(如果不想折腾arch linux,推荐直接使用 manjaro: https://manjaro.org/ ) 1、安装准备 Arch Linux 能在任何内存空间不小于 512MB 的 x86_64 兼容机上运行。用 base 组内的软件包进行的基本安装将占用小于 800MB 的存储空间。由于安 阅读全文
posted @ 2018-05-09 15:57 微信公众号--共鸣圈 阅读(2866) 评论(0) 推荐(0) 编辑
摘要:最简单最常用的方法是,使用如下命令更新到新的版本: 但是这个方法有时候不一定能起作用,那么可以使用以下直接替换的命令: 对于 Linux Mint, 使用如下代码: 可能还需要看看是否还有其它文件需要更新: 最后: 阅读全文
posted @ 2018-05-02 09:34 微信公众号--共鸣圈 阅读(430) 评论(0) 推荐(0) 编辑
摘要:安装: 安装完毕后,可能没法关机及logout,可以使用如下安装: 如果还是不能关机和logout,则用下面的试试: 如果需要看是否要移除 clipit,它可能带有不安全因素。 如果由于ubuntu版本太老而无法用apt-get安装,可以先加入: lxde 下交换ctrl及caps lock的方法: 阅读全文
posted @ 2018-05-01 22:09 微信公众号--共鸣圈 阅读(3696) 评论(0) 推荐(0) 编辑
摘要:Add the below line (with tweaks) to the end of /etc/crontab: At 23:30 (11:30 PM), the kiosk will shut down. No matter what user is logged in, the shut 阅读全文
posted @ 2018-03-23 16:24 微信公众号--共鸣圈 阅读(189) 评论(0) 推荐(0) 编辑
摘要:鉴于自己的毕设需要使用GPU CUDA这项技术,想找一本入门的教材,选择了Jason Sanders等所著的书《CUDA By Example an Introduction to General Purpose GPU Programming》。这本书作为入门教材,写的很不错。自己觉得从理解与记忆 阅读全文
posted @ 2018-01-19 15:00 微信公众号--共鸣圈 阅读(3381) 评论(0) 推荐(0) 编辑
摘要:https://github.com/prem30488/C2CUDATranslator http://www.training.prace-ri.eu/uploads/tx_pracetmo/GPSMEToolkitIntro.pdf gp-sme.co.uk https://www.opena 阅读全文
posted @ 2018-01-19 12:54 微信公众号--共鸣圈 阅读(390) 评论(0) 推荐(0) 编辑
摘要:转自: http://www.ruanyifeng.com/blog/2017/11/2fa-tutorial.html 所谓认证(authentication)就是确认用户的身份,是网站登录必不可少的步骤。 密码是最常见的认证方法,但是不安全,容易泄露和冒充。 越来越多的地方,要求启用双因素认证( 阅读全文
posted @ 2018-01-15 15:16 微信公众号--共鸣圈 阅读(1639) 评论(0) 推荐(0) 编辑
摘要:第一步: run the command(s) below: (编辑如下文件) Add the following line, save and then close. (在文件中加上下面这句) Reboot, and you're set. 第二步: Thanks to Gunnar Hjalma 阅读全文
posted @ 2018-01-13 19:46 微信公众号--共鸣圈 阅读(288) 评论(0) 推荐(0) 编辑
摘要:先安装 sudo apt-get install sysstat 然后: mpstat -u 2 5 阅读全文
posted @ 2018-01-11 14:14 微信公众号--共鸣圈 阅读(262) 评论(0) 推荐(0) 编辑
摘要:1、首先用如下命令查询你的机器安装了哪些版本: 2、然后用如下命令查询远程库存在哪些版本: 或 3、然后选定一个版本进行安装: 或者不使用通配符,而指定某个版本: 阅读全文
posted @ 2017-12-13 08:51 微信公众号--共鸣圈 阅读(4300) 评论(0) 推荐(0) 编辑
摘要:sudo teamviewer daemon disable 阅读全文
posted @ 2017-12-09 16:26 微信公众号--共鸣圈 阅读(350) 评论(0) 推荐(0) 编辑
摘要:本文为转载,但在Ubuntu16.04LTS下亲测有效。 (1)首先使用 xrandr 命令列出当前所能检测到的分辨率,如一台显示器,最佳分辨率为 1440x900(我的显示器尽量设置1680x1050),由于未能正确检测,使用 xrandr 命令结果如下(我的think server rd630 阅读全文
posted @ 2017-11-22 23:20 微信公众号--共鸣圈 阅读(951) 评论(0) 推荐(0) 编辑
摘要:audacious是ubuntu下一款非常好用的音乐播放器,万能的音乐播放器而且简洁美观,可以播放ape各种无损发烧音乐格式。 如果想听音乐的话,现在百度音乐,酷我音乐,酷狗音乐等都是有网络播放器的,直接百度搜索其名字就可以进入,很方便也不用下载安装麻烦的客户端。 1、打开ubuntu软件中心,搜索 阅读全文
posted @ 2017-09-17 08:20 微信公众号--共鸣圈 阅读(1811) 评论(0) 推荐(0) 编辑
摘要:原文地址:http://blog.chinaunix.net/uid-28587158-id-4006500.html 文章内容来源于stackoverflow上的回答,写的很详细http://stackoverflow.com/questions/14388706/socket-options-s 阅读全文
posted @ 2017-09-08 13:27 微信公众号--共鸣圈 阅读(484) 评论(0) 推荐(0) 编辑
摘要:GDebi,一个安装 Debian 可执行文件的专用程序。它极其轻量,且专注于安装 .deb 文件,可以自动解决依赖问题,比原生的好用。GDebi 最有用的功能是它也可以为你展示出将要安装的程序的依赖。 打开终端并使用下面的命令: sudo apt-get install gdebi 至此,gdeb 阅读全文
posted @ 2017-09-03 22:46 微信公众号--共鸣圈 阅读(715) 评论(0) 推荐(0) 编辑
摘要:cmake 最新版的安装方法: 1,下载最新版的cmake,如 cmake-3.24.0-rc1-linux-x86_64.sh 2,mkdir /home/hzh/soft/softy/cmake-3.24.0-rc1 3,sh some_path/cmake-3.24.0-rc1-linux-x 阅读全文
posted @ 2017-09-02 14:23 微信公众号--共鸣圈 阅读(1442) 评论(0) 推荐(0) 编辑
摘要:网址: https://www.spinellis.gr/cscout/ https://www2.dmst.aueb.gr/dds/cscout/index.html https://github.com/dspinellis/cscout 还有一个工具叫Xrefactory,它可以分析c++程序 阅读全文
posted @ 2017-09-01 10:16 微信公众号--共鸣圈 阅读(1370) 评论(0) 推荐(0) 编辑
摘要:10 best Linux distros for privacy fiends and security buffs in 2017 Introduction The awesome operating system Linux is free and open source. As such, 阅读全文
posted @ 2017-08-11 09:41 微信公众号--共鸣圈 阅读(2726) 评论(0) 推荐(0) 编辑
摘要:https://askubuntu.com/questions/26498/choose-gcc-and-g-version https://stackoverflow.com/questions/7832892/how-to-change-the-default-gcc-compiler-in-u 阅读全文
posted @ 2017-08-10 15:43 微信公众号--共鸣圈 阅读(593) 评论(0) 推荐(0) 编辑