# linux-ubuntu+centos-note **Repository Path**: myanderson/linux-notes ## Basic Information - **Project Name**: linux-ubuntu+centos-note - **Description**: Linux Ubuntu && Centos 笔记 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-03-21 - **Last Updated**: 2026-05-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Ubuntu && Centos Notes #### Description Ubuntu && Centos notes #### Table of Contents ##### I. Software Installation 1. ###### [PHP Redis Extension Installation](一、软件安装/1.php安装Redis扩展.md) ##### II. Graphical Interface 1. ###### [CentOS 8 Install GNOME 3 Desktop and Set Graphical Interface to Start on Boot](二、图形界面/1.CentOS8安装GNOME3桌面并设置开机启动图形界面.md) 2. ###### [Windows 10 Remote Connection to CentOS 7/8 Setup Method](二、图形界面/2.win10远程连接centos7、8设置方法.md) ##### III. Docker 1. ###### [Pull CentOS Image](三、Docker/1.拉取CentOS镜像.md) 2. ###### [Push Image to DockerHub](三、Docker/2.镜像推送到DockerHub.md) 3. ###### [ifconfig Command Not Found](三、Docker/3.ifconfig提示commandnotfound.md) 4. ###### [Access LAN Docker Container](三、Docker/4.访问局域网docker容器.md) ##### IV. Shell Commands 1. ###### [SSH LAN Cascaded Login](四、Shell命令/1.ssh局域网级联登录.md) 2. ###### [SSH Reverse Proxy Configuration (Implement Internal Network Penetration)](四、Shell命令/2.ssh反向代理配置(实现内网穿透).md) 3. ###### [Account Security Control](四、Shell命令/3.账户安全控制.md) 4. ###### [Common Shell Commands](四、Shell命令/4.常用shell命令.md) 5. ###### [Firewall Settings](四、Shell命令/5.防火墙设置.md) ##### V. Baota Panel 1. ###### Install Baota Panel ``` yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh ``` 2. ###### Node Environment Variable Settings ``` ln -s /www/server/nvm/versions/node/12.xxx/bin/node /usr/local/bin/node ln -s /www/server/nvm/versions/node/12.xxx/bin/npm /usr/local/bin/npm ``` 3. ###### Find redis-server in Redis Installation Path and Define Global Command ``` ln -s /www/server/redis/src/redis-server /usr/bin/redis-server ``` 4. ###### Close Security Entry Command ``` rm -f /www/server/panel/data/admin_path.pl ``` 5. ###### MySQL Data Directory Migration (Using Symbolic Link Method) ``` # 1) Stop MySQL Service sudo bt stop # 2) Migrate Individual Database Data Files sudo mv /www/server/data/database_name /mnt/target_path/mysql/ # 3) Create Symbolic Link sudo ln -s /mnt/target_path/mysql/database_name /www/server/data/database_name # 4) Set Permissions sudo chown -R mysql:mysql /mnt/target_path/mysql/database_name sudo chown -R mysql:mysql /www/server/data/database_name # 5) Start MySQL Service sudo bt start ```