随笔分类 - Linux
摘要:Problem Ubuntu 20.04 Xrdp Black Screen Ubuntu 20.04 Xrdp 远程桌面黑屏 remote desktop Xrdp on Ubuntu 20.04,ubuntu 20 xrdp black screen,xrdp black screen ubun
阅读全文
摘要:Ubuntu 18.04 / 20.04 自定义锁屏时间 GUI 方法: 设置->电源->blank screen 命令行方法: 方法一 设置自动锁屏时间为1小时(3600 秒) gsettings set org.gnome.desktop.session idle-delay 3600 方法二
阅读全文
摘要:Problem: Whenever I run spyder, It results in the error below QXcbConnection: Failed to initialize XRandr Qt: XKEYBOARD extension not present on the X
阅读全文
摘要:问题: 启动spyder黑屏并出现如下错误代码: QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked QOpenGLShaderProgram::uniformLocation( opacity
阅读全文
摘要:一、Ubuntu安装截图工具 Shutter 1. 添加安装包软件源 sudo add-apt-repository ppa:shutter/ppa1 2. 更新源并安装 shutter sudo apt-get update sudo apt-get install shutter1 3. 搜索
阅读全文
摘要:Bash技巧:介绍“v=var echo $v”和“v=var; echo $v”这两种写法的区别在 Linux bash shell 中,当在同一行里面提供不同的命令时,命令之间需要用控制操作符隔开。常见的控制操作符有分号 ‘;’、管道操作符 ‘|’、与操作符 ‘&&’、或操作符 ‘||’ 等。例如,v=var; echo $v 命令先把 v 变量赋值为 var,再用 echo 命令打印 v 变...
阅读全文
摘要:Ubuntu systemctl 查看系统启动项 列出所有启动项: sudo systemctl list-unit-files 会列出开启的和未开启的: 使用grep过滤一下开启的grep enabled sudo systemctl list-unit-files | grep enabled
阅读全文
摘要:一、scp scp是secure copy的简写,用于在Linux下进行远程拷贝文件的命令,和它类似的命令有cp,不过cp只是在本机进行拷贝不能跨服务器,而且scp传输是加密的,它使用ssh安全协议传输数据。 scp系统开消小不占资源,不会提高多少系统负荷。虽然 rsync只传送修改的部分。 1.命
阅读全文
摘要:5 TOOLS FOR MONITORING DISK ACTIVITY IN LINUX Here is a quick overview of 5 command-line tools that come in incredibly handy when troubleshooting or m
阅读全文
摘要:I try to login Ubuntu 16.04 xrdp through window 10 with mstsc. It was successful in 2019/01/09 night, but failed in 2019/01/10 morning. An system auto
阅读全文
摘要:Mine: 图中圈出来的是三极管 和滤波电容 依赖库: wiringPi Shell脚本 本文介绍使用Shell脚本在树莓派上启用软件PWM控制风扇转速。 最新版本下载地址https://github.com/tankririri/RaspberryPi_CPU_PWM 硬件需求 树莓派(这里用的3
阅读全文
摘要:【Server版本】 在Ubuntu Server版本中,因为只存有命令行模式,所以要想进行网络参数设置,只能通过修改 /etc/network/interfaces 。具体设置方法如下: (1) Ubuntu Server 修改 IP地址 打开 /etc/network/interfaces 加入
阅读全文
摘要:try use : reseaon: sudo ifdown eno1 or sudo ifup eno1, will not work because eno1 is not explicitly defined inside /etc/network/interfaces file. So if
阅读全文
摘要:Xfce 远程桌面Tab键设置 Use CTRL-tab instead of tab The XFCE Terminal has kidnapped the tab key for a feature of it's own, tab/windows switching. Instead the
阅读全文
摘要:在ubuntu中安装好spyder后, 打开spyder发现无法输入。 在打开spyder的终端窗口,有如下提示: 解决方法 到自己的home目录下(~),打开资源配置文件: 然后在文件末尾添加两行: 然后重新加载环境: 打开spyder 问题解决 来源: https://blog.csdn.net
阅读全文
摘要:Introduction One of the most basic tasks that you should know how to do on a fresh Linux server is add and remove users. When you create a new system,
阅读全文
摘要:Windows 多用户远程桌面连接到 Ubuntu / Linux Access Ubuntu from Windows remotely Follow these steps : Step 1 – Install xRDP Open Terminal (Crtl+Alt+T) and execut
阅读全文
摘要:How to upgrade Debian 8 Jessie to Debian 9 Stretch Contents 1. Objective 2. What's New 3. Preparations 4. Jessie Full Upgrade 5. Update Package Reposi
阅读全文
摘要:Network monitoring on LinuxThis post mentions some linux command line tools that can be used to monitor the network usage. These tools monitor the traffic flowing through network interfaces and measur...
阅读全文
摘要:重置gitlab管理员密码Log into your server with root privileges. Then start a Ruby on Rails console.Start the console with this command:gitlab-rails console production Wait until the console has loaded.There a...
阅读全文