0

0

Solaris10(x86)构建Oracle10gRAC之--配置系统环境(1)

php中文网

php中文网

发布时间:2016-06-07 14:55:49

|

1342人浏览过

|

来源于php中文网

原创

Solaris 10(x86)构建Oracle 10g RAC之--配置系统环境(1) 系统环境: 操作系统:Solaris 10(x86-64) Cluster: Oracle CRS 10.2.0.1.0 Oracle: Oracle 10.2.0.1.0 如图所示:RAC 系统架构 650) this.width=650;" src="http://www.68idc.cn/help/uploads/

Solaris 10(x86)构建Oracle 10g RAC之--配置系统环境(1)

系统环境:

操作系统:Solaris 10(x86-64)

Cluster: Oracle CRS 10.2.0.1.0

Oracle:  Oracle 10.2.0.1.0


如图所示:RAC 系统架构

wKiom1S_b-OSHjhcAAGktznT6W4920.jpg

        本案例,通过Solairs 10(x86-64)系统,构建Oracle 10g 的RAC;共享存储采用RAW+ASM的方式进行管理。

一、操作系统环境

[root@node1:/]# uname -a 

SunOS node1 5.10 Generic_142910-17 i86pc i386 i86pc

[root@node1:/]# isainfo -kv

64-bit amd64 kernel modules

1、网络配置(在所有节点)

[root@node1:/]# cat /etc/inet/ipnodes 
#
# Internet host table
#
::1     localhost       
127.0.0.1       localhost       
192.168.8.11    node1   loghost
192.168.8.13    node1-vip
10.10.10.11     node1-priv
192.168.8.12   node2
192.168.8.14   node2-vip
10.10.10.12    node2-priv

网络配置:

配置vip network(node1):
[root@node1:/]# ifconfig e1000g0:1 plumb up
[root@node1:/]# ifconfig e1000g0:1 192.168.8.13 netmask 255.255.255.0
[root@node1:/]# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000 
e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 192.168.8.11 netmask ffffff00 broadcast 192.168.8.255
        ether 8:0:27:28:b1:8c 
e1000g0:1: flags=4001000842<BROADCAST,RUNNING,MULTICAST,IPv4,DUPLICATE> mtu 1500 index 2
        inet 192.168.8.13 netmask ffffff00 broadcast 192.168.8.255
e1000g1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        inet 10.10.10.11 netmask ffffff00 broadcast 10.10.10.255
        ether 8:0:27:6e:16:1 
        
配置vip network(node2):
[root@node2:/]# ifconfig e1000g0:1 plumb up
[root@node2:/]# ifconfig e1000g0:1 192.168.8.14 netmask 255.255.255.0     
[root@node2:/]# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000 
e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 192.168.8.12 netmask ffffff00 broadcast 192.168.8.255
        ether 8:0:27:1f:bf:4c 
e1000g0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 192.168.8.14 netmask ffffff00 broadcast 192.168.8.255
e1000g1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        inet 10.10.10.12 netmask ffffff00 broadcast 10.10.10.255
        ether 8:0:27:a5:2c:db

2、共享磁盘配置(在所有节点)

对于Oracle 10g RAC,OCR和VOTE DISK、DataBase需建立在共享存储设备上;OCR和VOTE DISK必须以raw的方式管理,而存放DataBase的磁盘必须以ASM的方式管理。

1、建立磁盘分区(raw)(在node1)

在Solaris下建立raw应注意以下事项:

Use the fdisk command to create a Solaris partition on the disk if one does not already exist.
Solaris fdisk partitions must start at cylinder 1, not cylinder 0. If you create an fdisk partition, then you must label the disk before continuing.
Enter the partition command, followed by the print command to display the partition table for the disk that you want to use.
If necessary, create a single whole-disk slice, starting at cylinder 1.
Note:
To prevent Automatic Storage Management from overwriting the partition table, you cannot use slices that start at cylinder 0 (for example, slice 2).
注意:
  在建立磁盘分区时,必须从cylinder 1开始,不能从cylinder 0开始!
建立磁盘分区
[root@node1:/]# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
       0. c0t0d0 <DEFAULT cyl 2607 alt 2 hd 255 sec 63>
          /pci@0,0/pci8086,2829@d/disk@0,0
       1. c0t2d0 <DEFAULT cyl 2608 alt 2 hd 255 sec 63>
          /pci@0,0/pci8086,2829@d/disk@2,0
Specify disk (enter its number): 1
selecting c0t2d0
[disk formatted]

format> p
WARNING - This disk may be in use by an application that has
          modified the fdisk table. Ensure that this disk is
          not currently in use before proceeding to use fdisk.
          
format> fdisk 
No fdisk table exists. The default partition for the disk is:
  a 100% "SOLARIS System" partition
Type "y" to accept the default partition,  otherwise type "n" to edit the
 partition table.
y
format> p
PARTITION MENU:
        0      - change `0' partition
        1      - change `1' partition
        2      - change `2' partition
        3      - change `3' partition
        4      - change `4' partition
        5      - change `5' partition
        6      - change `6' partition
        7      - change `7' partition
        select - select a predefined table
        modify - modify a predefined partition table
        name   - name the current table
        print  - display the current table
        label  - write partition map and label to the disk
        !<cmd> - execute <cmd>, then return
        quit

partition> p
Current partition table (original):
Total disk cylinders available: 2607 + 2 (reserved cylinders)
Part      Tag    Flag     Cylinders        Size            Blocks
  0 unassigned    wm       0               0         (0/0/0)           0
  1 unassigned    wm       0               0         (0/0/0)           0
  2     backup    wu       0 - 2606       19.97GB    (2607/0/0) 41881455
  3 unassigned    wm       0               0         (0/0/0)           0
  4 unassigned    wm       0               0         (0/0/0)           0
  5 unassigned    wm       0               0         (0/0/0)           0
  6 unassigned    wm       0               0         (0/0/0)           0
  7 unassigned    wm       0               0         (0/0/0)           0
  8       boot    wu       0 -    0        7.84MB    (1/0/0)       16065
  9 unassigned    wm       0               0         (0/0/0)           0
partition> 0
Part      Tag    Flag     Cylinders        Size            Blocks
  0 unassigned    wm       0 -   16      133.35MB    (17/0/0)     273105
Enter partition id tag[unassigned]: 
Enter partition permission flags[wm]: 
Enter new starting cyl[0]: 1
Enter partition size[273105b, 17c, 17e, 133.35mb, 0.13gb]: 128mb

partition> 1
Part      Tag    Flag     Cylinders        Size            Blocks
  1 unassigned    wm       0 -   16      133.35MB    (17/0/0)     273105
Enter partition id tag[unassigned]: 
Enter partition permission flags[wm]: 
Enter new starting cyl[0]: 18
Enter partition size[273105b, 17c, 34e, 133.35mb, 0.13gb]: 128mb

partition> 3
Part      Tag    Flag     Cylinders        Size            Blocks
  3 unassigned    wm       0 -  652        5.00GB    (653/0/0)  10490445
Enter partition id tag[unassigned]: 
Enter partition permission flags[wm]: 
Enter new starting cyl[0]: 35
Enter partition size[10490445b, 653c, 687e, 5122.29mb, 5.00gb]: 5gb

partition> 4
Part      Tag    Flag     Cylinders        Size            Blocks
  4 unassigned    wm       0 -  652        5.00GB    (653/0/0)  10490445
Enter partition id tag[unassigned]:    
Enter partition permission flags[wm]: 
Enter new starting cyl[0]: 688
Enter partition size[10490445b, 653c, 1340e, 5122.29mb, 5.00gb]: 5gb

partition> 6
Part      Tag    Flag     Cylinders        Size            Blocks
  6 unassigned    wm       0 -  522        4.01GB    (523/0/0)   8401995
Enter partition id tag[unassigned]: 
Enter partition permission flags[wm]: 
Enter new starting cyl[0]: 689
Enter partition size[8401995b, 523c, 1211e, 4102.54mb, 4.01gb]: 4gb

partition> 7
Part      Tag    Flag     Cylinders        Size            Blocks
  7 unassigned    wm       0 -  522        4.01GB    (523/0/0)   8401995
Enter partition id tag[unassigned]: 
Enter partition permission flags[wm]: 
Enter new starting cyl[0]: 1212
Enter partition size[8401995b, 523c, 1734e, 4102.54mb, 4.01gb]: 4gb

partition> p
Current partition table (unnamed):
Total disk cylinders available: 2607 + 2 (reserved cylinders)
Part      Tag    Flag     Cylinders        Size            Blocks
  0 unassigned    wm       1 -   17      133.35MB    (17/0/0)     273105
  1 unassigned    wm      18 -   34      133.35MB    (17/0/0)     273105
  2     backup    wu       0 - 2606       19.97GB    (2607/0/0) 41881455
  3 unassigned    wm      35 -  687        5.00GB    (653/0/0)  10490445
  4 unassigned    wm     688 - 1340        5.00GB    (653/0/0)  10490445
  5 unassigned    wm       0               0         (0/0/0)           0
  6 unassigned    wm     689 - 1211        4.01GB    (523/0/0)   8401995
  7 unassigned    wm    1212 - 1734        4.01GB    (523/0/0)   8401995
  8       boot    wu       0 -    0        7.84MB    (1/0/0)       16065
  9 unassigned    wm       0               0         (0/0/0)           0

partition> label
Ready to label disk, continue? y

partition> partition> quit

format> verify
Primary label contents:
Volume name = <        >
ascii name  = <DEFAULT cyl 2607 alt 2 hd 255 sec 63>
pcyl        = 2609
ncyl        = 2607
acyl        =    2
bcyl        =    0
nhead       =  255
nsect       =   63
Part      Tag    Flag     Cylinders        Size            Blocks
  0 unassigned    wm       1 -   17      133.35MB    (17/0/0)     273105
  1 unassigned    wm      18 -   34      133.35MB    (17/0/0)     273105
  2     backup    wu       0 - 2606       19.97GB    (2607/0/0) 41881455
  3 unassigned    wm      35 -  687        5.00GB    (653/0/0)  10490445
  4 unassigned    wm     688 - 1340        5.00GB    (653/0/0)  10490445
  5 unassigned    wm       0               0         (0/0/0)           0
  6 unassigned    wm     689 - 1211        4.01GB    (523/0/0)   8401995
  7 unassigned    wm    1212 - 1734        4.01GB    (523/0/0)   8401995
  8       boot    wu       0 -    0        7.84MB    (1/0/0)       16065
  9 unassigned    wm       0               0         (0/0/0)           0
format> save
Please name this partition type before saving it
format> quit

查看raw设备:
[root@node1:/]# ls -l /dev/rdsk/c0t2d0s*
lrwxrwxrwx   1 root     root          51 Jan 20 15:18 /dev/rdsk/c0t2d0s0 -> ../../devices/pci@0,0/pci8086,2829@d/disk@2,0:a,raw
lrwxrwxrwx   1 root     root          51 Jan 20 15:18 /dev/rdsk/c0t2d0s1 -> ../../devices/pci@0,0/pci8086,2829@d/disk@2,0:b,raw
lrwxrwxrwx   1 root     root          51 Jan 20 15:18 /dev/rdsk/c0t2d0s2 -> ../../devices/pci@0,0/pci8086,2829@d/disk@2,0:c,raw
lrwxrwxrwx   1 root     root          51 Jan 20 15:18 /dev/rdsk/c0t2d0s3 -> ../../devices/pci@0,0/pci8086,2829@d/disk@2,0:d,raw
lrwxrwxrwx   1 root     root          51 Jan 20 15:18 /dev/rdsk/c0t2d0s4 -> ../../devices/pci@0,0/pci8086,2829@d/disk@2,0:e,raw
lrwxrwxrwx   1 root     root          51 Jan 20 15:18 /dev/rdsk/c0t2d0s5 -> ../../devices/pci@0,0/pci8086,2829@d/disk@2,0:f,raw
lrwxrwxrwx   1 root     root          51 Jan 20 15:18 /dev/rdsk/c0t2d0s6 -> ../../devices/pci@0,0/pci8086,2829@d/disk@2,0:g,raw
lrwxrwxrwx   1 root     root          51 Jan 20 15:18 /dev/rdsk/c0t2d0s7 -> ../../devices/pci@0,0/pci8086,2829@d/disk@2,0:h,raw
......

在node2上查看:
[root@node2:/]# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
       0. c0t0d0 <DEFAULT cyl 2607 alt 2 hd 255 sec 63>
          /pci@0,0/pci8086,2829@d/disk@0,0
       1. c0t2d0 <DEFAULT cyl 2607 alt 2 hd 255 sec 63>
          /pci@0,0/pci8086,2829@d/disk@2,0
Specify disk (enter its number): 1
selecting c0t2d0
[disk formatted]

partition> p
Current partition table (original):
Total disk cylinders available: 2607 + 2 (reserved cylinders)
Part      Tag    Flag     Cylinders        Size            Blocks
  0 unassigned    wm       1 -   17      133.35MB    (17/0/0)     273105
  1 unassigned    wm      18 -   34      133.35MB    (17/0/0)     273105
  2     backup    wu       0 - 2606       19.97GB    (2607/0/0) 41881455
  3 unassigned    wm      35 -  687        5.00GB    (653/0/0)  10490445
  4 unassigned    wm     688 - 1340        5.00GB    (653/0/0)  10490445
  5 unassigned    wm       0               0         (0/0/0)           0
  6 unassigned    wm     689 - 1211        4.01GB    (523/0/0)   8401995
  7 unassigned    wm    1212 - 1734        4.01GB    (523/0/0)   8401995
  8       boot    wu       0 -    0        7.84MB    (1/0/0)       16065
  9 unassigned    wm       0               0         (0/0/0)           0

2、修改raw设备属性(所有node)

MusicAI
MusicAI

AI音乐生成工具

下载

修改raw属性(所有node):
[root@node1:/]# chown oracle:dba /dev/rdsk/c0t2d0s*
[root@node1:/]# chmod 660 /dev/rdsk/c0t2d0s*
[root@node1:/]# ls -l  /devices/pci@0,0/pci8086,2829@d/disk@2,0:e,raw
crw-rw----   1 oracle   dba       30, 132 Jan 21 10:35 /devices/pci@0,0/pci8086,2829@d/disk@2,0:e,raw
[root@node1:/]# 

建立OCR和VOTE磁盘链接(所有node):
[root@node1:/]# mkdir /oracle
[root@node1:/]# chown oracle:dba /oracle
[root@node1:/]# su - oracle
Oracle Corporation      SunOS 5.10      Generic Patch   January 2005
[oracle@node1:/export/home/oracle]$ cd /oracle
[oracle@node1:/oracle]$ ln -s /devices/pci@0,0/pci8086,2829@d/disk@2,0:a,raw ocr
[oracle@node1:/oracle]$ ln -s /devices/pci@0,0/pci8086,2829@d/disk@2,0:b,raw vote
[oracle@node1:/oracle]$ ls -l
total 4
lrwxrwxrwx   1 oracle   oinstall      46 Jan 21 11:11 ocr -> /devices/pci@0,0/pci8086,2829@d/disk@2,0:a,raw
lrwxrwxrwx   1 oracle   oinstall      46 Jan 21 11:11 vote -> /devices/pci@0,0/pci8086,2829@d/disk@2,0:b,raw

 3、建立Oracle用户和组(所有node):

[root@node1:/]# groupadd -g 200 oinstall
[root@node1:/]# groupadd -g 205 dba
[root@node1:/]# useradd -u 200 -g oinstall -G dba -d /export/home/oracle -m  -s /usr/bin/bash oracle
64 blocks
[root@node1:/]# id oracle
uid=200(oracle) gid=200(oinstall)
[root@node1:/]# su - oracle
Oracle Corporation      SunOS 5.10      Generic Patch   January 2005

[oracle@node1:/export/home/oracle]$ pwd 
/export/home/oracle

[root@node1:/]# passwd oracle

passwd: password successfully changed for oracle

建立CRS和Oracle软件安装目录:
[root@node1:/]# mkdir /export/home/ora10
[root@node1:/]# chown -R oracle:dba /export/home/ora10
[root@node1:/]# mkdir -p /export/home/crs_1
[root@node1:/]# chown -R oracle:dba /export/home/crs_1

配置Oracle用户环境变量:
[oracle@node1:/export/home/oracle]$ cat .profile
#       This is the default standard profile provided to a user.
#       They are expected to edit it to meet their own needs.

MAIL=/usr/mail/${LOGNAME:?}
ORACLE_BASE=/export/home/ora10
ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1
ORACLE_CRS_HOME=/export/home/crs_1
ORACLE_SID=prod1       ;;ORACLE_SID=prod2  (node2)
PATH=$PATH:/usr/ccs/bin:/usr/local/bin:/usr/local/sbin:$ORACLE_HOME/bin
export  ORACLE_BASE ORACLE_HOME ORACLE_SID PATH ORACLE_CRS_HOME

确认nobody用户:
[root@node1:/]# id nobody
uid=60001(nobody) gid=60001(nobody)

4、配置内核参数(所有node):

[root@node1:/]# cat /etc/system
set semsys:seminfo_semmni=100
set semsys:seminfo_semmns=1024
set semsys:seminfo_semmsl=256
set semsys:seminfo_semvmx=32767
set shmsys:shminfo_shmmax=4294967295
set shmsys:shminfo_shmmni=100

5、检查软件包的安装(所有node)

1、检查系统所需的软件包:

[root@node2:/]# pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibm SUNWlibms SUNWsprot SUNWtoo SUNWi1of SUNWi1cs SUNWi15cs SUNWxwfnt
system      SUNWarc   Lint Libraries (usr)
system      SUNWbtool CCS tools bundled with SunOS
system      SUNWhea   SunOS Header Files
system      SUNWi1of  ISO-8859-1 (Latin-1) Optional Fonts
system      SUNWlibm  Math & Microtasking Library Headers & Lint Files (Usr)
system      SUNWlibms Math & Microtasking Libraries (Usr)
system      SUNWsprot Solaris Bundled tools
system      SUNWtoo   Programming Tools
system      SUNWxwfnt X Window System platform required fonts
ERROR: information for "SUNWi1cs" was not found
ERROR: information for "SUNWi15cs" was not found

安装软件包(挂载Solaris系统盘):
[oracle@node1:/export/home/oracle]$ su -
Password: 
Oracle Corporation      SunOS 5.10      Generic Patch   January 2005

[root@node1:/]# ls /cdrom
cdrom0          sol_10_910_x86

[root@node1:/cdrom/sol_10_910_x86/Solaris_10/Product]# pwd    
/cdrom/sol_10_910_x86/Solaris_10/Product

安装软件:

[root@node1:/cdrom/sol_10_910_x86/Solaris_10/Product]# pkgadd -d /cdrom/sol_10_910_x86/Solaris_10/Product SUNWi1cs

Processing package instance <SUNWi1cs> from </cdrom/sol_10_910_x86/Solaris_10/Product>
X11 ISO8859-1 Codeset Support(i386) 2.0,REV=2004.10.17.15.04
Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Using </> as the package base directory.
## Processing package information.
## Processing system information.
   8 package pathnames are already properly installed.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of <SUNWi1cs> [y,n,?] y
Installing X11 ISO8859-1 Codeset Support as <SUNWi1cs>
## Installing part 1 of 1.
232 blocks
Installation of <SUNWi1cs> was successful.

[root@node1:/cdrom/sol_10_910_x86/Solaris_10/Product]# pkgadd -d /cdrom/sol_10_910_x86/Solaris_10/Product SUNWi15cs

Processing package instance <SUNWi15cs> from </cdrom/sol_10_910_x86/Solaris_10/Product>
X11 ISO8859-15 Codeset Support(i386) 2.0,REV=2004.10.17.15.04
Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Using </> as the package base directory.
## Processing package information.
## Processing system information.
   6 package pathnames are already properly installed.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of <SUNWi15cs> [y,n,?] y
Installing X11 ISO8859-15 Codeset Support as <SUNWi15cs>
## Installing part 1 of 1.
1460 blocks
Installation of <SUNWi15cs> was successful.

再次检查软件:
[root@node2:/]# pkginfo -i SUNWi1cs SUNWi15cs
system      SUNWi15cs X11 ISO8859-15 Codeset Support
system      SUNWi1cs  X11 ISO8859-1 Codeset Support

---未完,待续。。。

热门AI工具

更多
DeepSeek
DeepSeek

幻方量化公司旗下的开源大模型平台

豆包大模型
豆包大模型

字节跳动自主研发的一系列大型语言模型

通义千问
通义千问

阿里巴巴推出的全能AI助手

腾讯元宝
腾讯元宝

腾讯混元平台推出的AI助手

文心一言
文心一言

文心一言是百度开发的AI聊天机器人,通过对话可以生成各种形式的内容。

讯飞写作
讯飞写作

基于讯飞星火大模型的AI写作工具,可以快速生成新闻稿件、品宣文案、工作总结、心得体会等各种文文稿

即梦AI
即梦AI

一站式AI创作平台,免费AI图片和视频生成。

ChatGPT
ChatGPT

最最强大的AI聊天机器人程序,ChatGPT不单是聊天机器人,还能进行撰写邮件、视频脚本、文案、翻译、代码等任务。

相关专题

更多
JavaScript浏览器渲染机制与前端性能优化实践
JavaScript浏览器渲染机制与前端性能优化实践

本专题围绕 JavaScript 在浏览器中的执行与渲染机制展开,系统讲解 DOM 构建、CSSOM 解析、重排与重绘原理,以及关键渲染路径优化方法。内容涵盖事件循环机制、异步任务调度、资源加载优化、代码拆分与懒加载等性能优化策略。通过真实前端项目案例,帮助开发者理解浏览器底层工作原理,并掌握提升网页加载速度与交互体验的实用技巧。

23

2026.03.06

Rust内存安全机制与所有权模型深度实践
Rust内存安全机制与所有权模型深度实践

本专题围绕 Rust 语言核心特性展开,深入讲解所有权机制、借用规则、生命周期管理以及智能指针等关键概念。通过系统级开发案例,分析内存安全保障原理与零成本抽象优势,并结合并发场景讲解 Send 与 Sync 特性实现机制。帮助开发者真正理解 Rust 的设计哲学,掌握在高性能与安全性并重场景中的工程实践能力。

68

2026.03.05

PHP高性能API设计与Laravel服务架构实践
PHP高性能API设计与Laravel服务架构实践

本专题围绕 PHP 在现代 Web 后端开发中的高性能实践展开,重点讲解基于 Laravel 框架构建可扩展 API 服务的核心方法。内容涵盖路由与中间件机制、服务容器与依赖注入、接口版本管理、缓存策略设计以及队列异步处理方案。同时结合高并发场景,深入分析性能瓶颈定位与优化思路,帮助开发者构建稳定、高效、易维护的 PHP 后端服务体系。

162

2026.03.04

AI安装教程大全
AI安装教程大全

2026最全AI工具安装教程专题:包含各版本AI绘图、AI视频、智能办公软件的本地化部署手册。全篇零基础友好,附带最新模型下载地址、一键安装脚本及常见报错修复方案。每日更新,收藏这一篇就够了,让AI安装不再报错!

84

2026.03.04

Swift iOS架构设计与MVVM模式实战
Swift iOS架构设计与MVVM模式实战

本专题聚焦 Swift 在 iOS 应用架构设计中的实践,系统讲解 MVVM 模式的核心思想、数据绑定机制、模块拆分策略以及组件化开发方法。内容涵盖网络层封装、状态管理、依赖注入与性能优化技巧。通过完整项目案例,帮助开发者构建结构清晰、可维护性强的 iOS 应用架构体系。

113

2026.03.03

C++高性能网络编程与Reactor模型实践
C++高性能网络编程与Reactor模型实践

本专题围绕 C++ 在高性能网络服务开发中的应用展开,深入讲解 Socket 编程、多路复用机制、Reactor 模型设计原理以及线程池协作策略。内容涵盖 epoll 实现机制、内存管理优化、连接管理策略与高并发场景下的性能调优方法。通过构建高并发网络服务器实战案例,帮助开发者掌握 C++ 在底层系统与网络通信领域的核心技术。

29

2026.03.03

Golang 测试体系与代码质量保障:工程级可靠性建设
Golang 测试体系与代码质量保障:工程级可靠性建设

Go语言测试体系与代码质量保障聚焦于构建工程级可靠性系统。本专题深入解析Go的测试工具链(如go test)、单元测试、集成测试及端到端测试实践,结合代码覆盖率分析、静态代码扫描(如go vet)和动态分析工具,建立全链路质量监控机制。通过自动化测试框架、持续集成(CI)流水线配置及代码审查规范,实现测试用例管理、缺陷追踪与质量门禁控制,确保代码健壮性与可维护性,为高可靠性工程系统提供质量保障。

79

2026.02.28

Golang 工程化架构设计:可维护与可演进系统构建
Golang 工程化架构设计:可维护与可演进系统构建

Go语言工程化架构设计专注于构建高可维护性、可演进的企业级系统。本专题深入探讨Go项目的目录结构设计、模块划分、依赖管理等核心架构原则,涵盖微服务架构、领域驱动设计(DDD)在Go中的实践应用。通过实战案例解析接口抽象、错误处理、配置管理、日志监控等关键工程化技术,帮助开发者掌握构建稳定、可扩展Go应用的最佳实践方法。

62

2026.02.28

Golang 性能分析与运行时机制:构建高性能程序
Golang 性能分析与运行时机制:构建高性能程序

Go语言以其高效的并发模型和优异的性能表现广泛应用于高并发、高性能场景。其运行时机制包括 Goroutine 调度、内存管理、垃圾回收等方面,深入理解这些机制有助于编写更高效稳定的程序。本专题将系统讲解 Golang 的性能分析工具使用、常见性能瓶颈定位及优化策略,并结合实际案例剖析 Go 程序的运行时行为,帮助开发者掌握构建高性能应用的关键技能。

51

2026.02.28

热门下载

更多
网站特效
/
网站源码
/
网站素材
/
前端模板

精品课程

更多
相关推荐
/
热门推荐
/
最新课程
Vue 教程
Vue 教程

共42课时 | 9.3万人学习

PostgreSQL 教程
PostgreSQL 教程

共48课时 | 10.3万人学习

Django 教程
Django 教程

共28课时 | 4.8万人学习

关于我们 免责申明 举报中心 意见反馈 讲师合作 广告合作 最新更新
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送

Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号