You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
YltProject/操作文档/服务器环境配置操作文档.md

2.9 KiB

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

服务器环境配置操作文档

一、需要下载的软件列表

以下文件都已下载完毕保存在10.10.21.21的h盘共享中需要
win+r
输入 \\10.10.21.21
Administrator
dsideal

1、Mysql

Mysql
    url: jdbc:mysql://139.224.72.142:3307/yltcharge?useUnicode=true&useSSL=false&characterEncoding=UTF-8
    username: ycharge
    password: ycharge

# 版本号
select @@version;   5.7.42

# 我下载的Mysql 5.7.42
https://downloads.mysql.com/archives/community/
https://cdn.mysql.com/archives/mysql-5.7/mysql-5.7.42-el7-x86_64.tar.gz

2、Mongodb

Mongodb
      host: 139.224.72.142
      port: 27017
      database: ycharge
      username: ycharge
      password: ycharge

db.version()  4.2.24
https://www.mongodb.com/try/download/community-edition/releases/archive
https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel80-4.2.24.tgz

#Windows版本下载
https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.24.zip

3、Redis

Redis
    redis_version:5.0.14
    host: 139.224.72.142
    port: 6380
    password: rzyc#redis

https://download.redis.io/releases/redis-5.0.14.tar.gz

4、RocketMQ

https://rocketmq.apache.org/zh/docs/4.x/quickstart/01quickstart
rocketmq-all-4.9.4-bin-release.zip
rocketmq-all-4.9.4-source-release.zip

5、JDK1.8

https://www.oracle.com/java/technologies/downloads/?er=221886#java8-windows
oracle的登录名:
10402852@qq.com
密码DsideaL4r5t6y7u!@#

https://download.oracle.com/otn/java/jdk/8u421-b09/d8aa705069af427f9b83e66b34f5e380/jdk-8u421-windows-x64.exe?AuthParam=1721962299_c01bf4ce53f33b8cb0963dee166167cb

https://download.oracle.com/otn/java/jdk/8u421-b09/d8aa705069af427f9b83e66b34f5e380/jdk-8u421-linux-x64.tar.gz

6、Maven使用

在完成编译后黄海将自己用的Maven完整打包。

7、Rocky\ Linux\ 9

https://rockylinux.org/zh-CN/download
https://download.rockylinux.org/pub/rocky/9/isos/x86_64/Rocky-9.4-x86_64-dvd.iso

二、安装操作系统Rocky Linux 9

IP和端口 10.10.14.210 22

用户名与密码

root DsideaL4r5t6y7u

注意以下几点

(1) RockyLinux在安装界面时可以选择GUI界面还是Mini安装无GUI界面需要动手选择好 (2) 在安装界面上输入密码时有允许Rocky Linux 9 root用户通过ssh登录的选项注意选择 (3) 分区时先Auto然后删除掉 /和 /home然后再进行一遍所有剩余空间到 / 的操作。

# 常用命令

# 临时关闭selinux
setenforce 0
 
# 永久关闭selinux
vi /etc/sysconfig/selinux
SELINUX=disabled
 
# 临时关闭防火墙:
systemctl stop firewalld
 
# 永久关闭防火墙:
systemctl disable firewalld