Linux運維新人自用筆記(用虛擬機Ubuntu部署lamp環境,搭建WordPress博客)

內容全為個人理解和自查資料梳理,歡迎各位大神指點!

每天學習較為零散。

day20

一、./configure?腳本命令

./configure?是 Unix/Linux 系統中用于配置軟件源代碼的腳本命令,通常用于為后續的?make?和?make install?準備編譯環境。

選項作用
--prefix=/path指定安裝根目錄(默認?/usr/local
--bindir=/path指定可執行文件目錄
--libdir=/path指定庫文件目錄
--includedir=/path指定頭文件目錄
選項作用
--enable-feature啟用特定功能
--disable-feature禁用特定功能
--with-package=/path指定依賴庫路徑
--without-package禁用某個依賴
選項作用
CC=gcc指定 C 編譯器
CFLAGS="-O2 -g"設置編譯標志
LDFLAGS="-L/path"設置鏈接庫路徑

二、Ubuntu桌面版連接ssh服務

Ubuntu22.04桌面版? ?

單擊鼠標右鍵,選擇open in terminal 打開終端

#編輯資源配置
vi /etc/apt/sources.listdeb https://mirrors.aliyun.com/ubuntu/ jammy main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ jammy main restricted universe multiversedeb https://mirrors.aliyun.com/ubuntu/ jammy-security main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ jammy-security main restricted universe multiversedeb https://mirrors.aliyun.com/ubuntu/ jammy-updates main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ jammy-updates main restricted universe multiverse# deb https://mirrors.aliyun.com/ubuntu/ jammy-proposed main restricted universe multiverse
# deb-src https://mirrors.aliyun.com/ubuntu/ jammy-proposed main restricted universe multiversedeb https://mirrors.aliyun.com/ubuntu/ jammy-backports main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ jammy-backports main restricted universe multiverse
#切換到root
sudo -i#下載遠程連接服務
sudo apt install openssh-server#開啟遠程連接
sudo systemctl start ssh在xshell上登陸連接

?

三、Ubuntu系統編譯安裝apache

?apache官網

https://downloads.apache.org/httpd/
https://downloads.apache.org/apr/
#下載tar包
wget https://downloads.apache.org/httpd/httpd-2.4.63.tar.gztar -zxf httpd-2.4.63.tar.gz #運行配置腳本,缺少依賴
root@xun-virtual-machine:/a1/httpd-2.4.63# ./configure 
configure: error: APR not found.  Please read the documentation.#下載APR依賴
root@xun-virtual-machine:/a1# wget https://downloads.apache.org/apr/apr-1.7.6.tar.gz#系統缺少C編譯器(如GCC),導致無法編譯APR(Apache Portable Runtime)庫
root@xun-virtual-machine:/a1/apr-1.7.6# ./configure 
configure: error: in '/a1/apr-1.7.6':
configure: error: no acceptable C compiler found in $PATH#安裝編譯器
root@xun-virtual-machine:/a1/apr-1.7.6# sudo apt install build-essential#運行配置腳本,缺少依賴
root@xun-virtual-machine:/a1/apr-1.7.6# ./configure
config.status: executing libtool commands
rm: cannot remove 'libtoolT': No such file or directory
config.status: executing default commands#安裝依賴
root@xun-virtual-machine:/a1/apr-1.7.6# sudo apt install libtool autoconf automake#APR相關依賴安裝完畢
root@xun-virtual-machine:/a1/apr-1.7.6# ./configure

#繼續下載apache服務,缺少APR-util
root@xun-virtual-machine:/a1# cd httpd-2.4.63/
root@xun-virtual-machine:/a1/httpd-2.4.63# ./configure 
checking for APR-util... no
configure: error: APR-util not found.  Please read the documentation.#下載tar包
wget https://downloads.apache.org/apr/apr-util-1.6.3.tar.gz
tar -zxf apr-util-1.6.3.tar.gz #確保APR已正確安裝到系統目錄(如/usr/local/apr)
ls /usr/local/apr/bin/apr-1-config#在配置apr-util時,必須通過--with-apr參數指定APR的安裝路徑
#此命令明確告知apr-util從/usr/local/apr目錄中查找APR的頭文件和庫
./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr#在apr-util目錄下運行配置腳本,指定依賴庫路徑
./configure --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util#安裝依賴
sudo apt install libpcre3-dev #在httpd-2.4.63目錄下運行配置腳本,指定依賴庫路徑
root@xun-virtual-machine:/a1/httpd-2.4.63# ./configure   --prefix=/usr/local/apache2   --with-apr=/usr/local/apr   --with-apr-util=/usr/local/apr-util   --with-pcre=/usr/bin/pcre-config  #安裝sudo make install
#啟動服務
root@xun-virtual-machine:/a1/httpd-2.4.63# sudo /usr/local/apache2/bin/apachectl startAH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
httpd (pid 61419) already running這個警告是因為缺少全局 ServerName 配置:sudo vim /usr/local/apache2/conf/httpd.conf
找到或添加:ServerName localhost:80保存后重新加載配置:
root@xun-virtual-machine:/a1/httpd-2.4.63# sudo /usr/local/apache2/bin/apachectl graceful#再次啟動服務
root@xun-virtual-machine:/a1/httpd-2.4.63# sudo /usr/local/apache2/bin/apachectl start
httpd (pid 61419) already running

#創建Systemd服務
sudo vim /etc/systemd/system/httpd.service[Unit]
Description=Apache HTTP Server
After=network.target[Service]
Type=forking
ExecStart=/usr/local/apache2/bin/apachectl start
ExecStop=/usr/local/apache2/bin/apachectl stop
ExecReload=/usr/local/apache2/bin/apachectl graceful
PIDFile=/usr/local/apache2/logs/httpd.pid
PrivateTmp=true[Install]
WantedBy=multi-user.targetroot@xun-virtual-machine:/a1/httpd-2.4.63# sudo systemctl start httpd
root@xun-virtual-machine:/a1/httpd-2.4.63# sudo systemctl status  httpd
● httpd.service - Apache HTTP ServerLoaded: loaded (/etc/systemd/system/httpd.service; disabled; vendor preset: enabled)Active: active (running) since Tue 2025-06-17 23:20:15 CST; 1min 8s agoProcess: 61799 ExecStart=/usr/local/apache2/bin/apachectl start (code=exited, status=0/SUCCESS)Main PID: 61419 (httpd)Tasks: 0 (limit: 4545)Memory: 4.0KCPU: 11msCGroup: /system.slice/httpd.service? 61419 /usr/local/apache2/bin/httpd -k start6月 17 23:20:15 xun-virtual-machine systemd[1]: Starting Apache HTTP Server...
6月 17 23:20:15 xun-virtual-machine apachectl[61802]: httpd (pid 61419) already running
6月 17 23:20:15 xun-virtual-machine systemd[1]: Started Apache HTTP Server.
#下載net工具
apt install net-tools#查看端口
sudo netstat -tulnp | grep apache
tcp6       0      0 :::8088                 :::*                    LISTEN      2521/apache2          #關閉防火墻
root@xun-virtual-machine:/a1# iptables -Froot@xun-virtual-machine:/a1# curl -I 127.0.0.1:8088
HTTP/1.1 200 OK
Date: Thu, 19 Jun 2025 05:10:34 GMT
Server: Apache/2.4.52 (Ubuntu)
Last-Modified: Wed, 18 Jun 2025 13:05:23 GMT
ETag: "29af-637d8482a80e5"
Accept-Ranges: bytes
Content-Length: 10671
Vary: Accept-Encoding
Content-Type: text/html
網頁訪問http://ip:8088Apache2 Default Page
It works!
This is the default welcome page used to test the correct operation of the Apache2 server after installation on Ubuntu systems. It is based on the equivalent page on Debian, from which the Ubuntu Apache packaging is derived. If you can read this page, it means that the Apache HTTP server installed at this site is working properly. You should replace this file (located at /var/www/html/index.html) before continuing to operate your HTTP server.

四、配置mysql倉庫

下載mysql

#交互界面選mysql8.0和ok即可
root@xun-virtual-machine:/a1/b1# wget https://dev.mysql.com/get/mysql-apt-config_0.8.34-1_all.deb#更新(注意服務器時間是否和網絡時間一致)
apt update#檢查可安裝的 MySQL 
root@xun-virtual-machine:/a1/b1# apt-cache policy mysql-server
mysql-server:Installed: (none)Candidate: 8.0.42-0ubuntu0.22.04.1Version table:8.0.42-0ubuntu0.22.04.1 500500 https://mirrors.aliyun.com/ubuntu jammy-security/main amd64 Packages500 https://mirrors.aliyun.com/ubuntu jammy-security/main i386 Packages500 https://mirrors.aliyun.com/ubuntu jammy-updates/main amd64 Packages500 https://mirrors.aliyun.com/ubuntu jammy-updates/main i386 Packages8.0.35-1ubuntu23.04 500500 http://repo.mysql.com/apt/ubuntu lunar/mysql-8.0 amd64 Packages8.0.28-0ubuntu4 500500 https://mirrors.aliyun.com/ubuntu jammy/main amd64 Packages500 https://mirrors.aliyun.com/ubuntu jammy/main i386 Packages#安裝 MySQL 客戶端和服務端?
apt install mysql-client
apt install mysql-server#驗證安裝的 MySQL 包?
root@xun-virtual-machine:/a1/b1# dpkg -l |grep mysql
ii  mysql-apt-config                           0.8.34-1                                all          Auto configuration for MySQL APT Repo.
ii  mysql-client                               8.0.42-0ubuntu0.22.04.1                 all          MySQL database client (metapackage depending on the latest version)
ii  mysql-client-8.0                           8.0.42-0ubuntu0.22.04.1                 amd64        MySQL database client binaries
ii  mysql-client-core-8.0                      8.0.42-0ubuntu0.22.04.1                 amd64        MySQL database core client binaries
ii  mysql-common                               5.8+1.0.8                               all          MySQL database common files, e.g. /etc/mysql/my.cnf
rc  mysql-community-server                     8.0.0-dmr-1ubuntu14.04                  amd64        MySQL Server
ii  mysql-server                               8.0.42-0ubuntu0.22.04.1                 all          MySQL database server (metapackage depending on the latest version)
ii  mysql-server-8.0                           8.0.42-0ubuntu0.22.04.1                 amd64        MySQL database server binaries and system database setup
ii  mysql-server-core-8.0                      8.0.42-0ubuntu0.22.04.1                 amd64#啟動mysql服務
systemctl start mysql#安全配置
root@xun-virtual-machine:/a1/b1# sudo mysql_secure_installation
選擇密碼驗證組件??
Would you like to setup VALIDATE PASSWORD component?
Press y|Y for Yes, any other key for No: y選擇密碼強度級別??
Please enter 0 = LOW, 1 = MEDIUM and 2 = STRONG: 1后續配置??
Remove anonymous users? [Y/n] Y
Disallow root login remotely? [Y/n] N
Remove test database and access to it? [Y/n] Y
Reload privilege tables now? [Y/n] Y#登錄 MySQL?
root@xun-virtual-machine:/a1/b1# mysql -u root -p
Enter password: 
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 11
Server version: 8.0.42-0ubuntu0.22.04.1 (Ubuntu)Copyright (c) 2000, 2025, Oracle and/or its affiliates.Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.mysql> CREATE DATABASE wordpress;
Query OK, 1 row affected (0.01 sec)mysql> CREATE USER 'wordpressuser'@'localhost' IDENTIFIED BY 'zxcvbn';
Query OK, 0 rows affected (0.01 sec)mysql> GRANT ALL PRIVILEGES ON wordpress.* TO 'wordpressuser'@'localhost';
Query OK, 0 rows affected (0.01 sec)mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.01 sec)mysql> EXIT;
Bye

五、下載php

#下載解壓
root@xun-virtual-machine:/a1/php# wget https://www.php.net/distributions/php-8.1.32.tar.gz
tar -zxf php-8.1.32.tar.gz apt-get install libcurl4-openssl-dev libonig-dev libzip-dev libgd-dev libfreetype6-dev libjpeg-dev libpng-dev libxml2-dev libssl-dev pkg-config#檢查安裝配置環境
./configure \--prefix=/usr/local/php \--with-config-file-path=/usr/local/etc \--with-config-file-scan-dir=/usr/local/etc/php.d \--with-apxs2=/usr/local/apache2/bin/apxs \--enable-fpm \--with-mysqli=mysqlnd \--with-pdo-mysql=mysqlnd \--with-zlib \--with-curl \--with-zip \--with-gd \--with-freetype \--with-jpeg \--with-webp \--with-xpm \--enable-sockets \--enable-soap \--enable-opcache \--enable-mbstring \--enable-mbregex \--enable-pcntl \--enable-shmop \--enable-sysvmsg \--enable-sysvsem \--enable-sysvshm \--enable-calendar \--enable-bcmath \--enable-maintainer-zts+--------------------------------------------------------------------+
| License:                                                           |
| This software is subject to the PHP License, available in this     |
| distribution in the file LICENSE. By continuing this installation  |
| process, you are bound by the terms of this license agreement.     |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point.                            |
+--------------------------------------------------------------------+Thank you for using PHP.

root@xun-virtual-machine:/a1/php/php-8.1.32# cd /var/www/html/#將apache的html文件改名
root@xun-virtual-machine:/var/www/html# ll
total 24
drwxr-xr-x 2 root root  4096  6月 19 13:56 ./
drwxr-xr-x 3 root root  4096  6月 18 21:05 ../
-rw-r--r-- 1 root root 10671  6月 19 13:30 index.html_s
-rw-r--r-- 1 root root    21  6月 19 13:30 index.phproot@xun-virtual-machine:/var/www/html# cat index.php 
<?phpphpinfo();
?>#訪問網站
PHP Version 8.1.2-1ubuntu2.21
System	Linux xun-virtual-machine 6.8.0-60-generic #63~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 22 19:00:15 UTC 2 x86_64
Build Date	Mar 24 2025 19:04:23
Build System	Linux
Server API	Apache 2.0 Handler
Virtual Directory Support	disabled
Configuration File (php.ini) Path	/etc/php/8.1/apache2
Loaded Configuration File	(none)
Scan this dir for additional .ini files	/etc/php/8.1/apache2/conf.d
#將zip下載到:/var/www/html,解壓
wget https://wordpress.org/latest.zip#將wordpress/* 移動到 當前/var/www/html目錄下
root@xun-virtual-machine:/var/www/html# mv wordpress/* .
root@xun-virtual-machine:/var/www/html# ll
total 28140
drwxr-xr-x  6 root root     4096  6月 19 14:45 ./
drwxr-xr-x  3 root root     4096  6月 18 21:05 ../
-rw-r--r--  1 root root    10671  6月 19 13:30 index.html_s
-rw-r--r--  1 root root      405  2月  6  2020 index.php
-rw-r--r--  1 root root 28551696  5月  1 00:48 latest.zip
-rw-r--r--  1 root root    19903  3月  6 14:24 license.txt
-rw-r--r--  1 root root     7425  3月  7 08:45 readme.html
drwxr-xr-x  2 root root     4096  6月 19 14:45 wordpress/
-rw-r--r--  1 root root     7387  2月 13  2024 wp-activate.php
drwxr-xr-x  9 root root     4096  4月 30 16:41 wp-admin/
-rw-r--r--  1 root root      351  2月  6  2020 wp-blog-header.php
-rw-r--r--  1 root root     2323  6月 14  2023 wp-comments-post.php
-rw-r--r--  1 root root     3336 10月 15  2024 wp-config-sample.php
drwxr-xr-x  4 root root     4096  4月 14 23:37 wp-content/
-rw-r--r--  1 root root     5617  8月  2  2024 wp-cron.php
drwxr-xr-x 30 root root    12288  4月 30 16:41 wp-includes/
-rw-r--r--  1 root root     2502 11月 26  2022 wp-links-opml.php
-rw-r--r--  1 root root     3937  3月 11  2024 wp-load.php
-rw-r--r--  1 root root    51414  2月  3 16:55 wp-login.php
-rw-r--r--  1 root root     8727  2月  8 16:00 wp-mail.php
-rw-r--r--  1 root root    30081  3月  4 13:06 wp-settings.php
-rw-r--r--  1 root root    34516  3月 10 18:16 wp-signup.php
-rw-r--r--  1 root root     5102 10月 18  2024 wp-trackback.php
-rw-r--r--  1 root root     3205 11月  8  2024 xmlrpc.php

六、搭建?WordPress論壇

您的 PHP 安裝似乎缺少 WordPress 所需的 MySQL 擴展。請檢查 PHP 擴展是否已安裝并啟用。mysqli如果您不確定這些條款的含義,您應該聯系您的房東。如果您仍需要幫助,可以隨時訪問 WordPress 支持論壇。root@xun-virtual-machine:/var/www/html# apt install php-mysqli -y#將文件移動到 Apache 根目錄:
sudo mv wordpress /var/www/html/
sudo chown -R www-data:www-data /var/www/html/wordpress
sudo chmod -R 755 /var/www/html/wordpress#配置 Apache 虛擬主機
#創建配置文件:
sudo vim /etc/apache2/sites-available/wordpress.conf<VirtualHost *:80>ServerAdmin admin@example.comDocumentRoot /var/www/html/wordpressServerName 你的域名或IP<Directory /var/www/html/wordpress>AllowOverride All</Directory>ErrorLog ${APACHE_LOG_DIR}/error.logCustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>#啟用配置并重載 Apache:
sudo a2ensite wordpress.conf
sudo a2enmod rewrite
sudo systemctl restart apache2完成 WordPress 安裝
瀏覽器訪問 http://你的域名或IP。按提示選擇語言,填寫數據庫信息:數據庫名: wordpress用戶名: wordpressuser密碼: 你設置的密碼主機: localhost表前綴: 默認 wp_(可修改)運行安裝,設置站點標題、管理員賬號和密碼。

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/web/84303.shtml
繁體地址,請注明出處:http://hk.pswp.cn/web/84303.shtml
英文地址,請注明出處:http://en.pswp.cn/web/84303.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

JetBrains 2025 全家桶 包含 IDEA、WebStorm、DataGrip、Pycharm、CLion、GoLand、PhpStorm

JetBrains 2025 全家桶 11合1 包含&#xff1a;IDEA、WebStorm、DataSpell、DataGrip、Pycharm、RustRover、CLion、Rider、PhpStorm、RubyMine、GoLand。 原文地址&#xff1a;JetBrains 2025 全家桶 11合1 含 IDEA、PyCharm、DataGrip、WebStrom、GoLand、CLion、PhpStorm、D…

【一手實測】字節豆包 1.6 + Trae + 火山 MCP + FaaS:AI云原生 Agent 開發部署全流程體驗!

原創 Aitrainee AI進修生 2025年06月13日 16:42 湖南 標題已修改 緣起 —— 火山引擎在 2025 原動力大會上&#xff0c;也端出了自家的豆包大模型&#xff1a;Doubao-Seed-1.6 系列。 這三兄弟都支持文本、圖片、視頻輸入&#xff0c;都帶著 256K 的長上下文。 Doubao-Seed-…

Vulkan學習筆記8—頂點輸入描述與頂點緩沖

一、著色器代碼更新及構建時自動編譯著色器腳本 用內存中的頂點緩沖區替換頂點著色器中硬編碼的頂點數據 之前的頂點著色器&#xff1a; #version 450layout(location 0) out vec3 fragColor;// 頂點數據硬編碼 vec2 positions[3] vec2[](vec2(0.0, -0.5),vec2(0.5, 0.5),…

Day04_數據結構(棧鏈棧循環隊列)

01.棧 main.c #include "stack.h" int main() { stack_p S(stack_p)create_stack(); //1.入棧 …

PyTorch 的 CUDA GPU 支持 · 安裝五條鐵律(最新版 2025 修訂)(適用于所有用戶)

相關參考資料&#xff08;往期博客&#xff09;&#xff1a; 是否需要預先安裝 CUDA Toolkit&#xff1f;——按使用場景分級推薦及進階說明-CSDN博客 太方便&#xff0c;WIN系統CUDA12.4下使用conda便捷管理虛擬環境中的不同版本的CUDA、cuDNN、PyTorch-CSDN博客 好消息&#…

Django構建簡易視頻編輯管理系統

Django構建簡易視頻編輯管理系統 以下是基于Django構建簡易視頻編輯管理系統的可運行代碼框架&#xff0c;包含核心功能模塊和實現邏輯。該系統支持視頻上傳、基本剪輯操作和管理功能。 環境準備 安裝必要依賴包&#xff1a; pip install django pillow moviepy django-cri…

Java求職者面試題詳解:計算機網絡、操作系統、設計模式與數據結構

Java求職者面試題詳解&#xff1a;計算機網絡、操作系統、設計模式與數據結構 第一輪&#xff1a;基礎概念問題 1. 請解釋TCP和UDP的區別。 2. 什么是操作系統&#xff1f;它的主要功能是什么&#xff1f; 3. 請解釋設計模式中的單例模式&#xff0c;并給出一個實際應用的例…

【mysql】docker運行mysql8.0

背景 mariadb10.5.8報錯&#xff1a;Error 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘LIMIT ?’ at line 1 所以更換為mysql8.0.39試試 docker run啟動…

C#實現語音預處理:降噪/靜音檢測/自動增益

無論是在音視頻錄制系統&#xff0c;還是音視頻通話系統、或視頻會議系統中&#xff0c;對從麥克風采集到的說話的聲音數據進行預處理&#xff0c;都是是非常必要的。 語音數據預處理主要包括&#xff1a;??降噪&#xff08;Noise Reduction&#xff09;、靜音檢測&#xff0…

組合模式Composite Pattern

模式定義 又稱整體-部分模式 組合多個對象形成 樹形結構 以表示“整體-部分”的結構層次 組合模式對單個對象&#xff08;即葉子對象&#xff09;和組合對象&#xff08;即容器對象&#xff09;的使用具有一致性對象結構型模式 模式結構 Component&#xff1a;抽象構件Leaf&a…

商代大模型:智能重構下的文明曙光與青銅密碼

引言&#xff1a;技術奇點的歷史想象 在人類文明的長河中&#xff0c;技術的進步始終是推動社會變革的核心動力。從青銅冶煉到文字發明&#xff0c;從農業革命到工業革命&#xff0c;每一次技術飛躍都重塑了人類對世界的認知與生存方式。而如今&#xff0c;人工智能的崛起正以…

【Python】python系列之函數作用域

Python 系列文章學習記錄&#xff1a; Python系列之Windows環境安裝配置_開著拖拉機回家的博客-CSDN博客 Python系列之變量和運算符_開著拖拉機回家的博客-CSDN博客 Python系列之判斷和循環_開著拖拉機回家的博客-CSDN博客 Python系列之字符串和列表_開著拖拉機回家的博客…

Unity UI 核心類解析之Graphic

&#x1f9f1; Unity UI 核心類解析&#xff1a;Graphic 類詳解 一、什么是 Graphic&#xff1f; 在 Unity 的 UI 系統中&#xff0c;Graphic 是一個抽象基類&#xff0c;繼承自 UIBehaviour 并實現了 ICanvasElement 接口。它是所有可以被繪制到屏幕上的 UI 元素的基礎類。 …

【Elasticsearch】文檔遷移(Reindex)

文檔遷移 1.為什么要進行 reindex 操作2.Reindex 操作的本質3.實際案例3.1 同集群索引之間的全量數據遷移3.2 同集群索引之間基于特定條件的數據遷移3.2.1 源索引設置檢索條件3.2.2 基于 script 腳本的索引遷移3.2.3 基于預處理管道的數據遷移 3.3 不同集群之間的索引遷移3.4 查…

WordPress 區塊版面配置指南

WordPress 的區塊編輯器(Gutenberg)提供了靈活的版面配置選項&#xff0c;以下是主要配置方法&#xff1a; 基本區塊布局 添加區塊&#xff1a;點擊””按鈕或按”/”鍵快速插入區塊 常用內容區塊&#xff1a; 段落(Paragraph) 標題(Heading) 圖像(Image) 畫廊(Gallery)…

TensorFlow基礎之理解張量

2.理解張量 張量&#xff08;Tensors&#xff09;介紹 張量是物理和工程領域的基礎數學結構。但是過去張量很少在計算機科學里使用。它與離散數學和邏輯學有更多的聯系。隨著機器學習的出現&#xff0c;這種狀態開始顯著的改變&#xff0c;成為連續向量的計算基礎。現代機器學…

Flume 安裝與配置步驟

1.解壓 tar -zxvf apache-flume-1.9.0-bin.tar.gz 2.配置環境變量 vim /etc/profile export FLUME_HOME/home/wang/soft/flume/apache-flume-1.9.0-bin export PATH$PATH:$FLUME_HOME/bin source /etc/profile 3.創建必要的目錄 mkdir -p $FLUME_HOME/conf 4.創建 Flume 配置文…

還原線上 WebView 異常:手機端APP遠程調試

前端調試總被理解為開發階段的事&#xff0c;但在實際項目中&#xff0c;真正困難的調試往往發生在產品上線之后。用戶反饋“看不到內容”、“一直轉圈”、“點了沒反應”&#xff0c;而開發環境無法復現&#xff0c;測試機也正常運行&#xff0c;這時怎么定位、驗證和解決問題…

102頁滿分PPT | 汽車設備制造業企業信息化業務解決方案智能制造汽車黑燈工廠解決方案

這份文檔是一份汽車設備制造業企業信息化業務解決方案&#xff0c;詳細闡述了企業從生產到銷售的全流程信息化建設。針對企業目前手工管理為主、信息化程度低、數據追溯困難等問題&#xff0c;提出了建立統一信息化平臺的目標&#xff0c;涵蓋財務、業務、流程和數據的整合。方…

SQLite 表達式詳解

SQLite 表達式詳解 引言 SQLite 是一個輕量級的數據庫,廣泛用于移動設備和桌面應用程序。SQLite 的表達式是 SQL 語句的核心,它們用于查詢、更新和刪除數據庫中的數據。本文將詳細解釋 SQLite 的各種表達式,并探討它們在數據庫操作中的重要性。 表達式概述 在 SQLite 中…