
Linux
文章平均质量分 58
yexianyi
Software Architect @ Siemens
Email: yexianyi@hotmail.com
Linkedin: http://cn.linkedin.com/in/yexianyi/
Github: https://github.com/yexianyi/
展开
-
【无标题】
Issue:While recording a video with ScreenCapLibrary in Robot Framework, you may get an exception like:Root Cause:Ubuntu was using Wayland by default, however, mss needs x11. Therefore, we need to modify the configuration. Solution:原创 2024-06-03 12:08:52 · 383 阅读 · 0 评论 -
How to resize /dev/mapper/centos-home
• backup the contents of /home> tar -czvf /root/home.tgz -C /home .• test the backup> tar -tvf /root/home.tgz• unmount home> umount /dev/mapper/centos-home• remove the home logical volu转载 2017-02-27 15:39:02 · 1954 阅读 · 0 评论 -
CentOS: RE-SIZING /dev/centos/root IN CENTOS7
Pls refer https://themacwrangler.wordpress.com/2015/01/16/re-sizing-partitions-in-centos7/转载 2017-02-22 14:33:58 · 764 阅读 · 0 评论 -
CentOS: How to make rpm auto install dependencies
Issue:There is a scenario that an rpm package needs to be installed, but no the dependencies packages. In that case, we want to make yum could auto find these dependencies and install the rpm packag原创 2017-02-22 11:13:53 · 1021 阅读 · 0 评论 -
CentOS7: How to resolve curl#56 - "Recv failure: Connection reset by peer"
Issue:When you execute Yum installation or update, you may encounter following error:Loaded plugins: fastestmirror, langpacksCould not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&原创 2016-12-28 11:43:49 · 14555 阅读 · 0 评论 -
Ubuntu 16.04: How to resolve libqt5x11extras5 (>= 5.1.0) but it is not going to be installed
Issue:When you install Virtualbox 5.1 on Ubuntu 16.04, you may encounter following error:root@XIAYE-NA1:~/Downloads# apt install virtualbox-5.1Reading package lists... DoneBuilding dependency原创 2017-01-20 16:02:07 · 5046 阅读 · 0 评论 -
Linux: Check version info
一、查看Linux内核版本命令(两种方法):1、cat /proc/version[root@localhost ~]# cat /proc/versionLinux version 2.6.18-194.8.1.el5.centos.plus (mockbuild@builder17.centos.org) (gcc version 4.1.2 20080704 (Red Hat转载 2016-12-21 16:05:51 · 794 阅读 · 0 评论 -
CentOS7: How to install Desktop Environments on CentOS 7?
1. Installing GNOME-Desktop:Install GNOME Desktop Environment on here.# yum -y groups install "GNOME Desktop" Input a command like below after finishing installation:# startx转载 2016-08-18 11:28:37 · 2614 阅读 · 0 评论 -
Ubuntu 12.04: How to enable root login
1. vi /etc/lightdm/lightdm.conf and add following mod增加 greeter-show-manual-login=true allow-guest=false . 修改完的整个配置文件是[SeatDefaults]greeter-session=unity-greeteruser-session=ubuntugreeter-原创 2014-07-31 16:13:27 · 1049 阅读 · 0 评论 -
Fedora 19: How to resize/extend (LVM) partition?
Enlarge the disk using fdiskfdisk -l (to see the partition layout, typically we're dealing with /dev/sda2)fdisk /dev/sdad (delete a partition)2 (if the part we want to grow is /dev/sda2; note this转载 2014-06-20 17:31:46 · 1162 阅读 · 0 评论 -
Salt: Master server cannot see any Minion
Issue:When you set up a Salt Master server and several Minions, you may find that原创 2014-08-05 10:47:43 · 1003 阅读 · 0 评论 -
Fedora 20: How to enable SSH
1. systemctl enable sshd.service2. service sshd restart原创 2014-06-25 10:31:11 · 936 阅读 · 0 评论 -
Linux: How to enable root user in Gnome for VirtualBox Fedora?
Well you should have a secondary user other than root on the system to login with. Hopefully that user is in the sudoers file and has root permissions or is a part of the wheel group?If the above cr转载 2012-10-17 09:43:59 · 802 阅读 · 0 评论 -
Linux: How to Enable SSH on Fedora 16
Enable SSH on Fedora 16Posted onFebruary 13, 2012 | 7 Comments A very quick post, I needed after a fresh Fedora 16 install.Enable sshd service.$ systemctl enable sshd.servicestart转载 2012-10-17 10:02:51 · 906 阅读 · 0 评论 -
How to launch terminal Window in Fedora
alt+f2 “xterm" OR "konsole" OR “gnome-terminal“原创 2012-10-16 14:55:03 · 797 阅读 · 0 评论 -
ies4linux异常:An error occured when trying to cabextract some files.
ies4linux异常:An error occured when trying to cabextract some files.如在安装ies4linux时遇到如下错误, Installing IE 6 Initializing Creating Wine Prefix Extracting CAB files/root/.ies4linux/downloads/ie6/CN原创 2009-03-08 13:02:00 · 3321 阅读 · 0 评论 -
在RedHat Enterprise Linux 5下安装JDK
在RedHat Enterprise Linux 5下安装JDK 最近发现网上盛传的Linux下的JDK安装方法居然没有一个是可行的。多多少少都有些问题。所以特意费了一些功夫,以RedHat AS 5.0为例给出一个可行的安装方法。 一、系统环境操作系统: RedHat Enterprise Linux 5 二、安装JDK1. 从java.sun原创 2009-01-01 17:04:00 · 10749 阅读 · 5 评论