首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往
您找到你想要的搜索结果了吗?
是的
没有找到

Ubuntu12Ubuntu14Ubuntu16Ubuntu18Ubuntu20Ubuntu22 安装Xfce图形界面

一、 Ubuntu12-22通用,安装Xfce图形界面(由于ubuntu12的源已经失效,目前没法验证ubuntu12了,其他的ubuntu偶数版本我都验证过)参考https://learn.microsoft.com...执行apt-get install net-tools xrdp firefox xfonts-wqy -y)执行时如果不识别sysv-rc-conf (≥ubuntu18.04不支持sysv-rc-conf...执行systemctl enable xrdp)echo xfce4-session >~/.xsessionadduser xrdp ssl-cert(≥ubuntu18.04需要执行这句)service...-tunlp|grep 3389执行 netstat -tunlp 查看远程端口是监听状态就可以用windows里的mstsc来远程了,跟远程windows服务器的方式一模一样设置默认不进入图形界面systemctl...(适用ubuntu18/20,不适用ubuntu22)add-apt-repository ppa:linuxuprising/libpng12apt updateapt install libpng12

8.8K52

Linux 命令(107)—— systemctl 命令

1.命令简介 systemctl 命令是 systemd 系统和服务的管理命令,systemctl 是与 systemd 交互的主要工具,其实现的功能包含了 service 和 chkconfig 这两个命令的功能...# 重启系统 systemctl reboot # 关闭系统,切断电源 systemctl poweroff # CPU停止工作 systemctl halt # 暂停系统 systemctl suspend...# 让系统进入冬眠状态 systemctl hibernate # 让系统进入交互式休眠状态 systemctl hybrid-sleep # 启动进入救援状态(单用户状态) systemctl...# 列出正在运行的 unit systemctl # 或 systemctl list-units # 列出所有 unit,包括没有运行的 unit systemctl list-units --all...# 启动一个服务 systemctl start apache.service # 停止一个服务 systemctl stop apache.service # 重启一个服务 systemctl restart

2K20

通过systemctl管理mysqld服务

2.systemctl管理服务的好处 平行处理所有服务,加速开机流程 旧的init 启动脚本是【一项一项任务依序启动】的模式,因此不相依的服务也是一个一个的等待。...一经要求就相应的 on-demand 启动方式 System 全部就是仅有一直systemd 服务 搭配systemctl 指令来处理,无需其它的指令来支持。...= 65535 Restart=on-failure RestartSec=3 RestartPreventExitStatus=1 PrivateTmp=false 此服务的其它的一些操作命令; systemctl...enable mysql3307.service  ---设置开启自启动 systemctl start mysql3307.service     ----开启此服务 systemctl stop...mysql3307.service    -----关闭此服务 systemctl status mysql3307.service -----查看服务状态 注意 ; (1)/data/mysql57/

2.4K20
领券