Linux相关

CENTOS7 基于XVNC和RDP配置远程桌面1. 首先是桌面GUI环境# GNOME为例yum groupinstall "GNOME Desktop"安装期间会询问是否安装,输入‘y’回车即可# 安装完毕后重启服务器reboot2. VNC 服务器# tigerVNC,一个开源的VNC服务应用yum install tigervnc-server# rdp安装yum -y install x

2022-02-18  931
Windows相关

问题:yum安装软件时提示:Another app is currently holding the yum lock; waiting for it to exit...  另一个应用程序是:PackageKit    内存: 48 M RSS (536 MB VSZ)    已启动: Sat Feb 12 16:37:55 2022 - 07:01之前    状态  :睡眠中,进程ID:3118解决方法:运

2022-02-16  2829
网站技术

Apache绑定域名提示:“AH00526: Syntax error on line 44 of /www/server/panel/vhost/apache/***.com.conf:ServerName takes one argument, The hostname and port of the server”解决方法:将ServerName修改为ServerAlias

2022-02-15  1204
网站技术

1.安装服务之前先放行80端口#添加80端口到防火墙firewall-cmd --zone=public --add-port=80/tcp --permanent#重载防火墙配置 firewall-cmd --reload #关闭selinuxvim /etc/sysconfig/selinuxSELINUX=enforcing改为disabled2.安装apache #下载安装apache yum&nb

2022-02-15  955
网站技术

一、软件下载下载WINDOWS下的最新ZIP压缩包,推荐下载网址http://www.apachelounge.com/download/二、解压文件解压文件有两种选择,请根据自己的需要任选一种即可1.直接解压到C盘下2.解压到自定义文件夹下 如:D盘三、修改配置文件Conf/httpd.conf第37行 ServerRoot "D:/Apache24" 改为D盘下 第242行DocumentRoot "D:/Apach

2022-02-15  863
网站技术

1.找到nginx的安装位置whereis nginx2.进入该目录下cd /usr/sbin3. 重启./nginx -s reload

2022-02-15  834
Linux相关

Centos6 iptables防火墙命令整理查看iptables版本iptables -V停止iptables防火墙/etc/rc.d/init.d/iptables stopservice iptables stop启动iptables防火墙/etc/rc.d/init.d/iptables startservice iptables start重启iptables防火墙/etc/rc.d/init.d/iptables&

2022-02-15  793
Linux相关

centos6/7服务器怎么使用命令重启服务器?重启reboot 立刻重启(root用户使用)shutdown -r now过10分钟自动重启(root用户使用)shutdown -r 10在时间为20:35时候重启(root用户使用)shutdown -r 20:35

2022-02-15  752
Linux相关

centos6/7系统通用关机命令立刻关机halt 立刻关机poweroff立刻关机(root用户使用) shutdown -h now10分钟后自动关机shutdown -h 10

2022-02-15  850
数据库技术

centos6/7/8mysql密码破解(通用)1.  vi /etc/my.cnf,在[mysqld]中添加skip-grant-tables例如:[mysqld]skip-grant-tablesdatadir=/var/lib/mysqlsocket=/var/lib/mysql/mysql.sock2.  重启mysqlservice mysql restart(centos6)systemctl restart &nbs

2022-02-15  864