apache編譯安裝httpd-2.4.54

来源:https://www.cnblogs.com/tushanbu/archive/2022/07/13/16473452.html
-Advertisement-
Play Games

apache編譯安裝 源碼包編譯實例 下麵通過編譯安裝httpd來深入理解源碼包安裝(httpd-2.4.54) 下載編譯工具,httpd以及其兩個依賴包的源碼包 //源碼包建議到官方網站下載 [root@lnh ~]# mkdir xbz [root@lnh ~]# cd xbz/ [root@l ...


apache編譯安裝


目錄

源碼包編譯實例

下麵通過編譯安裝httpd來深入理解源碼包安裝(httpd-2.4.54)

下載編譯工具,httpd以及其兩個依賴包的源碼包

//源碼包建議到官方網站下載

[root@lnh ~]# mkdir xbz
[root@lnh ~]# cd xbz/
[root@lnh xbz]# dnf -y install gcc gcc-c++ make wget
[root@lnh xbz]# wget https://mirrors.aliyun.com/apache/httpd/httpd-2.4.54.tar.gz
[root@lnh xbz]# wget https://mirrors.aliyun.com/apache/apr/apr-1.7.0.tar.gz
[root@lnh xbz]# wget https://mirrors.aliyun.com/apache/apr/apr-util-1.6.1.tar.gz
[root@lnh xbz]# ls
apr-1.7.0.tar.gz  apr-util-1.6.1.tar.gz  httpd-2.4.54.tar.gz

安裝apr

[root@lnh xbz]# ls
apr-1.7.0.tar.gz  apr-util-1.6.1.tar.gz  httpd-2.4.54.tar.gz
[root@lnh xbz]# tar -xf apr-1.7.0.tar.gz 
[root@lnh xbz]# ls 
apr-1.7.0  apr-1.7.0.tar.gz  apr-util-1.6.1.tar.gz  httpd-2.4.54.tar.gz
//將apr解壓到當前目錄
[root@lnh xbz]# cd apr-1.7.0/
[root@lnh apr-1.7.0]# ls
apr-config.in  build-outputs.mk  helpers       misc           strings
apr.dep        CHANGES           include       mmap           support
apr.dsp        CMakeLists.txt    libapr.dep    network_io     tables
apr.dsw        config.layout     libapr.dsp    NOTICE         test
apr.mak        configure         libapr.mak    NWGNUmakefile  threadproc
apr.pc.in      configure.in      libapr.rc     passwd         time
apr.spec       docs              LICENSE       poll           tools
atomic         dso               locks         random         user
build          emacs-mode        Makefile.in   README
build.conf     encoding          Makefile.win  README.cmake
buildconf      file_io           memory        shmem
//進入這個源碼包可以看見裡面被解壓出來的東西
[root@lnh apr-1.7.0]# ./configure --prefix=/usr/local/src/apr
...
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/apr.h
config.status: creating build/apr_rules.mk
config.status: creating build/pkg/pkginfo
config.status: creating apr-1-config
config.status: creating apr.pc
config.status: creating test/Makefile
config.status: creating test/internal/Makefile
config.status: creating include/arch/unix/apr_private.h
config.status: executing libtool commands
rm: cannot remove 'libtoolT': No such file or directory
config.status: executing default commands
//生成Makefile
一般常用的有 --prefix=PREFIX 這個選項的意思是定義軟體包安裝到哪裡
建議,源碼包都是安裝在/opt/目錄下或者/usr/local/src目錄下麵
[root@lnh apr-1.7.0]# make
...
gcc -E -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -I./include -I/root/xbz/apr-1.7.0/include/arch/unix -I./include/arch/unix -I/root/xbz/apr-1.7.0/include/arch/unix -I/root/xbz/apr-1.7.0/include -I/root/xbz/apr-1.7.0/include/private -I/root/xbz/apr-1.7.0/include/private  export_vars.c | sed -e 's/^\#[^!]*//' | sed -e '/^$/d' >> apr.exp
sed 's,^\(location=\).*$,\1installed,' < apr-1-config > apr-config.out
sed -e 's,^\(apr_build.*=\).*$,\1/usr/local/src/apr/build-1,' -e 's,^\(top_build.*=\).*$,\1/usr/local/src/apr/build-1,' < build/apr_rules.mk > build/apr_rules.out
make[1]: Leaving directory '/root/xbz/apr-1.7.0'
//編譯生成Makefile,此處雖然出現了make[1]: Leaving directory '/root/xbz/apr-1.7.0',但是沒關係可以繼續進行下一步安裝
[root@lnh apr-1.7.0]# make install
...
/usr/bin/install -c -m 755 /root/xbz/apr-1.7.0/build/mkdir.sh /usr/local/src/apr/build-1
for f in make_exports.awk make_var_export.awk; do \
    /usr/bin/install -c -m 644 /root/xbz/apr-1.7.0/build/${f} /usr/local/src/apr/build-1; \
done
/usr/bin/install -c -m 644 build/apr_rules.out /usr/local/src/apr/build-1/apr_rules.mk
/usr/bin/install -c -m 755 apr-config.out /usr/local/src/apr/bin/apr-1-config
//進行安裝
[root@lnh apr-1.7.0]# cd /usr/local/src/apr/
[root@lnh apr]# ls
bin  build-1  include  lib
//進入apr的路徑進行查看,預設情況下,系統搜索庫文件的路徑只有/lib,/usr/lib,我們需要進行修改在/etc/ld.so.conf.d/中創建以.conf為尾碼名的文件,而後把要增添的路徑直接寫至此文件中。此時庫文件增添的搜索路徑重啟後有效,若要使用增添的路徑立即生效則要使用ldconfig命令
[root@lnh apr]# cd /etc/ld.so.conf.d/
[root@lnh ld.so.conf.d]# echo /usr/local/src/apr/lib/ >apr.conf
[root@lnh ld.so.conf.d]# cd -
/usr/local/src/apr
//切換到前一個工作目錄
[root@lnh apr]# ldconfig 
//使命令生效
[root@lnh apr]# ln -s /usr/local/src/apr/include/ /usr/include/apr
[root@lnh apr]# ll /usr/include/apr                       
lrwxrwxrwx. 1 root root 27 Jul 12 20:31 /usr/include/apr -> /usr/local/src/apr/include/
//將頭文件軟鏈接到/usr/include目錄下

安裝apr-util

[root@lnh xbz]# dnf -y install expat-devel libxml2-devel pcre-devel
//需要先安裝這個依賴
[root@lnh xbz]# ls
apr-1.7.0  apr-1.7.0.tar.gz  apr-util-1.6.1.tar.gz  httpd-2.4.54.tar.gz
[root@lnh xbz]# tar -xf apr-util-1.6.1.tar.gz 
[root@lnh xbz]# ls
apr-1.7.0         apr-util-1.6.1         httpd-2.4.54.tar.gz
apr-1.7.0.tar.gz  apr-util-1.6.1.tar.gz
//解壓到當前目錄
[root@lnh xbz]# cd apr-util-1.6.1/
[root@lnh apr-util-1.6.1]# ls
aprutil.dep       CHANGES            include         NWGNUmakefile
aprutil.dsp       CMakeLists.txt     ldap            README
aprutil.dsw       config.layout      libaprutil.dep  README.cmake
aprutil.mak       configure          libaprutil.dsp  README.FREETDS
apr-util.pc.in    configure.in       libaprutil.mak  redis
apr-util.spec     crypto             libaprutil.rc   renames_pending
apu-config.in     dbd                LICENSE         strmatch
buckets           dbm                Makefile.in     test
build             docs               Makefile.win    uri
build.conf        encoding           memcache        xlate
buildconf         export_vars.sh.in  misc            xml
build-outputs.mk  hooks              NOTICE
//進入源碼包查看被解壓出來的東西
[root@lnh apr-util-1.6.1]# ./configure --prefix=/usr/local/src/apr-util --with-apr=/usr/local/src/apr
...
configure: creating ./config.status
config.status: creating Makefile
config.status: creating export_vars.sh
config.status: creating build/pkg/pkginfo
config.status: creating apr-util.pc
config.status: creating apu-1-config
config.status: creating include/private/apu_select_dbm.h
config.status: creating include/apr_ldap.h
config.status: creating include/apu.h
config.status: creating include/apu_want.h
config.status: creating test/Makefile
config.status: creating include/private/apu_config.h
config.status: executing default commands
//生成Makefile文件,需要伴隨著上一個指定的依賴
[root@lnh apr-util-1.6.1]# make
...
gcc -E -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -I/root/xbz/apr-util-1.6.1/include -I/root/xbz/apr-util-1.6.1/include/private  -I/usr/local/src/apr/include/apr-1    exports.c | grep "ap_hack_" | sed -e 's/^.*[)]\(.*\);$/\1/' >> aprutil.exp
gcc -E -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -I/root/xbz/apr-util-1.6.1/include -I/root/xbz/apr-util-1.6.1/include/private  -I/usr/local/src/apr/include/apr-1    export_vars.c | sed -e 's/^\#[^!]*//' | sed -e '/^$/d' >> aprutil.exp
sed 's,^\(location=\).*$,\1installed,' < apu-1-config > apu-config.out
make[1]: Leaving directory '/root/xbz/apr-util-1.6.1'
//編譯生成的Makefile文件,出現make[1]: Leaving directory '/root/xbz/apr-util-1.6.1'這個沒有關係可以繼續進行下一步安裝
[root@lnh apr-util-1.6.1]# make install
...
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/usr/bin/install -c -m 644 aprutil.exp /usr/local/src/apr-util/lib
/usr/bin/install -c -m 755 apu-config.out /usr/local/src/apr-util/bin/apu-1-config
//進行安裝
[root@lnh apr-util-1.6.1]# cd /usr/local/src/apr-util/
[root@lnh apr-util]# ls
bin  include  lib
//切換到apr-util安裝目錄進行查看,預設情況下,系統搜索庫文件的路徑只有/lib,/usr/lib,我們需要進行修改在/etc/ld.so.conf.d/中創建以.conf為尾碼名的文件,而後把要增添的路徑直接寫至此文件中。此時庫文件增添的搜索路徑重啟後有效,若要使用增添的路徑立即生效則要使用ldconfig命令
[root@lnh apr-util]# cd /etc/ld.so.conf.d/
[root@lnh ld.so.conf.d]# echo /usr/local/src/apr-util/ >apr-util.conf 
[root@lnh ld.so.conf.d]# cd -
/usr/local/src/apr-util
//切換到上一個工作目錄
[root@lnh apr-util]# ldconfig   //使其生效
[root@lnh apr-util]# ln -s /usr/local/src/apr-util/include/ /usr/include/apr-util
[root@lnh apr-util]# ll /usr/include/apr-util
lrwxrwxrwx. 1 root root 32 Jul 12 21:10 /usr/include/apr-util -> /usr/local/src/apr-util/include   
//將頭文件軟鏈接到/usr/include目錄下

安裝httpd

[root@lnh xbz]# tar -xf httpd-2.4.54.tar.gz 
[root@lnh xbz]# ls
apr-1.7.0         apr-util-1.6.1         httpd-2.4.54
apr-1.7.0.tar.gz  apr-util-1.6.1.tar.gz  httpd-2.4.54.tar.gz
//解壓到當前目錄
[root@lnh xbz]# cd httpd-2.4.54/
[root@lnh httpd-2.4.54]# ls
ABOUT_APACHE     CMakeLists.txt  InstallBin.dsp  README
acinclude.m4     config.layout   LAYOUT          README.CHANGES
Apache-apr2.dsw  configure       libhttpd.dep    README.cmake
Apache.dsw       configure.in    libhttpd.dsp    README.platforms
apache_probes.d  docs            libhttpd.mak    ROADMAP
ap.d             emacs-style     LICENSE         server
build            httpd.dep       Makefile.in     srclib
BuildAll.dsp     httpd.dsp       Makefile.win    support
BuildBin.dsp     httpd.mak       modules         test
buildconf        httpd.spec      NOTICE          VERSIONING
CHANGES          include         NWGNUmakefile
changes-entries  INSTALL         os
//查看被解壓出來的東西
[root@lnh httpd-2.4.54]# ./configure --prefix=/usr/local/src/httpd --with-apr=/usr/local/src/apr --with-apr-util=/usr/local/src/apr-util
...
config.status: creating build/config_vars.sh
config.status: creating include/ap_config_auto.h
config.status: executing default commands
configure: summary of build options:

    Server Version: 2.4.54
    Install prefix: /usr/local/src/httpd
    C compiler:     gcc
    CFLAGS:          -g -O2 -pthread  
    CPPFLAGS:        -DLINUX -D_REENTRANT -D_GNU_SOURCE  
    LDFLAGS:           
    LIBS:             
    C preprocessor: gcc -E

//生成Makefile文件
[root@lnh httpd-2.4.54]# make
...
/usr/local/src/apr/build-1/libtool --silent --mode=link gcc  -g -O2 -pthread           -o mod_rewrite.la -rpath /usr/local/src/httpd/modules -module -avoid-version  mod_rewrite.lo 
make[4]: Leaving directory '/root/xbz/httpd-2.4.54/modules/mappers'
make[3]: Leaving directory '/root/xbz/httpd-2.4.54/modules/mappers'
make[2]: Leaving directory '/root/xbz/httpd-2.4.54/modules'
make[2]: Entering directory '/root/xbz/httpd-2.4.54/support'
make[2]: Leaving directory '/root/xbz/httpd-2.4.54/support'

make[1]: Leaving directory '/root/xbz/httpd-2.4.54'
//編譯生成Makefile文件,出現的一些沒有讀取到的問題沒有關係,繼續進行下一步
[root@lnh httpd-2.4.54]# make install
...
Installing man pages and online manual
mkdir /usr/local/src/httpd/man
mkdir /usr/local/src/httpd/man/man1
mkdir /usr/local/src/httpd/man/man8
mkdir /usr/local/src/httpd/manual
make[1]: Leaving directory '/root/xbz/httpd-2.4.54'
//進行安裝
[root@lnh httpd-2.4.54]# cd /usr/local/src/httpd/
[root@lnh httpd]# ls
bin    cgi-bin  error   icons    logs  manual
build  conf     htdocs  include  man   modules
//切換到httpd的安裝目錄進行查看,預設情況下,系統搜索庫文件的路徑只有/lib,/usr/lib
[root@lnh httpd]# ln -s /usr/local/src/httpd/include/ /usr/include/httpd
[root@lnh httpd]# ll  /usr/include/httpd
lrwxrwxrwx. 1 root root 29 Jul 12 21:23 /usr/include/httpd -> /usr/local/src/httpd/include/
//將頭文件軟鏈接到/usr/include目錄下
[root@lnh httpd]# echo "export PATH=$PATH:/usr/local/src/httpd/bin" > /etc/profile.d/httpd.sh
[root@lnh httpd]# source /etc/profile.d/httpd.sh 
//配置httpd的全局環境變數,並生成效果
[root@lnh httpd]# which httpd 
/usr/local/src/httpd/bin/httpd
[root@lnh httpd]# vim /etc/man_db.conf
MANDATORY_MANPATH                 /usr/man
MANDATORY_MANPATH                 /usr/share/man
MANDATORY_MANPATH                 /usr/local/share/man
MANDATORY_MANPATH                 /usr/local/src/httpd/man
//添加後面這一行
[root@lnh ~]# httpd
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::20c:29ff:fe57:f6f5%ens33. Set the 'ServerName' directive globally to suppress this message
httpd (pid 35719) already running
//啟動服務
[root@lnh ~]#  netstat -antp | grep httpd
tcp6       0      0 :::80                   :::*                    LISTEN      35719/httpd  
[root@lnh ~]# ss -antl
State   Recv-Q  Send-Q   Local Address:Port     Peer Address:Port  Process  
LISTEN  0       128            0.0.0.0:22            0.0.0.0:*              
LISTEN  0       128                  *:80                  *:*              
LISTEN  0       128               [::]:22               [::]:*
//查看埠              
[root@lnh ~]# systemctl stop firewalld.service
//關閉防火牆

服務80埠

將httpd服務加入systemd

[root@lnh ~]# cd /usr/lib/systemd/system
[root@lnh system]# cp sshd.service httpd.service
[root@lnh system]# vim httpd.service 
[Unit]
Description=httpd server daemon   //服務
After=network.target sshd-keygen.target

[Service]
Type=forking
ExecStart=/usr/local/src/httpd/bin/httpd  //服務安裝的地方 開啟
ExecStop=/usr/local/src/httpd/bin/httpd  -s stop  //停止
ExecReload=/bin/kill -HUP $MAINPID   //重新載入併發出信號(對pid對組程式的進程號)可留可刪

[Install]
WantedBy=multi-user.target
[root@lnh system]# systemctl daemon-reload 
//重新載入一下並生效
[root@lnh system]# systemctl status httpd.service 
● httpd.service - httpd server daemon
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor >
   Active: inactive (dead)
//查看一下是否有這個服務
[root@lnh system]# ss -antl
State   Recv-Q  Send-Q   Local Address:Port     Peer Address:Port  Process  
LISTEN  0       128            0.0.0.0:22            0.0.0.0:*              
LISTEN  0       128               [::]:22               [::]:*    
//這裡要確保之前的httpd這個80埠關了,此處沒有就是關了
[root@lnh system]# systemctl enable --now httpd.service 
Created symlink /etc/systemd/system/multi-user.target.wants/httpd.service → /usr/lib/systemd/system/httpd.service.
//表示設置開機自啟的同時候把它立刻啟動
[root@lnh system]# systemctl status httpd.service 
● httpd.service - httpd server daemon
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor p>
   Active: active (running) since Tue 2022-07-12 23:15:02 CST; 2min 11s ago
  Process: 36389 ExecStart=/usr/local/src/httpd/bin/httpd (code=exited, sta>
 Main PID: 36390 (httpd)
    Tasks: 82 (limit: 11205)
   Memory: 24.3M
   CGroup: /system.slice/httpd.service
           ├─36390 /usr/local/src/httpd/bin/httpd
           ├─36391 /usr/local/src/httpd/bin/httpd
           ├─36392 /usr/local/src/httpd/bin/httpd
           └─36393 /usr/local/src/httpd/bin/httpd

Jul 12 23:15:02 lnh systemd[1]: Starting httpd server daemon...
Jul 12 23:15:02 lnh httpd[36389]: AH00558: httpd: Could not reliably determ>
Jul 12 23:15:02 lnh systemd[1]: Started httpd server daemon.
//查看狀態,發現啟動了並且也設置了開機自啟
[root@lnh system]# ss -antl
State   Recv-Q  Send-Q   Local Address:Port     Peer Address:Port  Process  
LISTEN  0       128            0.0.0.0:22            0.0.0.0:*              
LISTEN  0       128                  *:80                  *:*              
LISTEN  0       128               [::]:22               [::]:*    
//查看80埠 
[root@lnh system]# systemctl disable httpd.service 
Removed /etc/systemd/system/multi-user.target.wants/httpd.service.
//關閉開機自啟         

源碼編譯報錯信息處理

checking for APR... no
configure: error: APR not found.  Please read the documentation.
//解決方案
[root@lnh xbz]# wget https://mirrors.aliyun.com/apache/apr/apr-1.7.0.tar.gz
[root@lnh xbz]# wget https://mirrors.aliyun.com/apache/apr/apr-util-1.6.1.tar.gz
提前把這兩個依賴包安裝好才可以進行生成Makefile文件

無法進行生成兩個依賴包的Makefile文件
//解決方案
[root@lnh xbz]# dnf -y install gcc gcc-c++ make wget
提前下載編譯工具

[root@lnh ~]#  netstat -antp | grep httpd
-bash: netstat: command not found
//解決方案
[root@lnh ~]# dnf provides netstat
dnf -y install net-tools-2.0-0.52.20160912git.el8.x86_64
//尋找需要的包併進行下載

您的分享是我們最大的動力!

-Advertisement-
Play Games
更多相關文章
  • SecureCRT for Mac適用於Windows,Mac和Linux的 SecureCRT客戶端為計算專業人員提供了堅如磐石的終端模擬,通過高級會話管理提高了工作效率,並提供了一系列節省時間和簡化重覆性任務的方法。SecureCRT為組織中的每個人提供安全的遠程訪問,文件傳輸和數據隧道。無論您 ...
  • Nik Collection 中文版是一款ps濾鏡插件套裝,其包含了七款ps插件,功能涵蓋修圖、調色、降噪、膠片濾鏡等方面。Nik Collection 作為很多攝影師和攝影愛好者所熟悉的一大照片後期處理軟體,Nik Collection優異的實用性在照片處理時展現出了強大的功能性。因此,也成為很多 ...
  • 鏡像下載、功能變數名稱解析、時間同步請點擊 阿裡雲開源鏡像站 前言 本文介紹如何在ubuntu上部署k8s集群,大致可以分為如下幾個步驟 修改ubuntu配置 安裝docker 安裝kubeadm、kubectl以及kubelet 配置master節點 將slave節點加入網路 因為k8s分為管理節點和工作 ...
  • Sketch for mac中文版是一個創新的矢量繪圖軟體,擁有簡約的設計,調色板,面板,菜單,視窗和控制項和功能強大的矢量繪圖和文字工具,包含完美的布爾運算,符號,和強大的標尺,參考線和網格;非常適合網頁設計和移動設計者使用。 詳情:Sketch for mac(矢量繪圖UI設計軟體) 軟體特色 1 ...
  • Camtasia 2022 for Mac是應用在Mac上的頂級屏幕錄像視頻編輯軟體,使用Camtasia 2022Mac版可以輕鬆記錄屏幕上的活動,Keynote幻燈片,攝像機視頻,麥克風或系統音頻 - 所有的清晰度都令人耳目一新。最新版的Camtasia 2022增加了超過99個新的過渡以及運動 ...
  • 控制服務和守護進程 systemd簡介 systemd是用戶空間的第一個應用程式,即/sbin/init init程式的三種風格 SysV⻛格:init(centos5),實現系統初始化時,隨後的初始化操作都是藉助於腳本來實現的,(/etc/inittab) Upstart風格:init(cento ...
  • WebStorm for Mac的最新中文版被稱為最好用的Web前端開發神器。WebStorm 新版對JavaScript,TypeScript和CSS支持更好,改進了Vue.js的體驗,併為Jest集成增加了新功能。 詳情:WebStorm for Mac(JavaScript開發工具) 功能介紹 ...
  • win10系統之中是可以支持用戶同時運行多個桌面的畢竟一個桌面根本滿足不了我們平時的使用需求,所以可以經常需要多開一個桌面去放置不同的文件,可是並不是所有的小伙伴都知道桌面使用win10雙桌面,所以今天就為大家帶來了win10切換雙桌面的方法,希望對大家有所幫助。 具體步驟如下: 1.新桌面的建立有 ...
一周排行
    -Advertisement-
    Play Games
  • 示例項目結構 在 Visual Studio 中創建一個 WinForms 應用程式後,項目結構如下所示: MyWinFormsApp/ │ ├───Properties/ │ └───Settings.settings │ ├───bin/ │ ├───Debug/ │ └───Release/ ...
  • [STAThread] 特性用於需要與 COM 組件交互的應用程式,尤其是依賴單線程模型(如 Windows Forms 應用程式)的組件。在 STA 模式下,線程擁有自己的消息迴圈,這對於處理用戶界面和某些 COM 組件是必要的。 [STAThread] static void Main(stri ...
  • 在WinForm中使用全局異常捕獲處理 在WinForm應用程式中,全局異常捕獲是確保程式穩定性的關鍵。通過在Program類的Main方法中設置全局異常處理,可以有效地捕獲並處理未預見的異常,從而避免程式崩潰。 註冊全局異常事件 [STAThread] static void Main() { / ...
  • 前言 給大家推薦一款開源的 Winform 控制項庫,可以幫助我們開發更加美觀、漂亮的 WinForm 界面。 項目介紹 SunnyUI.NET 是一個基於 .NET Framework 4.0+、.NET 6、.NET 7 和 .NET 8 的 WinForm 開源控制項庫,同時也提供了工具類庫、擴展 ...
  • 說明 該文章是屬於OverallAuth2.0系列文章,每周更新一篇該系列文章(從0到1完成系統開發)。 該系統文章,我會儘量說的非常詳細,做到不管新手、老手都能看懂。 說明:OverallAuth2.0 是一個簡單、易懂、功能強大的許可權+可視化流程管理系統。 有興趣的朋友,請關註我吧(*^▽^*) ...
  • 一、下載安裝 1.下載git 必須先下載並安裝git,再TortoiseGit下載安裝 git安裝參考教程:https://blog.csdn.net/mukes/article/details/115693833 2.TortoiseGit下載與安裝 TortoiseGit,Git客戶端,32/6 ...
  • 前言 在項目開發過程中,理解數據結構和演算法如同掌握蓋房子的秘訣。演算法不僅能幫助我們編寫高效、優質的代碼,還能解決項目中遇到的各種難題。 給大家推薦一個支持C#的開源免費、新手友好的數據結構與演算法入門教程:Hello演算法。 項目介紹 《Hello Algo》是一本開源免費、新手友好的數據結構與演算法入門 ...
  • 1.生成單個Proto.bat內容 @rem Copyright 2016, Google Inc. @rem All rights reserved. @rem @rem Redistribution and use in source and binary forms, with or with ...
  • 一:背景 1. 講故事 前段時間有位朋友找到我,說他的窗體程式在客戶這邊出現了卡死,讓我幫忙看下怎麼回事?dump也生成了,既然有dump了那就上 windbg 分析吧。 二:WinDbg 分析 1. 為什麼會卡死 窗體程式的卡死,入口門檻很低,後續往下分析就不一定了,不管怎麼說先用 !clrsta ...
  • 前言 人工智慧時代,人臉識別技術已成為安全驗證、身份識別和用戶交互的關鍵工具。 給大家推薦一款.NET 開源提供了強大的人臉識別 API,工具不僅易於集成,還具備高效處理能力。 本文將介紹一款如何利用這些API,為我們的項目添加智能識別的亮點。 項目介紹 GitHub 上擁有 1.2k 星標的 C# ...