Myluzh Blog

Strive to become a dream architect.

Windows Server 安装 OpenSSH Server

2022-9-15 myluzh Windows

0x01 PowerShell自动安装 1、安装软件 # Install the OpenSSH Client Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0 # Install the OpenSSH Server Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0 2、启动软件 # Start the sshd service Start-Service sshd # OPTIONAL but recommended: Set-Service -Name sshd -StartupType 'Automatic' # Confirm the firewall rule is configured. It should be created automatically by setup. Get-NetFirewallRule -Name *ssh* # There should be a firewall rule named "...

阅读全文>>

标签: Windows Server OpenSSH Server

评论(0) (241)

CentOS yum安装mysql8

2022-9-6 myluzh MySQL

官网地址:https://dev.mysql.com/downloads/repo/yum/ 可以在以上地址选择想要的版本将下面的链接后面部分替换 替换地址 wget http://repo.mysql.com/mysql80-community-release-el7-3.noarch.rpm rpm -ivh mysql80-community-release-el7-3.noarch.rpm yum update 安装: yum install mysql-server 初始化: mysqld --initialize 权限设置: chown mysql:mysql -R /var/lib/mysql 启动mysql: systemctl start mysqld systemctl enable mysqld systemctl status mysqld 查看mysql8安装后的初始密码 grep "A temporary password" /var/log/mysql/mysqld.log 登录mysql mysql -u root 刷新权限 flush p...

阅读全文>>

标签: centos mysql8 yum

评论(0) (224)