Linux 系统 部署weblogic(新手版)

Linux 系统 部署weblogic(新手版)
一、
1、如果原环境有jdk则需要卸载。
   先用命令查看
 

  rpm  -qa|grep  java  如果有jdk则需要卸载

  rpm  -e  --nodeps java-1.7.0-openjdk-1.7.0.191-2.6.15.5.el7.x86_64
  rpm  -e  --nodeps java-1.8.0-openjdk-headless-1.8.0.181-7.b13.el7.x86_64
  rpm  -e  --nodeps java-1.8.0-openjdk-1.8.0.181-7.b13.el7.x86_64
  rpm  -e  --nodeps java-1.7.0-openjdk-headless-1.7.0.191-2.6.15.5.el7.x86_64

 卸载完成,安装新的jdk,将jdk上传到服务器上

 cd /usr/local
 解压并修改名称

mv  jdk1.8.0_333/  java

 配置jdk环境变量
 vi /etc/profile
   

    JAVA_HOME=/usr/local/java
    CLASSPATH=.:$JAVA_HOME/lib.tools.jar
    PATH=$JAVA_HOME/bin:$PATH
    export JAVA_HOME CLASSPATH PATH 

[root@localhost local]# source /etc/profile
[root@localhost local]# java -version
java version "1.8.0_333"
Java(TM) SE Runtime Environment (build 1.8.0_333-b02)
Java HotSpot(TM) 64-Bit Server VM (build 25.333-b02, mixed mode)

二、
2、创建用户组
 

 groupadd weblogic 

  创建 scrm 用户
   

useradd -g weblogic scrm

  设置 scrm 用户密码
 

 passwd scrm

   在/opt目录下创建weblogic文件夹
 

  cd  /opt/
   mkdir   weblogic

[root@localhost local]# su  scrm
[scrm@localhost local]$

cd /opt/weblogic/


把weblogic安装包上传到此目录
[scrm@localhost weblogic]$ ll
total 1043464

-rw-r--r--. 1 root root 1068506707 Jun  6 00:50 wls1036_generic.jar

[scrm@localhost weblogic]$ java -jar  wls1036_generic.jar

Unable to instantiate GUI, defaulting to console mode.
Extracting 0%....................................................................................................100%

<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Welcome:
--------

This installer will guide you through the installation of WebLogic 10.3.6.0.
Type "Next" or enter to proceed to the next prompt.  If you want to change data entered previously, type "Previous".  You may quit the installer at any time by typing "Exit".


1  Enter [Exit][Next]> next


<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Choose Middleware Home Directory:
---------------------------------

    "Middleware Home" = [Enter new value or use default
"/home/scrm/Oracle/Middleware"]


2   Enter new Middleware Home OR [Exit][Previous][Next]> next

<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Register for Security Updates:
------------------------------

Provide your email address for security updates and  to initiate configuration manager.

   1|Email:[]
   2|Support Password:[]
   3|Receive Security Update:[Yes]

3   Enter index number to select OR [Exit][Previous][Next]> 3

<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Register for Security Updates:
------------------------------

Provide your email address for security updates and  to initiate configuration manager.

    "Receive Security Update:" = [Enter new value or use default "Yes"]

4   Enter [Yes][No]? no

<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Register for Security Updates:
------------------------------

Provide your email address for security updates and  to initiate configuration manager.

    "Receive Security Update:" = [Enter new value or use default "Yes"]


    ** Do you wish to bypass initiation of the configuration manager and
    **  remain uninformed of critical security issues in your configuration?


5   Enter [Yes][No]? yes

<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Register for Security Updates:
------------------------------

Provide your email address for security updates and  to initiate configuration manager.

   1|Email:[]
   2|Support Password:[]
   3|Receive Security Update:[No]

6   Enter index number to select OR [Exit][Previous][Next]> next

<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Choose Install Type:
--------------------

Select the type of installation you wish to perform.

 ->1|Typical
    |  Install the following product(s) and component(s):
    | - WebLogic Server
    | - Oracle Coherence

   2|Custom
    |  Choose software products and components to install and perform optional
    |configuration.

7   Enter index number to select OR [Exit][Previous][Next]> next


<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

JDK Selection (Any * indicates Oracle Supplied VM):
---------------------------------------------------

JDK(s) chosen will be installed.  Defaults will be used in script string-substitution if installed.

   1|Add Local Jdk
   2|/usr/local/java[x]

   *Estimated size of installation:  690.2 MB


8   Enter 1 to add or >= 2 to toggle selection  OR [Exit][Previous][Next]> next

<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Choose Product Installation Directories:
----------------------------------------

Middleware Home Directory: [/home/scrm/Oracle/Middleware]

Product Installation Directories:


   1|WebLogic Server: [/home/scrm/Oracle/Middleware/wlserver_10.3]
   2|Oracle Coherence: [/home/scrm/Oracle/Middleware/coherence_3.7]


9  Enter index number to select OR [Exit][Previous][Next]> next

<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

The following Products and JDKs will be installed:
--------------------------------------------------

    WebLogic Platform 10.3.6.0
    |_____WebLogic Server
    |    |_____Core Application Server
    |    |_____Administration Console
    |    |_____Configuration Wizard and Upgrade Framework
    |    |_____Web 2.0 HTTP Pub-Sub Server
    |    |_____WebLogic SCA
    |    |_____WebLogic JDBC Drivers
    |    |_____Third Party JDBC Drivers
    |    |_____WebLogic Server Clients
    |    |_____WebLogic Web Server Plugins
    |    |_____UDDI and Xquery Support
    |    |_____Evaluation Database
    |_____Oracle Coherence
         |_____Coherence Product Files

    *Estimated size of installation: 690.3 MB


10   Enter [Exit][Previous][Next]> next
Jun 06, 2022 10:32:21 PM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.

<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Installing files..

0%          25%          50%          75%          100%
[------------|------------|------------|------------]
[***************************************************]


Performing String Substitutions...

<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Configuring OCM...

0%          25%          50%          75%          100%
[------------|------------|------------|------------]
[***************************************************]


Creating Domains...

<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Installation Complete


Congratulations! Installation is complete.


11   Press [Enter] to continue or type [Exit]> exit

-------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------

<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->


三、
Clean up process in progress ...
[scrm@localhost weblogic]$ cd /home/scrm/Oracle/Middleware/wlserver_10.3/common/bin/
[scrm@localhost bin]$ ll

total 112
-rwxr-x---. 1 scrm weblogic 22805 Jun  6 22:32 commEnv.sh
-rwxr-x---. 1 scrm weblogic  2125 Jun  6 22:32 config_builder.sh
-rwxr-x---. 1 scrm weblogic  2277 Jun  6 22:32 config.sh
-rwxr-x---. 1 scrm weblogic  2582 Jun  6 22:32 pack.sh
-rwxr-x---. 1 scrm weblogic  2150 Jun  6 22:32 setPatchEnv.sh
-rwxr-x---. 1 scrm weblogic  4085 Jun  6 22:32 startDerby.sh
-rwxr-x---. 1 scrm weblogic  4091 Jun  6 22:32 startManagedWebLogic.sh
-rwxr-x---. 1 scrm weblogic  1451 Jun  6 22:32 stopDerby.sh
-rwxr-x---. 1 scrm weblogic  2090 Jun  6 22:32 unpack.sh
-rwxr-x---. 1 scrm weblogic  3301 Jun  6 22:32 upgrade.sh
-rwxr-x---. 1 scrm weblogic 31220 Jun  6 22:32 wlscontrol.sh
-rwxr-x---. 1 scrm weblogic 13740 Jun  6 22:32 wlsifconfig.sh
-rwxr-x---. 1 scrm weblogic   787 Jun  6 22:32 wlst.sh


[scrm@localhost bin]$ ./config.sh

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0
Unable to instantiate GUI, defaulting to console mode.
Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /home/scrm/Oracle/Middleware/wlserver_10.3/common/lib/libjni.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.

<------------------- Fusion Middleware Configuration Wizard ------------------>

Welcome:
--------

Choose between creating and extending a domain. Based on your selection,
the Configuration Wizard guides you through the steps to generate a new or
extend an existing domain.

 ->1|Create a new WebLogic domain
    |    Create a WebLogic domain in your projects directory.

   2|Extend an existing WebLogic domain
    |    Use this option to add new components to an existing domain and modify     |configuration settings.

1   Enter index number to select OR [Exit][Next]> next

<------------------- Fusion Middleware Configuration Wizard ------------------>

Select Domain Source:
---------------------

Select the source from which the domain will be created. You can create the
domain by selecting from the required components or by selecting from a
list of existing domain templates.

 ->1|Choose Weblogic Platform components
    |    You can choose the Weblogic component(s) that you want supported in
    |your domain.

   2|Choose custom template
    |    Choose this option if you want to use an existing  template. This
    |could be a custom created template using the Template Builder.

2   Enter index number to select OR [Exit][Previous][Next]> next

<------------------- Fusion Middleware Configuration Wizard ------------------>

Application Template Selection:
-------------------------------

    Available Templates
    |_____Basic WebLogic Server Domain - 10.3.6.0 [wlserver_10.3]x
    |_____Basic WebLogic SIP Server Domain - 10.3.6.0 [wlserver_10.3] [2]
    |_____WebLogic Advanced Web Services for JAX-RPC Extension - 10.3.6.0 [wlserver_10.3] [3]
    |_____WebLogic Advanced Web Services for JAX-WS Extension - 10.3.6.0 [wlserver_10.3] [4]

Enter number exactly as it appears in brackets to toggle selection OR [Exit][Previous][Next]> next

<------------------- Fusion Middleware Configuration Wizard ------------------>

Edit Domain Information:
------------------------

    |  Name  |    Value    |
   _|________|_____________|
   1| *Name: | base_domain |


3   Enter value for "Name" OR [Exit][Previous][Next]> next

<------------------- Fusion Middleware Configuration Wizard ------------------>

Select the target domain directory for this domain:
---------------------------------------------------

    "Target Location" = [Enter new value or use default
"/home/scrm/Oracle/Middleware/user_projects/domains"]


4    Enter new Target Location OR [Exit][Previous][Next]> next

<------------------- Fusion Middleware Configuration Wizard ------------------>

Configure Administrator User Name and Password:
-----------------------------------------------

Create a user to be assigned to the Administrator role. This user is the
default administrator used to start development mode servers.

    |          Name           |                  Value                  |
   _|_________________________|_________________________________________|
   1|         *Name:          |                weblogic                 |
   2|     *User password:     |                                         |
   3| *Confirm user password: |                                         |
   4|      Description:       | This user is the default administrator. |

Use above value or select another option:
    1 - Modify "Name"
    2 - Modify "User password"
    3 - Modify "Confirm user password"
    4 - Modify "Description"


5   Enter option number to select OR [Exit][Previous][Next]> 2

<------------------- Fusion Middleware Configuration Wizard ------------------>

Configure Administrator User Name and Password:
-----------------------------------------------

Create a user to be assigned to the Administrator role. This user is the
default administrator used to start development mode servers.

    "*User password:" = []


6   Enter new *User password: OR [Exit][Reset][Accept]> scrm@123


<------------------- Fusion Middleware Configuration Wizard ------------------>

Configure Administrator User Name and Password:
-----------------------------------------------

Create a user to be assigned to the Administrator role. This user is the
default administrator used to start development mode servers.

    |          Name           |                  Value                  |
   _|_________________________|_________________________________________|
   1|         *Name:          |                weblogic                 |
   2|     *User password:     |                ********                 |
   3| *Confirm user password: |                                         |
   4|      Description:       | This user is the default administrator. |

Use above value or select another option:
    1 - Modify "Name"
    2 - Modify "User password"
    3 - Modify "Confirm user password"
    4 - Modify "Description"
    5 - Discard Changes


    ** CFGFWK-64018:  The confirmed password does not match the entered one.


7   Enter option number to select OR [Exit][Previous][Next]> 3

<------------------- Fusion Middleware Configuration Wizard ------------------>

Configure Administrator User Name and Password:
-----------------------------------------------

Create a user to be assigned to the Administrator role. This user is the
default administrator used to start development mode servers.

    "*Confirm user password:" = []


Enter new *Confirm user password: OR [Exit][Reset][Accept]> scrm@123

<------------------- Fusion Middleware Configuration Wizard ------------------>

Configure Administrator User Name and Password:
-----------------------------------------------

Create a user to be assigned to the Administrator role. This user is the
default administrator used to start development mode servers.

    |          Name           |                  Value                  |
   _|_________________________|_________________________________________|
   1|         *Name:          |                weblogic                 |
   2|     *User password:     |                ********                 |
   3| *Confirm user password: |                ********                 |
   4|      Description:       | This user is the default administrator. |

Use above value or select another option:
    1 - Modify "Name"
    2 - Modify "User password"
    3 - Modify "Confirm user password"
    4 - Modify "Description"
    5 - Discard Changes


8     Enter option number to select OR [Exit][Previous][Next]> next

<------------------- Fusion Middleware Configuration Wizard ------------------>

Domain Mode Configuration:
--------------------------

Enable Development or Production Mode for this domain.

 ->1|Development Mode

   2|Production Mode


9    Enter index number to select OR [Exit][Previous][Next]> next

<------------------- Fusion Middleware Configuration Wizard ------------------>

Java SDK Selection:
-------------------

 ->1|Sun SDK 1.8.0_333 @ /usr/local/java
   2|Other Java SDK


10    Enter index number to select OR [Exit][Previous][Next]> next

<------------------- Fusion Middleware Configuration Wizard ------------------>

Select Optional Configuration:
------------------------------

   1|Administration Server [ ]
   2|Managed Servers, Clusters and Machines [ ]
   3|RDBMS Security Store [ ]

11   Enter index number to select OR [Exit][Previous][Next]> 1

<------------------- Fusion Middleware Configuration Wizard ------------------>

Select Optional Configuration:
------------------------------

   1|Administration Server [x]
   2|Managed Servers, Clusters and Machines [ ]
   3|RDBMS Security Store [ ]

12   Enter index number to select OR [Exit][Previous][Next]> next

<------------------- Fusion Middleware Configuration Wizard ------------------>

Configure the Administration Server:
------------------------------------

Each WebLogic Server domain must have one Administration Server. The
Administration Server is used to perform administrative tasks.

    |       Name       |        Value        |
   _|__________________|_____________________|
   1|      *Name:      |     AdminServer     |
   2| *Listen address: | All Local Addresses |
   3|   Listen port:   |        7001         |
   4| SSL listen port: |         N/A         |
   5|   SSL enabled:   |        false        |

Use above value or select another option:
    1 - Modify "Name"
    2 - Modify "Listen address"
    3 - Modify "Listen port"
    4 - Modify "SSL enabled"


13   Enter option number to select OR [Exit][Previous][Next]> next

<------------------- Fusion Middleware Configuration Wizard ------------------>

Creating Domain...

0%          25%          50%          75%          100%
[------------|------------|------------|------------]
[***************************************************]


**** Domain Created Successfully! ****


至此weblogic安装成功

四、
启动 domain
[scrm@localhost bin]$ cd

 /home/scrm/Oracle/Middleware/user_projects/domains/base_domain/bin/


[scrm@localhost bin]$ ll

total 36
drwxr-x---. 2 scrm weblogic    27 Jun  6 22:36 nodemanager
drwxr-x---. 2 scrm weblogic    28 Jun  6 22:36 server_migration
drwxr-x---. 2 scrm weblogic    24 Jun  6 22:36 service_migration
-rwxr-x---. 1 scrm weblogic 13236 Jun  6 22:36 setDomainEnv.sh
-rwxr-x---. 1 scrm weblogic  3221 Jun  6 22:36 startManagedWebLogic.sh
-rwxr-x---. 1 scrm weblogic  5695 Jun  6 22:36 startWebLogic.sh
-rwxr-x---. 1 scrm weblogic  2446 Jun  6 22:36 stopManagedWebLogic.sh
-rwxr-x---. 1 scrm weblogic  1988 Jun  6 22:36 stopWebLogic.sh


[scrm@localhost bin]$ ./startWebLogic.sh

.
.
JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m  -XX:MaxPermSize=256m
.
WLS Start Mode=Development
.
CLASSPATH=/home/scrm/Oracle/Middleware/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/scrm/Oracle/Middleware/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/local/java/lib/tools.jar:/home/scrm/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/home/scrm/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/home/scrm/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.6.0.jar:/home/scrm/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/home/scrm/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/home/scrm/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/home/scrm/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbyclient.jar:/home/scrm/Oracle/Middleware/wlserver_10.3/server/lib/xqrl.jar:.:/usr/local/java/lib.tools.jar
.
PATH=/home/scrm/Oracle/Middleware/wlserver_10.3/server/bin:/home/scrm/Oracle/Middleware/modules/org.apache.ant_1.7.1/bin:/usr/local/java/jre/bin:/usr/local/java/bin:/usr/local/java/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
.
***************************************************
*  To start WebLogic Server, use a username and   *
*  password assigned to an admin-level user.  For *
*  server administration, use the WebLogic Server *
*  console at http://hostname:port/console        *
***************************************************
starting weblogic with Java version:
java version "1.8.0_333"
Java(TM) SE Runtime Environment (build 1.8.0_333-b02)
Java HotSpot(TM) 64-Bit Server VM (build 25.333-b02, mixed mode)
Starting WLS with line:
.........省略
<Jun 6, 2022 10:37:21 PM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Jun 6, 2022 10:37:21 PM PDT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>


开放7001端口

firewall-cmd --zone=public  --add-port=7001/tcp --permanent
success


[root@localhost ~]#

firewall-cmd  --reload
success



[root@localhost ~]#

 firewall-cmd --list-all


登录网页验证
http://192.168.31.33:7001/console/login/LoginForm.jsp

------------------------------------------------------------------------------------------------
---------------------------------------配置weblogic开机自启-----------------------------------

第一种方法

crontab 是Linux的计划任务,可以设置为 @reboot当服务器重启后执行某个命令
$ crontab -e
设置

@reboot /home/scrm/Oracle/Middleware/user_projects/domains/base_domain/bin/startWebLogic.sh

第二种方法:

1、创建WebLogic启动脚本

以root用户登录,执行如下命令,创建启动脚本:

# cd /etc/rc.d/init.d/
# vi weblogic


脚本中添加一下内容:

#!/bin/bash 
# description: Weblogic Server auto start/stop script
# /etc/rc.d/init.d/weblogic 

# chkconfig: 2345 10 90
# description: weblogic


# Please edit the variable 
export BEA_BASE=/home/scrm/Oracle/Middleware
export BEA_HOME=$BEA_BASE/user_projects/domains/base_domain 
export BEA_LOG=$BEA_BASE/weblogic.log 
export PATH=$PATH:$BEA_HOME

#weblogic的用户名
BEA_OWNR="scrm" 

# if the executables do not exist 

if [ ! -f $BEA_HOME/startWebLogic.sh -o ! -d $BEA_HOME ] 
then 
      echo "WebLogic startup: cannot start" 
      exit 1 
fi 

# depending on parameter 

case "$1" in 
  start) 
      echo -n "Starting WebLogic,log file $BEA_LOG: " 
      touch /var/lock/weblogic 
      su $BEA_OWNR -c "cd ${BEA_HOME}; nohup ./startWebLogic.sh > $BEA_LOG 2>&1  &" 
      echo "OK" 
      ;; 
  stop) 
      echo -n "Shutdown WebLogic: " 
      rm -f /var/lock/weblogic 
      su $BEA_OOWNR -c "cd ${BEA_HOME}/bin; ./stopWebLogic.sh >> $BEA_LOG" 
      echo "OK" 
      ;; 
  reload|restart) 
      $0 stop 
      $0 start 
      ;; 
  *) 
      echo "Usage: `basename $0` start|stop|restart|reload" 
      exit 1 
esac 
exit 0 

问题处理: 

1、如果在启动时出现如下错误,则是因为用root用户启动了domain,再切换到weblogic用户启动就会报错,

java.lang.ClassCastException: com.octetstring.vde.backend.BackendRoot cannot be cast to com.octetstring.vde.backend.standard.BackendStandard
    at weblogic.ldap.EmbeddedLDAP.start(EmbeddedLDAP.java:303)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
解决方法,给文件授权


chown  -h -R  用户名  文件夹       例子:  chown  -h  -R  scrm  /home/scrm

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:/a/497428.html

如若内容造成侵权/违法违规/事实不符,请联系我们进行投诉反馈qq邮箱809451989@qq.com,一经查实,立即删除!

相关文章

京东云0基础搭建帕鲁服务器_4核16G和8核32G幻兽帕鲁专用服务器

使用京东云服务器搭建幻兽帕鲁Palworld游戏联机服务器教程&#xff0c;非常简单&#xff0c;京东云推出幻兽帕鲁镜像系统&#xff0c;镜像直接选择幻兽帕鲁镜像即可一键自动部署&#xff0c;不需要手动操作&#xff0c;真正的新手0基础部署幻兽帕鲁&#xff0c;阿腾云atengyun.…

【Java面试题】Redis上篇(基础、持久化、底层数据结构)

文章目录 基础1.什么是Redis?2.Redis可以用来干什么&#xff1f;3.Redis的五种基本数据结构&#xff1f;4.Redis为什么这么快&#xff1f;5.什么是I/O多路复用&#xff1f;6.Redis6.0为什么使用了多线程&#xff1f; 持久化7.Redis的持久化方式&#xff1f;区别&#xff1f;8.…

【JavaEE】初识线程,线程与进程的区别

文章目录 ✍线程是什么&#xff1f;✍线程和进程的区别✍线程的创建1.继承 Thread 类2.实现Runnable接口3.匿名内部类4.匿名内部类创建 Runnable ⼦类对象5.lambda 表达式创建 Runnable ⼦类对象 ✍线程是什么&#xff1f; ⼀个线程就是⼀个 “执行流”. 每个线程之间都可以按…

Github 2024-03-28Go开源项目日报Top10

根据Github Trendings的统计,今日(2024-03-28统计)共有10个项目上榜。根据开发语言中项目的数量,汇总情况如下: 开发语言项目数量Go项目9非开发语言项目1Ollama: 本地大型语言模型设置与运行 创建周期:248 天开发语言:Go协议类型:MIT LicenseStar数量:42421 个Fork数量:…

vue组件弹窗窗

import { createApp } from vue; import { Popup } from vant;const app createApp(); app.use(Popup); 有这样的一个效果 在手机上很美观 不错 建议大家使用

HarmonyOS实战开发-实现一个计步器卡片应用

介绍 本篇Codelab基于Stage模型实现带有卡片的计步应用&#xff0c;用于介绍卡片的开发及生命周期实现。需要完成以下功能&#xff1a; 消息通知栏&#xff0c;通知用户今天所行走步数。元服务卡片&#xff0c;在桌面上添加2x2或2x4规格元服务卡片&#xff0c;能看到步数变化…

论文问卷的六类分析思路

很多同学在写论文时&#xff0c;会选择通过收集问卷来获取研究所需的数据。然而&#xff0c;问卷收集完成后&#xff0c;如何对这些数据进行有效的分析&#xff0c;成为了一个重要的问题。这么多的问卷数据摆在面前&#xff0c;该如何进行分析呢&#xff1f; SPSSAU从问卷设计…

docker 部署 gitlab-ce 16.9.1

文章目录 [toc]拉取 gitlab-ce 镜像创建 gitlab-ce 持久化目录启停脚本配置配置 gitlab-ce编辑 gitlab-ce 配置文件重启 gitlab-ce配置 root 密码 设置中文 gitlab/gitlab-ce(需要科学上网) 拉取 gitlab-ce 镜像 docker pull gitlab/gitlab-ce:16.9.1-ce.0查看镜像是不是有 Vo…

图论之路径条数专题

一直忙着金工实习蓝桥杯&#xff0c;好久没有看图论了&#xff0c;今天就小试几题享受下被虐的快感。 1.最短路拓扑 首先来几个结论&#xff1a; 1.最短路图没有环&#xff08;可以用反证法证明&#xff09; 2.dis[u]edge[u,v]dis[v]&#xff0c;那么u,v端点的边一定在最短路…

【已修复】iPhone13 Pro 长焦相机水印(黑斑)修复 洗水印

iPhone13 Pro 长焦相机水印&#xff08;黑斑&#xff09;修复 洗水印 问题描述 iPhone13 Pro 后摄3倍相机有黑色斑点&#xff08;水印&#xff09;&#xff0c;如图所示&#xff0c; 后摄相机布局如图所示&#xff0c; 修复过程 拆机过程有风险&#xff0c;没有把握最好不要…

Git--08--Git分支合并操作

提示&#xff1a;文章写完后&#xff0c;目录可以自动生成&#xff0c;如何生成可参考右边的帮助文档 文章目录 Git分支合并操作案例流程客户端&#xff1a;GitExtensions操作步骤&#xff1a;A操作步骤&#xff1a;B操作步骤&#xff1a;C操作步骤&#xff1a;D操作步骤&#…

NanoMQ的安装与部署

本文使用docker进行安装&#xff0c;因此安装之前需要已经安装了docker 拉取镜像 docker pull emqx/nanomq:latest 相关配置及密码认证 创建目录/usr/local/nanomq/conf以及配置文件nanomq.conf、pwd.conf # # # # MQTT Broker # # mqtt {property_size 32max_packet_siz…

每日一题--最长连续序列

洛阳春-岑参 人到洛阳花似锦&#xff0c;偏我来时不逢春。 谁道三冬无春色&#xff0c;冰山高处万里银 目录 题目描述 思路分析 方法及其时间复杂度 法一 暴力枚举&#xff1a; 法二 哈希表遍历&#xff1a; 法三 并查集&#xff1a; 个人总结 题目描述 128. 最长连续序…

【网安小白成长之路】3.MySQL环境配置以及常用命令(增删改查)

&#x1f42e;博主syst1m 带你 acquire knowledge&#xff01; ✨博客首页——syst1m的博客&#x1f498; &#x1f51e; 《网安小白成长之路(我要变成大佬&#x1f60e;&#xff01;&#xff01;)》真实小白学习历程&#xff0c;手把手带你一起从入门到入狱&#x1f6ad; &…

Day53:WEB攻防-XSS跨站SVGPDFFlashMXSSUXSS配合上传文件添加脚本

目录 MXSS UXSS&#xff1a;Universal Cross-Site Scripting HTML&SVG&PDF&SWF-XSS&上传&反编译(有几率碰到) SVG-XSS PDF-XSS Python生成XSS Flash-XSS 知识点&#xff1a; 1、XSS跨站-MXSS&UXSS 2、XSS跨站-SVG制作&配合上传 3、XSS跨站-…

项目模块—实现抑郁测评(小程序)

script <script setup> import { ref } from "vue";//控制轮播图页码 let current ref(0);//答题逻辑 const add (value) > {if (current.value < 9) {current.value current.value 1;} else {uni.switchTab({url: "/pages/my/my",});} }…

「DevExpress中文教程」如何将DevExtreme JS HTML编辑器集成到WinForms应用

在本文中我们将演示一个混合实现&#xff1a;如何将web UI工具集成到WinForms桌面应用程序中。具体来说&#xff0c;我们将把DevExtreme JavaScript WYSIWYG HTML编辑器(作为DevExtreme UI组件套件的一部分发布的组件)集成到Windows Forms应用程序中。 获取DevExtreme v23.2正式…

Vue3进阶教程-第2学堂小商城实战课程前言

该教程为进阶教程&#xff0c;如果你还不了解Vue3的基础知识&#xff0c;可以先前往Vue3基础教程&#xff0c;从入门到实战。 学习时遇到的任何疑问都欢迎在相应课文页面下方的问答区进行提问哦 我能学到什么&#xff1f; 编程写法千千万&#xff0c;实现需求是第一。 教程中…

阿里云服务器租用价格表-2024最新(附报价单)

2024年阿里云服务器优惠价格表&#xff0c;一张表整理阿里云服务器最新报价&#xff0c;阿里云服务器网aliyunfuwuqi.com整理云服务器ECS和轻量应用服务器详细CPU内存、公网带宽和系统盘详细配置报价单&#xff0c;大家也可以直接移步到阿里云CLUB中心查看 aliyun.club 当前最新…

数据结构——链表(练习题)

大家好&#xff0c;我是小锋我们继续来学习链表。 我们在上一节已经把链表中的单链表讲解完了&#xff0c;大家感觉怎么样我们今天来带大家做一些练习帮助大家巩固所学内容。 1. 删除链表中等于给定值 val 的所有结点 . - 力扣&#xff08;LeetCode&#xff09; 我们大家来分…