徐锡磊吧 关注:7贴子:207
  • 5回复贴,共1
安装远程桌面
yum groupinstall "GNOME Desktop" "Graphical Administration Tools"
yum install xrdp -y
yum install tigervnc-server -y
vncpasswd root
systemctl start xrdp
systemctl enable xrdp


IP属地:北京1楼2022-11-06 15:37回复
    ps -ef | grep frpc | grep -v grep | awk '{print $2}' | xargs kill
    nohup /volume2/homes/Tools/frpc/frpc -c /volume2/homes/Tools/frpc/frpc.ini &


    IP属地:北京2楼2022-11-16 15:10
    回复
      yum -y install htop.x86_64


      IP属地:北京3楼2023-01-17 11:53
      回复
        上传安装文件到/usr/local/mysql并新建data文件夹
        安装依赖库
        yum install libaio*
        创建用户组
        groupadd mysql && useradd -r -g mysql mysql
        设置文件夹权限
        chown mysql:mysql -R /usr/local/mysql/data
        数据库初始化
        /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql/ --datadir=/usr/local/mysql/data/ --lower_case_table_names=1 --user=mysql --initialize
        复制my.cnf文件到/usr/local/mysql
        拷贝服务文件
        cp /usr/local/mysql/support-files/mysql.server /etc/init.d/mysql
        启动服务
        service mysql start
        登录mysql
        /usr/local/mysql/bin/mysql -uroot -P 61009 -p
        更改密码
        ALTER USER USER() IDENTIFIED BY 'SaaS_2020';
        use mysql;
        update user set host = '%' where user = 'root';
        FLUSH PRIVILEGES;


        IP属地:北京4楼2023-01-22 12:34
        回复
          frps安装
          1.复制文件到指定目录,并修改frps执行权限
          2.复制service文件
          3.设置开机启动:systemctl enable frps
          systemctl start frps
          systemctl stop frps
          systemctl status frps


          IP属地:北京5楼2023-01-29 14:26
          回复
            https://blog.csdn.net/qq_45752401/article/details/122660965
            1.上传文件到指定目录
            2.修改文件权限:chmod -R 777 /usr/local/nginx
            3.安装依赖库
            yum -y install pcre-devel openssl openssl-devel
            4.配置configure --prefix 代表安装的路径,--with-http_ssl_module 安装ssl,--with-http_stub_status_module查看nginx的客户端状态
            /usr/local/nginx/configure --prefix=/usr/local/nginx --with-http_ssl_module --with-http_stub_status_module
            5.第四步执行完nginx目录多了一个Makefile文件,cd到nginx目录执行以下命令来编译安装nginx
            make & make install
            6.新建logs文件夹
            7.复制service到执行目录并设置开机启动
            # systemctl start nginx 停止服务
            # systemctl stop nginx 停止服务
            # systemctl restart nginx 重新启动服务
            # systemctl status nginx 查看服务当前状态
            # systemctl enable nginx 设置开机自启动
            # systemctl disable nginx 停止开机自启动
            # systemctl list-units --type=service 查看所有已启动的服务


            IP属地:北京6楼2023-01-29 14:49
            回复