linux – 业余语言练习

linux->brasero

linux安装刻录软件 yum -y install brasero

Published
Categorized as linux

Activate the web console with: systemctl enable –now cockpit.socke

搜索后启动Cockpit: Cockpit介绍自己是一个Web端的系统管理工具,只用鼠标点点就能管理系统, 事实上也确实如此,我实际使用来说,启动Cockpit服务之后,只需要鼠标 点点点就能完成系统很多基础操作,比如查看系统信息,启动/停止服务, 新增或者更改账户,系统更新,Web终端及查看网络流量等功能。 在命令行模式下输入以下命令: systemctl start cockpit.socket # 运行Cockpit服务 systemctl enable –now cockpit.socket # 启动该服务,随系统启动一同启动 systemctl status cockpit.socket 然后在另一台电脑上用浏览器登录 https://IP:9090 openEuler重启后还是命令行界面:只是提示变了,类似下面的界面,提示: Web console: https://localhost:9090/ or https://192.168.0.111:9090/ 怎么重回图形界面呢? 命令行下输入:systemctl get-default # 查看显示模式,结果是图形模式 运行下面两个命令后,再重启就ok了!重启系统进入图形化桌面 yum grouplist yum groupinstall -y “Server with GUI”

Published
Categorized as linux

编译安装rdesktop-1.9.0

wget https://github.com/rdesktop/rdesktop/releases/download/v1.9.0/rdesktop-1.9.0.tar.gz #下载tar包 tar -xzvf rdesktop-1.9.0.tar.gz #解压 cd rdesktop-1.9.0 ./configure –prefix=/usr/local/rdesktop #编译文件到/usr/local/rdesktop位置,也就是安装位置 make make install #编译安装 ./rdesktop #如果安装成功,会出现下面的样子 rdesktop: A Remote Desktop Protocol client. Version 1.9.0. Copyright (C) 1999–2016 Matthew Chapman et al. See http://www.rdesktop.org/ for more information. 此时Rdesktop的安装目录在/usr/local/rdesktop,而运行目录则在rdesktop-1.9.0, 如果需要卸载,则直接删除/usr/local/rdesktop并在rdesktop-1.9.0目录中执行make uninstall即可完整卸载。 每次轮到我编译东西就出毛病,还专门网上找不到资料,这次碰到个debug,基本上能遇到的问题就下面这么多。 问题:configure: error: no acceptable C compiler found in $PATH 原因以及解决方法:没有安装合适的GCC编译器,执行sudo yum install gcc-c++… Continue reading 编译安装rdesktop-1.9.0

Published
Categorized as linux

openEuler_x86_64.repo

能ping www.baidu.com 安装不是server的话可能会缺少一些命令,例如 tar,vim…… 配置yum,我的openeuler20.03 LTS版 x86和arrch64配置起来还是有一定区别的,我的是x86 uname -a可以查看 cd /etc/yum.repos.d/ vim openEuler_x86_64.repo 粘贴以下内容 [osrepo] name=osrepo baseurl=https://repo.openeuler.org/openEuler-20.03-LTS-SP2/OS/x86_64/ enabled=1 gpgcheck=1 gpgkey=https://repo.openeuler.org/openEuler-20.03-LTS-SP2/OS/x86_64/RPM-GPG-KEY-openEuler [everything] name=everything baseurl=https://repo.openeuler.org/openEuler-20.03-LTS-SP2/everything/x86_64/ gpgcheck=1 enabled=1 gpgkey=https://repo.openeuler.org/openEuler-20.03-LTS-SP2/everything/x86_64/RPM-GPG-KEY-openEuler 依次使用以下命令: yum clean all yum makecache yum repolist all yum就成功配置好了

Published
Categorized as linux