`

转 Ubuntu 32位安装Alfresco 3.x 4.x详细步骤

 
阅读更多
转自 http://tpeelen.wordpress.com/2012/01/04/installing-alfresco-3-x-4-x-on-32bit-ubuntu/

Installing Alfresco (3.x, 4.x) on (32bit) Ubuntu
Published January 4, 2012 Alfresco , Linux , Ubuntu 21 Comments
Tags: Alfresco, install, linux, Ubuntu

Recently I got into a twitter discussion about installing Alfresco Community on 32bit Ubuntu. Alfresco only provides 64bit installers these days (all-in-one), and the Tomcat distribution is no more. Since Alfresco is a Java app, the app doesn’t matter. It is Java and the helper applications needed, that need to be 32/64bit.

This blog will show you step by step how to install Alfresco and the helper apps on 32bit Ubuntu 11.10 (server). It will use OpenJDK (since it is the default in Ubuntu 11.10), LibreOffice (default in Ubuntu repositories) and MySQL (because I am more familiar with than Postgress). On the way we will install ImageMagick, Pdf2swf and FFmpeg.

First be sure we are on the latest version of everything:

sudo apt-get update
sudo apt-get upgrade

If you run Ubuntu on a VM, and your host is Windows, you might want to use Putty (an ssh client for Windows), and then you need an ssh server on your VMWare box:

sudo apt-get install ssh  openssh-blacklist openssh-blacklist-extra

Now you can access your VM from a Windows app, more easy if you need to copy a name or content into a file you are editing. I assume you download packages you need from the internet, and in the end this step-by-step guide expects them to exist in your home folder. You can either download these packages from within Ubuntu, or copy them into your home folder using WinSCP . We are going to install Alfresco in /opt/alfresco40c (4 zero c, the version number). Let’s create this folder right now:

sudo mkdir /opt/alfresco40c

And assign yourself permissions to write in that folder: (assuming your username is ‘uname’)

sudo chown -R uname /opt/alfresco40c

Validate your results by

ls -la /opt

You should note that your username shows in the line displaying folder alfresco40c

Java

Lets install OpenJDK first. (SUN-Java, oh, sorry, Oracle is fine too, but requires more fuzzing with adding other repositories to Ubuntu.) (I happened to install this particular version because the person in question used this version of OpenJDK)

sudo apt-get install openjdk-6-jdk

There most likely is an issue with OpenJDK and Rhino. There are some workarounds too. If you can run the statement below in a terminal window, you’re fine:

java org.mozilla.javascript.tools.shell.JSConsole

Assuming you don’t need Rhino for anything other than Alfresco, you’re save to remove the rhino.jar library all together. See the Alfresco wiki for details and workarounds. I just renamed the rhino.jar provided by OpenJDK:

sudo mv /usr/lib/jvm/java-6-openjdk/jre/lib/rhino.jar /usr/lib/jvm/java-6-openjdk/jre/lib/rhino.jar.not

Let’s check if we got Java installed right:

java -version

responds with something like:

java version "1.6.0_23"
OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre11-0ubuntu1.11.10)
OpenJDK Client VM (build 20.0-b11, mixed mode)

MySQL

Then we need MySQL

sudo apt-get install mysql-server mysql-client

Remind: Remember the root password you set when you install the server. You will need it later on!

Validate:

mysql -u root -p

It will display:

Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 45
Server version: 5.1.58-1ubuntu1 (Ubuntu)
Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

You type:

show databases;
MySQL responds with:
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
+--------------------+
2 rows in set (0.05 sec)

Done!

ImageMagick, SWFTools, FFMpeg and OpenOffice

Since you install without the all-in-one installer, you also need ImageMagic, FFMpeg and OpenOffice:

sudo apt-get install imagemagick ffmpeg libreoffice

ImageMagick is used to convert and scale images. FFMpeg is needed if you store video in your repository and want to use the audio/video player plugin of Alfresco Share (assuming this will still work in version 4.0). The OpenOffice.org project is actually forked into the independent LibreOffice. Ubuntu has chosen to provide LibreOffice in their repositories over OpenOffice.

Validate:

whereis convert
whereis ffmpeg
whereis soffice.bin

SWFTools is used to create flash from pdf documents, to allow previews of documents in Share. This tool does not exist in the 32bit repositories of Ubuntu 11.10. A workaround is to download a slightly older (32bit) version of this tool  from https://launchpad.net/ubuntu/lucid/i386/swftools/0.9.0-0ubuntu1. The download link is just below “Downloadable files” on the right-bottom of your page. Lets install this deb package:

sudo dpkg -i swftools_0.9.0-0ubuntu1_i386.deb

Validate:

whereis pdf2swf

Tomcat

Download the latest Tomcat 6 from Apache: http://tomcat.apache.org/download-60.cgi (my current version is 6.0.35). Unpack Tomcat (in your home folder):

tar -xvf apache-tomcat-6.0.35.tar.gz

Rename Tomcat to tomcat, and move it to where it should:

mv apache-tomcat-6.0.35 /opt/alfresco40c/tomcat

Lets’s validate if Tomcat is installed right, let’s start Tomcat:

cd /opt/alfresco40c/tomcat/bin
./startup.sh
Using CATALINA_BASE: /opt/alfresco40c/tomcat
Using CATALINA_HOME:/opt/alfresco40c/tomcat
Using CATALINA_TMPDIR:/opt/alfresco40c/tomcat/temp
Using JRE_HOME: /usr
Using CLASSPATH:/opt/alfresco40c/tomcat/bin/bootstrap.jar

And check (if there is a process running that contains ‘java’ in its signature):

ps -ef |grep java
tpeelen 22460 1 8 15:35 pts/0 00:00:01 /usr/bin/java -Djava.util.logging.config.file=/opt/alfresco40c/tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/opt/alfresco40c/tomcat/endorsed -classpath /opt/alfresco40c/tomcat/bin/bootstrap.jar -Dcatalina.base=/opt/alfresco40c/tomcat -Dcatalina.home=/opt/alfresco40c/tomcat -Djava.io.tmpdir=/opt/alfresco40c/tomcat/temp org.apache.catalina.startup.Bootstrap start
tpeelen 22482 15472 0 15:35 pts/0 00:00:00 grep --color=auto java

Rock! That works. Now, shutdown Tomcat:

./shutdown.sh
Using CATALINA_BASE: /opt/alfresco40c/tomcat
Using CATALINA_HOME:/opt/alfresco40c/tomcat
Using CATALINA_TMPDIR:/opt/alfresco40c/tomcat/temp
Using JRE_HOME: /usr
Using CLASSPATH:/opt/alfresco40c/tomcat/bin/bootstrap.jar

Validate:

ps -ef |grep java
tpeelen 22516 15472 0 15:38 pts/0 00:00:00 grep --color=auto java

There is no process running that contains ‘java’…  Nice. That works.

Add additional folders for use with Alfresco:

mkdir /opt/alfresco40c/tomcat/shared
mkdir /opt/alfresco40c/tomcat/shared/classes
mkdir /opt/alfresco40c/tomcat/shared/lib

Edit Tomcat’s catalina.properties to tell Tomcat to actually use the added directories under ‘tomcat/shared’:

nano /opt/alfresco40c/tomcat/conf/catalina.properties

Change the value of the shared.loader= property to the following:

shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar

Save the file by entering Ctrl-X, a ‘Y’ and an <Enter>.

By default, Tomcat uses ISO-8859-1 character encoding when decoding URLs that are received from a browser. This may cause problems when creating, uploading, and renaming files with international characters. Edit the server.xml file

nano /opt/alfresco40c/tomcat/conf/server.xml file.

Locate the Connector section, and then add the URIEncoding=”UTF-8″ property.

<Connector port="80" protocol="HTTP/1.1" URIEncoding="UTF-8"
connectionTimeout="20000" redirectPort="8443" />

Save the server.xml file (Ctrl-X, a ‘Y’ and an <Enter>).

Download the recent JDBC driver belonging to you MySQL instance (Ubuntu is shipped with MySQL 5.1 by default). Go to http://www.mysql.com/downloads/connector/j/ and download the recent version.

Extract the archive (in your home directory)

tar -xvf mysql-connector-java-5.1.18.tar.gz

And copy the driver to Tomcat:

cp mysql-connector-java-5.1.18/mysql-connector-java-5.1.18-bin.jar /opt/alfresco40c/tomcat/lib

Alfresco

We are getting there. Download the Alfresco-community-4.0.c.zip from: https://process.alfresco.com/ccdl/?file=release/community/build-3979/alfresco-community-4.0.c.zip (Any other version will do too, be sure to select, on the download page, the link ‘Custom Installs & Optional Modules’!)

Unzip the archive in your home folder. You probably don’t have ‘unzip’ as one of your tools. Get it now:

sudo apt-get install unzip
unzip alfresco-community-4.0.c.zip

This will get you 3 folders; licenses, bin and webapps. Distribute as follows:

mv bin /opt/alfresco40c/
mv licenses /opt/alfresco40c/

mv web-server/endorsed/* /opt/alfresco40c/tomcat/endorsed
mv web-server/shared/* /opt/alfresco40c/tomcat/shared
mv web-server/lib/* /opt/alfresco40c/tomcat/lib
mv web-server/webapps/* /opt/alfresco40c/tomcat/webapps/

For your convenience, create a folder to store some database scripts:

mkdir /opt/alfresco40c/extras

Create the sql-script to create a database:

nano /opt/alfresco40c/extras/db_setup.sql

This file has the contents:

create database alfresco default character set utf8 collate utf8_bin;
grant all on alfresco.* to 'alfresco'@'localhost' identified by 'alfresco' with grant option;
grant all on alfresco.* to 'alfresco'@'localhost.localdomain' identified by 'alfresco' with grant option;

Create the sql-script to drop the database:

nano /opt/alfresco40c/extras/db_remove.sql

This file has the contents:

drop database alfresco;
revoke all privileges, grant option from 'alfresco'@'localhost';
drop user 'alfresco'@'localhost';

Actually create an empty database + user:

mysql -u root -p </opt/alfresco40c/extras/db_setup.sql

Remind, you need your root password for this!

Create a file to start Alfresco:

nano /opt/alfresco40c/alfresco.sh

Fill it with:

#!/bin/sh
# Start or stop Alfresco server
# Set the following to where Tomcat is installed
ALF_HOME=/opt/alfresco40c
cd "$ALF_HOME"
APPSERVER="${ALF_HOME}/tomcat"
export CATALINA_HOME="$APPSERVER"
# Set any default JVM values
#export JAVA_OPTS='-Xms512m -Xmx1024m -Xss1024k -XX:MaxPermSize=256m -XX:NewSize=256m -server'
export JAVA_OPTS='-Xms512m -Xmx768m -Xss768k -XX:MaxPermSize=256m -XX:NewSize=256m -server'
export JAVA_OPTS="${JAVA_OPTS} -Dalfresco.home=${ALF_HOME} -Dcom.sun.management.jmxremote"
#
if [ "$1" = "start" ]; then
"${APPSERVER}/bin/startup.sh"
# if [ -r ./virtual_start.sh ]; then
# sh ./virtual_start.sh
# fi
# if [ -r ./start_oo.sh ]; then
# sh ./start_oo.sh
# fi
elif [ "$1" = "stop" ]; then
"${APPSERVER}/bin/shutdown.sh"
# if [ -r ./virtual_start.sh ]; then
# sh ./virtual_stop.sh
# fi
# if [ -r ./start_oo.sh ]; then
# killall soffice.bin
# fi
fi

Make sure you can actually execute the script:

sudo chmod ug+x /opt/alfresco40c/alfresco.sh

Provided you have valid alfresco-global.properties, you should be able to start and stop Alfresco by entering:

cd /opt/alfresco40c
./alfresco.sh start

or

./alfresco.sh stop

Check if your action was successful by validating if the process is running (or has stopped. Remind, stopping Alfresco might take a while)

ps -ef |grep java

Goto http://the-ip-address:8080/alfresco or  http://the-ip-address:8080/share and see if your install was successful!

Have fun!

    This tutorial does not fix you with an Alfresco that starts as your system starts, nor does it gently stop when your system stops. It can, see the Alfresco wiki.
    Another thing is that Ubuntu does not allow you to use portnumbers below 1024 as a non-root account. Therefore you need some port-redirections as explained in Alfresco’s wiki.
    Adding the Sharepoint integration AMP is something you need to do by hand. If there is enough demand, I might elaborate on that…

Alfresco-global.properties

Your alfresco-global.properties could look like (store in tomcat/shared/classes/alfresco-global.properties:

###############################
## Common Alfresco Properties #
###############################
#
# Sample custom content and index data location
#
dir.root=/opt/alfresco40/alf_data
#
# Sample database connection properties
#
db.name=alfresco
db.username=alfresco
db.password=alfresco
db.host=localhost
db.port=3306
#
# External locations
#-------------
ooo.exe=/usr/bin/soffice
ooo.enabled=true
jodconverter.officeHome=/usr/lib/libreoffice
jodconverter.portNumbers=8101
jodconverter.enabled=true
img.root=/usr
swf.exe=/usr/bin/pdf2swf
ffmpeg.exe=/usr/bin/ffmpeg
#
# Property to control whether schema updates are performed automatically.
# Updates must be enabled during upgrades as, apart from the static upgrade scripts,
# there are also auto-generated update scripts that will need to be executed. After
# upgrading to a new version, this can be disabled.
#
db.schema.update=true
#
# MySQL connection
#
db.driver=org.gjt.mm.mysql.Driver
db.url=jdbc:mysql://${db.host}:${db.port}/${db.name}
#db.driver=org.gjt.mm.mysql.Driver
#db.url=jdbc:mysql://localhost/alfresco340?useUnicode=yes&characterEncoding=UTF-8
#
# Oracle connection
#
#db.driver=oracle.jdbc.OracleDriver
#db.url=jdbc:oracle:thin:@localhost:1521:alfresco
#
# SQLServer connection
# Requires jTDS driver version 1.2.5 and SNAPSHOT isolation mode
# Enable TCP protocol on fixed port 1433
# Prepare the database with:
# ALTER DATABASE alfresco SET ALLOW_SNAPSHOT_ISOLATION ON;
#
#db.driver=net.sourceforge.jtds.jdbc.Driver
#db.url=jdbc:jtds:sqlserver://localhost:1433/alfresco
#db.txn.isolation=4096
#
# PostgreSQL connection (requires postgresql-8.2-504.jdbc3.jar or equivalent)
#
#db.driver=org.postgresql.Driver
#db.url=jdbc:postgresql://localhost:5432/alfresco
#
# Index Recovery Mode
#-------------
index.recovery.mode=AUTO
#
# Outbound Email Configuration
#-------------
#mail.host=
#mail.port=25
#mail.username=anonymous
#mail.password=
#mail.encoding=UTF-8
#mail.from.default=alfresco@alfresco.org
#mail.smtp.auth=false
#
# Alfresco Email Service and Email Server
#-------------
# Enable/Disable the inbound email service. The service could be used by processes other than
# the Email Server (e.g. direct RMI access) so this flag is independent of the Email Service.
#-------------
#email.inbound.enabled=true
# Email Server properties
#-------------
#email.server.enabled=true
#email.server.port=25
#email.server.domain=alfresco.com
#email.inbound.unknownUser=anonymous
# A comma separated list of email REGEX patterns of allowed senders.
# If there are any values in the list then all sender email addresses
# must match. For example:
# .*\@alfresco\.com, .*\@alfresco\.org
# Allow anyone:
#-------------
#email.server.allowed.senders=.*
#
# The default authentication chain
# To configure external authentication subsystems see:
# http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems
#-------------
authentication.chain=alfrescoNtlm1:alfrescoNtlm
# The password for the default principal (only used for LDAP sync)
#ldap.synchronization.java.naming.security.credentials=secret
#
# URL Generation Parameters (The ${localname} token is replaced by the local server name)
#-------------
#alfresco.context=alfresco
#alfresco.host=${localname}
#alfresco.port=8080
#alfresco.protocol=http
#
#share.context=share
#share.host=${localname}
#share.port=8080
#share.protocol=http
cifs.enabled=true
ftp.enabled=true
cifs.serverName=${localname}
cifs.hostannounce=true
imap.server.enabled=false
#imap.server.port=143
#imap.server.host=
# Default value of alfresco.rmi.services.host is 0.0.0.0 which means 'listen on all adapters'.
# This allows connections to JMX both remotely and locally.
#
alfresco.rmi.services.host=0.0.0.0
#
# RMI service ports for the individual services.
# These seven services are available remotely.
#
# Assign individual ports for each service for best performance
# or run several services on the same port. You can even run everything on 50500 if needed.
#
# Select 0 to use a random unused port.
#
#avm.rmi.service.port=50501
#avmsync.rmi.service.port=50502
#attribute.rmi.service.port=50503
#authentication.rmi.service.port=50504
#repo.rmi.service.port=50505
#action.rmi.service.port=50506
#wcm-deployment-receiver.rmi.service.port=50507
#monitor.rmi.service.port=50508

[update 10 feb 2012: (thanks @CristinaMartinR)]
For Postgress as a database and a sample alfresco.properties file, take a look at http://www.xinotes.org/notes/note/1590/

分享到:
评论

相关推荐

    chef-alfresco:一个构建自动化工具,提供模块化,可配置和可扩展的方式来安装Alfresco架构

    它已在Centos 7.x和Ubuntu 14.04上进行了测试(很快在Centos 6.7上) 要了解有关属性定义和覆盖的更多信息,请检查要获取已安装的列表,其来源和版本,请检查 有关如何使用和测试Chef-alfresco的全面文档,请访问...

    《数据结构》(02331)基础概念

    内容概要:本文档《数据结构》(02331)第一章主要介绍数据结构的基础概念,涵盖数据与数据元素的定义及其特性,详细阐述了数据结构的三大要素:逻辑结构、存储结构和数据运算。逻辑结构分为线性结构(如线性表、栈、队列)、树形结构(涉及根节点、父节点、子节点等术语)和其他结构。存储结构对比了顺序存储和链式存储的特点,包括访问方式、插入删除操作的时间复杂度以及空间分配方式,并介绍了索引存储和散列存储的概念。最后讲解了抽象数据类型(ADT)的定义及其组成部分,并探讨了算法分析中的时间复杂度计算方法。 适合人群:计算机相关专业学生或初学者,对数据结构有一定兴趣并希望系统学习其基础知识的人群。 使用场景及目标:①理解数据结构的基本概念,掌握逻辑结构和存储结构的区别与联系;②熟悉不同存储方式的特点及应用场景;③学会分析简单算法的时间复杂度,为后续深入学习打下坚实基础。 阅读建议:本章节内容较为理论化,建议结合实际案例进行理解,尤其是对于逻辑结构和存储结构的理解要深入到具体的应用场景中,同时可以尝试编写一些简单的程序来加深对抽象数据类型的认识。

    【工业自动化】施耐德M580 PLC系统架构详解:存储结构、硬件配置与冗余设计

    内容概要:本文详细介绍了施耐德M580系列PLC的存储结构、系统硬件架构、上电写入程序及CPU冗余特性。在存储结构方面,涵盖拓扑寻址、Device DDT远程寻址以及寄存器寻址三种方式,详细解释了不同类型的寻址方法及其应用场景。系统硬件架构部分,阐述了最小系统的构建要素,包括CPU、机架和模块的选择与配置,并介绍了常见的系统拓扑结构,如简单的机架间拓扑和远程子站以太网菊花链等。上电写入程序环节,说明了通过USB和以太网两种接口进行程序下载的具体步骤,特别是针对初次下载时IP地址的设置方法。最后,CPU冗余部分重点描述了热备功能的实现机制,包括IP通讯地址配置和热备拓扑结构。 适合人群:从事工业自动化领域工作的技术人员,特别是对PLC编程及系统集成有一定了解的工程师。 使用场景及目标:①帮助工程师理解施耐德M580系列PLC的寻址机制,以便更好地进行模块配置和编程;②指导工程师完成最小系统的搭建,优化系统拓扑结构的设计;③提供详细的上电写入程序指南,确保程序下载顺利进行;④解释CPU冗余的实现方式,提高系统的稳定性和可靠性。 其他说明:文中还涉及一些特殊模块的功能介绍,如定时器事件和Modbus串口通讯模块,这些内容有助于用户深入了解M580系列PLC的高级应用。此外,附录部分提供了远程子站和热备冗余系统的实物图片,便于用户直观理解相关概念。

    某型自动垂直提升仓储系统方案论证及关键零部件的设计.zip

    某型自动垂直提升仓储系统方案论证及关键零部件的设计.zip

    2135D3F1EFA99CB590678658F575DB23.pdf#page=1&view=fitH

    2135D3F1EFA99CB590678658F575DB23.pdf#page=1&view=fitH

    agentransack文本搜索软件

    可以搜索文本内的内容,指定目录,指定文件格式,匹配大小写等

    Windows 平台 Android Studio 下载与安装指南.zip

    Windows 平台 Android Studio 下载与安装指南.zip

    Android Studio Meerkat 2024.3.1 Patch 1(android-studio-2024.3.1.14-windows-zip.zip.002)

    Android Studio Meerkat 2024.3.1 Patch 1(android-studio-2024.3.1.14-windows.zip)适用于Windows系统,文件使用360压缩软件分割成两个压缩包,必须一起下载使用: part1: https://download.csdn.net/download/weixin_43800734/90557033 part2: https://download.csdn.net/download/weixin_43800734/90557035

    4-3-台区智能融合终端功能模块技术规范(试行).pdf

    国网台区终端最新规范

    4-13-台区智能融合终端软件检测规范(试行).pdf

    国网台区终端最新规范

    【锂电池剩余寿命预测】Transformer-GRU锂电池剩余寿命预测(Matlab完整源码和数据)

    1.【锂电池剩余寿命预测】Transformer-GRU锂电池剩余寿命预测(Matlab完整源码和数据) 2.数据集:NASA数据集,已经处理好,B0005电池训练、B0006测试; 3.环境准备:Matlab2023b,可读性强; 4.模型描述:Transformer-GRU在各种各样的问题上表现非常出色,现在被广泛使用。 5.领域描述:近年来,随着锂离子电池的能量密度、功率密度逐渐提升,其安全性能与剩余使用寿命预测变得愈发重要。本代码实现了Transformer-GRU在该领域的应用。 6.作者介绍:机器学习之心,博客专家认证,机器学习领域创作者,2023博客之星TOP50,主做机器学习和深度学习时序、回归、分类、聚类和降维等程序设计和案例分析,文章底部有博主联系方式。从事Matlab、Python算法仿真工作8年,更多仿真源码、数据集定制私信。

    基于android的家庭收纳App的设计与实现.zip

    Android项目原生java语言课程设计,包含LW+ppt

    大学生入门前端-五子棋vue项目

    大学生入门前端-五子棋vue项目

    二手车分析完整项目,包含源代码和数据集,包含:XGBoost 模型,训练模型代码,数据集包含 10,000 条二手车记录的数据集,涵盖车辆品牌、型号、年份、里程数、发动机缸数、价格等

    这是一个完整的端到端解决方案,用于分析和预测阿联酋(UAE)地区的二手车价格。数据集包含 10,000 条二手车信息,覆盖了迪拜、阿布扎比和沙迦等城市,并提供了精确的地理位置数据。此外,项目还包括一个基于 Dash 构建的 Web 应用程序代码和一个训练好的 XGBoost 模型,帮助用户探索区域市场趋势、预测车价以及可视化地理空间洞察。 数据集内容 项目文件以压缩 ZIP 归档形式提供,包含以下内容: 数据文件: data/uae_used_cars_10k.csv:包含 10,000 条二手车记录的数据集,涵盖车辆品牌、型号、年份、里程数、发动机缸数、价格、变速箱类型、燃料类型、颜色、描述以及销售地点(如迪拜、阿布扎比、沙迦)。 模型文件: models/stacking_model.pkl:训练好的 XGBoost 模型,用于预测二手车价格。 models/scaler.pkl:用于数据预处理的缩放器。 models.py:模型相关功能的实现。 train_model.py:训练模型的脚本。 Web 应用程序文件: app.py:Dash 应用程序的主文件。 callback

    《基于YOLOv8的船舶航行违规并线预警系统》(包含源码、可视化界面、完整数据集、部署教程)简单部署即可运行。功能完善、操作简单,适合毕设或课程设计.zip

    资源内项目源码是来自个人的毕业设计,代码都测试ok,包含源码、数据集、可视化页面和部署说明,可产生核心指标曲线图、混淆矩阵、F1分数曲线、精确率-召回率曲线、验证集预测结果、标签分布图。都是运行成功后才上传资源,毕设答辩评审绝对信服的保底85分以上,放心下载使用,拿来就能用。包含源码、数据集、可视化页面和部署说明一站式服务,拿来就能用的绝对好资源!!! 项目备注 1、该资源内项目代码都经过测试运行成功,功能ok的情况下才上传的,请放心下载使用! 2、本项目适合计算机相关专业(如计科、人工智能、通信工程、自动化、电子信息等)的在校学生、老师或者企业员工下载学习,也适合小白学习进阶,当然也可作为毕设项目、课程设计、大作业、项目初期立项演示等。 3、如果基础还行,也可在此代码基础上进行修改,以实现其他功能,也可用于毕设、课设、作业等。 下载后请首先打开README.txt文件,仅供学习参考, 切勿用于商业用途。

    《基于YOLOv8的工业布匹瑕疵分类系统》(包含源码、可视化界面、完整数据集、部署教程)简单部署即可运行。功能完善、操作简单,适合毕设或课程设计.zip

    资源内项目源码是来自个人的毕业设计,代码都测试ok,包含源码、数据集、可视化页面和部署说明,可产生核心指标曲线图、混淆矩阵、F1分数曲线、精确率-召回率曲线、验证集预测结果、标签分布图。都是运行成功后才上传资源,毕设答辩评审绝对信服的保底85分以上,放心下载使用,拿来就能用。包含源码、数据集、可视化页面和部署说明一站式服务,拿来就能用的绝对好资源!!! 项目备注 1、该资源内项目代码都经过测试运行成功,功能ok的情况下才上传的,请放心下载使用! 2、本项目适合计算机相关专业(如计科、人工智能、通信工程、自动化、电子信息等)的在校学生、老师或者企业员工下载学习,也适合小白学习进阶,当然也可作为毕设项目、课程设计、大作业、项目初期立项演示等。 3、如果基础还行,也可在此代码基础上进行修改,以实现其他功能,也可用于毕设、课设、作业等。 下载后请首先打开README.txt文件,仅供学习参考, 切勿用于商业用途。

    CodeCount.exe

    此为代码审查工具 可查 文件数,字节数,总行数,代码行数,注释行数,空白行数,注释率等

    商业数据分析与Python实现:企业破产概率及抽样技术解析(复现论文或解答问题,含详细可运行代码及解释)

    内容概要:本文档涵盖了一项关于企业破产概率的详细分析任务,分为书面回答和Python代码实现两大部分。第一部分涉及对业务类型和破产状态的边际分布、条件分布及相对风险的计算,并绘制了相应的二维条形图。第二部分利用Python进行了数据处理和可视化,包括计算比值比、识别抽样技术类型、分析鱼类数据集以及探讨辛普森悖论。此外,还提供了针对鱼类和树木数据的统计分析方法。 适合人群:适用于有一定数学和编程基础的学习者,尤其是对统计学、数据分析感兴趣的大学生或研究人员。 使用场景及目标:①帮助学生掌握统计学概念如边际分布、条件分布、相对风险和比值比的实际应用;②教授如何用Python进行数据清洗、分析和可视化;③提高对不同类型抽样技术和潜在偏见的理解。 其他说明:文档不仅包含了理论知识讲解,还有具体的代码实例供读者参考实践。同时提醒读者在完成作业时需要注意提交格式的要求。

    MCP快速入门实战,详细的实战教程

    MCP快速入门实战,详细的实战教程

    python,playwright基础

    python,playwright基础

Global site tag (gtag.js) - Google Analytics