小编sti*_*tiv的帖子

午夜指挥官启动缓慢

有什么办法可以防止mc打开需要10-30秒吗?

mc

28
推荐指数
6
解决办法
3万
查看次数

如何查看systemd服务的输出?

我想systemd在 CentOS 上观看服务的输出,就像我从控制台启动了这个服务一样。是的,我可以用 看到输出journalctl,但它不会自动滚动到底部。那么如何观看服务的实时输出呢?

systemd journalctl

15
推荐指数
2
解决办法
1万
查看次数

xrdp 从 Windows10/Centos 连接到 Centos7 后立即断开连接

这是我的 xrdp 配置:

[Globals]
ini_version=1
fork=true
port=3389
use_vsock=false
tcp_nodelay=true
tcp_keepalive=true
security_layer=negotiate
crypt_level=high
certificate=
key_file=
ssl_protocols=TLSv1.2, TLSv1.3
autorun=
allow_channels=true
allow_multimon=true
bitmap_cache=true
bitmap_compression=true
bulk_compression=true
max_bpp=128
use_compression=yes
new_cursors=true
use_fastpath=both
blue=009cb5
grey=dedede
ls_top_window_bg_color=009cb5
ls_width=350
ls_height=430
ls_bg_color=dedede
ls_logo_filename=
ls_logo_x_pos=55
ls_logo_y_pos=50
ls_label_x_pos=30
ls_label_width=65
ls_input_x_pos=110
ls_input_width=210
ls_input_y_pos=220
ls_btn_ok_x_pos=142
ls_btn_ok_y_pos=370
ls_btn_ok_width=85
ls_btn_ok_height=30
ls_btn_cancel_x_pos=237
ls_btn_cancel_y_pos=370
ls_btn_cancel_width=85
ls_btn_cancel_height=30
[Logging]
LogFile=xrdp.log
LogLevel=DEBUG
EnableSyslog=true
SyslogLevel=DEBUG
[Channels]
rdpdr=true
rdpsnd=true
drdynvc=true
cliprdr=true
rail=true
xrdpvr=true
tcutils=true
[Xvnc]
name=Xvnc
lib=libvnc.so
username=ask
password=ask
ip=127.0.0.1
port=-1
[Xorg]
name=Xorg
lib=libxup.so
username=ask
password=ask
ip=127.0.0.1
port=-1
code=20
Run Code Online (Sandbox Code Playgroud)

我正在尝试使用 mstsc 连接到这台机器(这是在全新的电脑重启之后,没有人登录):

在此处输入图片说明

在此登录框中,不会发生断开连接: …

centos windows xrdp

12
推荐指数
3
解决办法
5万
查看次数

按模式安装 yum 包

我想安装所有的 openoffice 软件包。通过 openoffice* 显然不起作用,因为它会查看文件系统。我怎样才能做到这一点?

yum rhel

6
推荐指数
2
解决办法
7793
查看次数

setroubleshooted CPU 和内存使用率过高

我有 Centos 7 全新安装,我看到 CPU 使用率高的 setroubleshootd。我怎样才能解决这个问题?这个过程在做什么?

selinux centos cpu-usage

5
推荐指数
2
解决办法
1万
查看次数

grep 破坏了 systemctl 的格式

如果我在没有 grep 的情况下调用命令 systemctl,则格式看起来正确:

在此处输入图片说明

现在我只想过滤带有 'yarn' 的行,但这个时间线分为两部分:

在此处输入图片说明

当控制台宽两倍时也会发生同样的情况。我怎样才能解决这个问题?

grep colors systemctl

2
推荐指数
1
解决办法
1148
查看次数

Centos7上安装maven时事务检查错误

我正在尝试在 Centos 7 上安装 Maven:

[root@htm-psycho-401 htmpp]# yum install maven
Loaded plugins: auto-update-debuginfo, fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.reconn.ru
 * epel: fedora-mirror01.rbc.ru
 * epel-debuginfo: fedora-mirror01.rbc.ru
 * extras: mirror.reconn.ru
 * updates: mirror.corbina.net
Resolving Dependencies
--> Running transaction check
---> Package maven.noarch 0:3.0.5-17.el7 will be installed
--> Processing Dependency: java >= 1.5 for package: maven-3.0.5-17.el7.noarch
--> Processing Dependency: sisu-inject-plexus for package: maven-3.0.5-17.el7.noarch
--> Processing Dependency: sisu-inject-bean for package: maven-3.0.5-17.el7.noarch
--> Processing Dependency: plexus-utils for package: maven-3.0.5-17.el7.noarch
--> Processing …
Run Code Online (Sandbox Code Playgroud)

yum centos maven

2
推荐指数
1
解决办法
2818
查看次数

HTTPd 显示 PHP 代码而不是执行它

我的设置:

# grep php /etc/httpd/conf/httpd.conf 
LoadModule php5_module  modules/libphp5.so
AddType x-httpd-php .php
AddHandler php5-script .php

# grep PHP /etc/httpd/conf/httpd.conf 
PHPIniDir /etc/

# grep open_tag /etc/php.ini 
; short_open_tag
short_open_tag = On

# /etc/init.d/httpd start
Starting httpd: [Tue Dec 04 03:26:29 2012] [warn] module php5_module is already loaded, skipping
httpd: apr_sockaddr_info_get() failed for holdsworth
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
                                                           [  OK  ]

# cat /var/log/httpd/error_log 
[Tue Dec 04 03:26:37 2012] [notice] SELinux policy …
Run Code Online (Sandbox Code Playgroud)

centos php apache-httpd

0
推荐指数
1
解决办法
4万
查看次数

sudo sh 上的 TAB 自动完成

当我说sudo sh,TAB在我的 Debian 上停止作为自动完成信号工作。TAB我说完后如何启用密钥自动完成sudo sh

shell sudo autocomplete

0
推荐指数
1
解决办法
2327
查看次数