centos7安装真的Redmine-5.1.2+ruby-3.0.0

下载redmine-5.1.2.tar.gz,上传到/usr/local/目录下

 
  1. cd /usr/local/

  2. tar -zxf redmine-5.1.2.tar.gz

  3. cd redmine-5.1.2

  4. cp config/database.yml.example config/database.yml

  5. 配置数据连接

#编辑配置文件
vi config/database.yml
#修改后的内容如下
 
production:
  adapter: mysql2
  database: redmine
  host: localhost
  username: root
  password: test1234
  # Use "utf8" instead of "utfmb4" for MySQL prior to 5.7.7
  encoding: utf8mb4
  variables:
    # Recommended `transaction_isolation` for MySQL to avoid concurrency issues is
    # `READ-COMMITTED`.
    # In case of MySQL lower than 8, the variable name is `tx_isolation`.
    # See https://www.redmine.org/projects/redmine/wiki/MySQL_configuration
    transaction_isolation: "READ-COMMITTED"
 其它全部注释

        6.安装依赖

yum install -y gcc gcc-c++ make automake cmake autoconf curl-devel openssl-devel zlib-devel httpd-devel apr-devel apr-util-devel mysql-devel ruby ruby-devel rubygems

        7.安装rvm

curl -L get.rvm.io | bash -s stable

        结果:

Warning, RVM 1.26.0 introduces signed releases and automated check of signatures when GPG software found.
Assuming you trust Michal Papis import the mpapis public key (downloading the signatures).
 
GPG signature verification failed for '/usr/local/rvm/archives/rvm-1.26.11.tgz' - 'https://github.com/rvm/rvm/releases/download/1.26.11/1.26.11.tar.gz.asc'!
try downloading the signatures:
 
    gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
 
or if it fails:
 
    command curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -
 
the key can be compared with:
 
    https://rvm.io/mpapis.asc
    https://keybase.io/mpapis

 那么复制

gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3

再次执行

curl -L get.rvm.io | bash -s stable

安装成功信息:

# curl -L get.rvm.io | bash -s stable
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   194  100   194    0     0    356      0 --:--:-- --:--:-- --:--:--   356
100 24532  100 24532    0     0  15272      0  0:00:01  0:00:01 --:--:-- 33977
Downloading https://github.com/rvm/rvm/archive/1.29.12.tar.gz
Downloading https://github.com/rvm/rvm/releases/download/1.29.12/1.29.12.tar.gz.asc
gpg: Signature made Sat 16 Jan 2021 02:46:22 AM CST using RSA key ID 39499BDB
gpg: Good signature from "Piotr Kuczynski <piotr.kuczynski@gmail.com>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 7D2B AF1C F37B 13E2 069D  6956 105B D0E7 3949 9BDB
GPG verified '/usr/local/rvm/archives/rvm-1.29.12.tgz'
Creating group 'rvm'
Installing RVM to /usr/local/rvm/
Installation of RVM in /usr/local/rvm/ is almost complete:

  * First you need to add all users that will be using rvm to 'rvm' group,
    and logout - login again, anyone using rvm will be operating with `umask u=rwx,g=rwx,o=rx`.

  * To start using RVM you need to run `source /etc/profile.d/rvm.sh`
    in all your open shell windows, in rare cases you need to reopen all shell windows.
  * Please do NOT forget to add your users to the rvm group.
     The installer no longer auto-adds root or users to the rvm group. Admins must do this.
     Also, please note that group memberships are ONLY evaluated at login time.
     This means that users must log out then back in before group membership takes effect!
Thanks for installing RVM [0m
Please consider donating to our open collective to help us maintain RVM.

  Donate: https://opencollective.com/rvm/donate

执行

echo "source /etc/profile.d/rvm.sh" >> ~/.bashrc && source /etc/profile.d/rvm.sh

RVM used your Gemfile for selecting Ruby, it is all fine - Heroku does that too,
you can ignore these warnings with 'rvm rvmrc warning ignore /usr/local/redmine-5.1.2/Gemfile'.
To ignore the warning for all files run 'rvm rvmrc warning ignore allGemfiles'.

Unknown ruby interpreter version (do not know how to handle): >=2.7.0,<3.3.0.

执行

rvm use ruby --install --default --create

依次执行

ruby -v

ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux]

gem -v

3.2.3

gem install rails -v 6.1.7.6

Fetching i18n-1.14.4.gem
Fetching activesupport-6.1.7.6.gem
Fetching rack-2.2.9.gem
Fetching concurrent-ruby-1.2.3.gem
Fetching sprockets-4.2.1.gem
Fetching zeitwerk-2.6.13.gem
Fetching tzinfo-2.0.6.gem
Fetching minitest-5.22.3.gem
Fetching nokogiri-1.16.4-x86_64-linux.gem
Fetching crass-1.0.6.gem
Fetching loofah-2.22.0.gem
Fetching rails-html-sanitizer-1.6.0.gem
Fetching rails-dom-testing-2.2.0.gem
Fetching rack-test-2.1.0.gem
Fetching erubi-1.12.0.gem
Fetching builder-3.2.4.gem
Fetching actionview-6.1.7.6.gem
Fetching actionpack-6.1.7.6.gem
Fetching sprockets-rails-3.4.2.gem
Fetching thor-1.3.1.gem
Fetching method_source-1.1.0.gem
Fetching railties-6.1.7.6.gem
Fetching mini_mime-1.1.5.gem
Fetching marcel-1.0.4.gem
Fetching activemodel-6.1.7.6.gem
Fetching activerecord-6.1.7.6.gem
Fetching globalid-1.2.1.gem
Fetching activejob-6.1.7.6.gem
Fetching activestorage-6.1.7.6.gem
Fetching actiontext-6.1.7.6.gem
Fetching mail-2.8.1.gem
Fetching actionmailer-6.1.7.6.gem
Fetching rails-6.1.7.6.gem
Fetching actionmailbox-6.1.7.6.gem
Fetching websocket-extensions-0.1.5.gem
Fetching websocket-driver-0.7.6.gem
Fetching nio4r-2.7.1.gem
Fetching actioncable-6.1.7.6.gem
Successfully installed rack-2.2.9
Successfully installed concurrent-ruby-1.2.3
Successfully installed sprockets-4.2.1
Successfully installed zeitwerk-2.6.13
Successfully installed tzinfo-2.0.6
Successfully installed minitest-5.22.3
Successfully installed i18n-1.14.4
Successfully installed activesupport-6.1.7.6
Successfully installed nokogiri-1.16.4-x86_64-linux
Successfully installed crass-1.0.6
Successfully installed loofah-2.22.0
Successfully installed rails-html-sanitizer-1.6.0
Successfully installed rails-dom-testing-2.2.0
Successfully installed rack-test-2.1.0
Successfully installed erubi-1.12.0
Successfully installed builder-3.2.4
Successfully installed actionview-6.1.7.6
Successfully installed actionpack-6.1.7.6
Successfully installed sprockets-rails-3.4.2
Successfully installed thor-1.3.1
Successfully installed method_source-1.1.0
Successfully installed railties-6.1.7.6
Successfully installed mini_mime-1.1.5
Successfully installed marcel-1.0.4
Successfully installed activemodel-6.1.7.6
Successfully installed activerecord-6.1.7.6
Successfully installed globalid-1.2.1
Successfully installed activejob-6.1.7.6
Successfully installed activestorage-6.1.7.6
Successfully installed actiontext-6.1.7.6
Successfully installed mail-2.8.1
Successfully installed actionmailer-6.1.7.6
Successfully installed actionmailbox-6.1.7.6
Successfully installed websocket-extensions-0.1.5
Building native extensions. This could take a while...
Successfully installed websocket-driver-0.7.6
Building native extensions. This could take a while...
Successfully installed nio4r-2.7.1
Successfully installed actioncable-6.1.7.6
Successfully installed rails-6.1.7.6
Parsing documentation for rack-2.2.9
Installing ri documentation for rack-2.2.9
Parsing documentation for concurrent-ruby-1.2.3
Installing ri documentation for concurrent-ruby-1.2.3
Parsing documentation for sprockets-4.2.1
Installing ri documentation for sprockets-4.2.1
Parsing documentation for zeitwerk-2.6.13
Installing ri documentation for zeitwerk-2.6.13
Parsing documentation for tzinfo-2.0.6
Installing ri documentation for tzinfo-2.0.6
Parsing documentation for minitest-5.22.3
Installing ri documentation for minitest-5.22.3
Parsing documentation for i18n-1.14.4
Installing ri documentation for i18n-1.14.4
Parsing documentation for activesupport-6.1.7.6
Installing ri documentation for activesupport-6.1.7.6
Parsing documentation for nokogiri-1.16.4-x86_64-linux
Installing ri documentation for nokogiri-1.16.4-x86_64-linux
Parsing documentation for crass-1.0.6
Installing ri documentation for crass-1.0.6
Parsing documentation for loofah-2.22.0
Installing ri documentation for loofah-2.22.0
Parsing documentation for rails-html-sanitizer-1.6.0
Installing ri documentation for rails-html-sanitizer-1.6.0
Parsing documentation for rails-dom-testing-2.2.0
Installing ri documentation for rails-dom-testing-2.2.0
Parsing documentation for rack-test-2.1.0
Installing ri documentation for rack-test-2.1.0
Parsing documentation for erubi-1.12.0
Installing ri documentation for erubi-1.12.0
Parsing documentation for builder-3.2.4
Installing ri documentation for builder-3.2.4
Parsing documentation for actionview-6.1.7.6
Installing ri documentation for actionview-6.1.7.6
Parsing documentation for actionpack-6.1.7.6
Installing ri documentation for actionpack-6.1.7.6
Parsing documentation for sprockets-rails-3.4.2
Installing ri documentation for sprockets-rails-3.4.2
Parsing documentation for thor-1.3.1
Installing ri documentation for thor-1.3.1
Parsing documentation for method_source-1.1.0
Installing ri documentation for method_source-1.1.0
Parsing documentation for railties-6.1.7.6
Installing ri documentation for railties-6.1.7.6
Parsing documentation for mini_mime-1.1.5
Installing ri documentation for mini_mime-1.1.5
Parsing documentation for marcel-1.0.4
Installing ri documentation for marcel-1.0.4
Parsing documentation for activemodel-6.1.7.6
Installing ri documentation for activemodel-6.1.7.6
Parsing documentation for activerecord-6.1.7.6
Installing ri documentation for activerecord-6.1.7.6
Parsing documentation for globalid-1.2.1
Installing ri documentation for globalid-1.2.1
Parsing documentation for activejob-6.1.7.6
Installing ri documentation for activejob-6.1.7.6
Parsing documentation for activestorage-6.1.7.6
Installing ri documentation for activestorage-6.1.7.6
Parsing documentation for actiontext-6.1.7.6
Installing ri documentation for actiontext-6.1.7.6
Parsing documentation for mail-2.8.1
Installing ri documentation for mail-2.8.1
Parsing documentation for actionmailer-6.1.7.6
Installing ri documentation for actionmailer-6.1.7.6
Parsing documentation for actionmailbox-6.1.7.6
Installing ri documentation for actionmailbox-6.1.7.6
Parsing documentation for websocket-extensions-0.1.5
Installing ri documentation for websocket-extensions-0.1.5
Parsing documentation for websocket-driver-0.7.6
Installing ri documentation for websocket-driver-0.7.6
Parsing documentation for nio4r-2.7.1
Installing ri documentation for nio4r-2.7.1
Parsing documentation for actioncable-6.1.7.6
Installing ri documentation for actioncable-6.1.7.6
Parsing documentation for rails-6.1.7.6
Installing ri documentation for rails-6.1.7.6
Done installing documentation for rack, concurrent-ruby, sprockets, zeitwerk, tzinfo, minitest, i18n, activesupport, nokogiri, crass, loofah, rails-html-sanitizer, rails-dom-testing, rack-test, erubi, builder, actionview, actionpack, sprockets-rails, thor, method_source, railties, mini_mime, marcel, activemodel, activerecord, globalid, activejob, activestorage, actiontext, mail, actionmailer, actionmailbox, websocket-extensions, websocket-driver, nio4r, actioncable, rails after 53 seconds
38 gems installed

依次执行:

bundle config mirror.https://rubygems.org https://gems.ruby-china.com

再执行:

bundle install

Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on
this machine.
Fetching gem metadata from https://gems.ruby-china.com/.........
Fetching gem metadata from https://gems.ruby-china.com/.
Resolving dependencies.......
Fetching rake 13.2.1
Installing rake 13.2.1
Using concurrent-ruby 1.2.3
Using zeitwerk 2.6.13
Using minitest 5.22.3
Using builder 3.2.4
Using erubi 1.12.0
Fetching racc 1.7.3
Using crass 1.0.6
Using rack 2.2.9
Using nio4r 2.7.1
Using websocket-extensions 0.1.5
Using marcel 1.0.4
Using mini_mime 1.1.5
Fetching date 3.3.4
Installing racc 1.7.3 with native extensions
Installing date 3.3.4 with native extensions
Fetching timeout 0.4.1
Installing timeout 0.4.1
Using method_source 1.1.0
Using thor 1.3.1
Fetching public_suffix 5.0.5
Installing public_suffix 5.0.5
Fetching ast 2.4.2
Installing ast 2.4.2
Fetching base64 0.2.0
Installing base64 0.2.0
Using bundler 2.2.3
Fetching matrix 0.4.2
Installing matrix 0.4.2
Fetching regexp_parser 2.9.0
Installing regexp_parser 2.9.0
Fetching chunky_png 1.4.0
Installing chunky_png 1.4.0
Fetching commonmarker 0.23.10
Installing commonmarker 0.23.10 with native extensions
Fetching csv 3.2.9
Installing csv 3.2.9
Fetching docile 1.4.0
Installing docile 1.4.0
Fetching ffi 1.16.3
Installing ffi 1.16.3 with native extensions
Fetching htmlentities 4.3.4
Installing htmlentities 4.3.4
Fetching json 2.7.2
Installing json 2.7.2 with native extensions
Fetching language_server-protocol 3.17.0.3
Installing language_server-protocol 3.17.0.3
Fetching rb-fsevent 0.11.2
Installing rb-fsevent 0.11.2
Fetching mini_magick 4.12.0
Fetching ruby2_keywords 0.0.5
Installing mini_magick 4.12.0
Fetching mysql2 0.5.6
Installing ruby2_keywords 0.0.5
Fetching net-ldap 0.17.1
Installing mysql2 0.5.6 with native extensions
Installing net-ldap 0.17.1
Fetching parallel 1.24.0
Installing parallel 1.24.0
Fetching rainbow 3.1.1
Installing rainbow 3.1.1
Fetching rbpdf-font 1.19.1
Installing rbpdf-font 1.19.1
Fetching redcarpet 3.6.0
Installing redcarpet 3.6.0 with native extensions
Fetching rexml 3.2.6
Installing rexml 3.2.6
Fetching rotp 6.3.0
Installing rotp 6.3.0
Fetching rouge 4.2.1
Installing rouge 4.2.1
Fetching rqrcode_core 1.2.0
Installing rqrcode_core 1.2.0
Fetching ruby-progressbar 1.13.0
Installing ruby-progressbar 1.13.0
Fetching unicode-display_width 2.5.0
Installing unicode-display_width 2.5.0
Fetching rubyzip 2.3.2
Installing rubyzip 2.3.2
Fetching websocket 1.2.10
Installing websocket 1.2.10
Fetching simplecov-html 0.12.3
Fetching simplecov_json_formatter 0.1.4
Installing simplecov-html 0.12.3
Installing simplecov_json_formatter 0.1.4
Fetching yard 0.9.36
Using i18n 1.14.4
Using tzinfo 2.0.6
Using rack-test 2.1.0
Using sprockets 4.2.1
Fetching request_store 1.5.1
Installing request_store 1.5.1
Fetching puma 6.4.2
Installing yard 0.9.36
Installing puma 6.4.2 with native extensions
Using websocket-driver 0.7.6
Fetching nokogiri 1.15.6 (x86_64-linux)
Installing nokogiri 1.15.6 (x86_64-linux)
Fetching net-protocol 0.2.2
Installing net-protocol 0.2.2
Fetching addressable 2.8.6
Installing addressable 2.8.6
Fetching parser 3.3.1.0
Installing parser 3.3.1.0
Fetching rb-inotify 0.10.1
Installing rb-inotify 0.10.1
Fetching mocha 2.2.0
Installing mocha 2.2.0
Fetching rbpdf 1.21.3
Installing rbpdf 1.21.3
Fetching rqrcode 2.2.0
Installing rqrcode 2.2.0
Fetching selenium-webdriver 4.20.1
Fetching simplecov 0.22.0
Installing simplecov 0.22.0
Fetching activesupport 6.1.7.7
Installing selenium-webdriver 4.20.1
Installing activesupport 6.1.7.7
Using loofah 2.22.0
Fetching xpath 3.2.0
Installing xpath 3.2.0
Fetching sanitize 6.1.0
Installing sanitize 6.1.0
Fetching net-imap 0.3.7
Fetching net-pop 0.1.2
Installing net-imap 0.3.7
Installing net-pop 0.1.2
Fetching net-smtp 0.3.4
Fetching css_parser 1.17.1
Installing net-smtp 0.3.4
Installing css_parser 1.17.1
Fetching listen 3.9.0
Fetching rubocop-ast 1.31.3
Installing listen 3.9.0
Installing rubocop-ast 1.31.3
Using rails-dom-testing 2.2.0
Using rails-html-sanitizer 1.6.0
Using globalid 1.2.1
Fetching activemodel 6.1.7.7
Fetching html-pipeline 2.13.2
Installing activemodel 6.1.7.7
Installing html-pipeline 2.13.2
Fetching capybara 3.40.0
Using mail 2.8.1
Fetching roadie 5.2.1
Installing capybara 3.40.0
Installing roadie 5.2.1
Fetching actionview 6.1.7.7
Fetching activejob 6.1.7.7
Installing actionview 6.1.7.7
Installing activejob 6.1.7.7
Fetching rubocop 1.57.2
Fetching activerecord 6.1.7.7
Installing rubocop 1.57.2
Installing activerecord 6.1.7.7
Fetching deckar01-task_list 2.3.2
Installing deckar01-task_list 2.3.2
Fetching actionpack 6.1.7.7
Fetching with_advisory_lock 5.1.0
Installing with_advisory_lock 5.1.0
Installing actionpack 6.1.7.7
Fetching rubocop-performance 1.19.1
Fetching rubocop-rails 2.22.2
Installing rubocop-performance 1.19.1
Fetching actioncable 6.1.7.7
Installing rubocop-rails 2.22.2
Fetching activestorage 6.1.7.7
Installing actioncable 6.1.7.7
Fetching actionmailer 6.1.7.7
Installing activestorage 6.1.7.7
Installing actionmailer 6.1.7.7
Fetching railties 6.1.7.7
Using sprockets-rails 3.4.2
Fetching actionmailbox 6.1.7.7
Installing actionmailbox 6.1.7.7
Installing railties 6.1.7.7
Fetching actiontext 6.1.7.7
Installing actiontext 6.1.7.7
Fetching actionpack-xml_parser 2.0.1
Fetching roadie-rails 3.1.0
Installing actionpack-xml_parser 2.0.1
Installing roadie-rails 3.1.0
Fetching rails 6.1.7.7
Installing rails 6.1.7.7
Bundle complete! 42 Gemfile dependencies, 105 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from html-pipeline:
-------------------------------------------------
Thank you for installing html-pipeline!
You must bundle Filter gem dependencies.
See html-pipeline README.md for more details.
https://github.com/jch/html-pipeline#dependencies
-------------------------------------------------
Post-install message from rubyzip:
RubyZip 3.0 is coming!
**********************

The public API of some Rubyzip classes has been modernized to use named
parameters for optional arguments. Please check your usage of the
following classes:
  * `Zip::File`
  * `Zip::Entry`
  * `Zip::InputStream`
  * `Zip::OutputStream`

Please ensure that your Gemfiles and .gemspecs are suitably restrictive
to avoid an unexpected breakage when 3.0 is released (e.g. ~> 2.3.0).
See https://github.com/rubyzip/rubyzip for details. The Changelog also
lists other enhancements and bugfixes that have been implemented since
version 2.3.0.

添加会话缓存

bundle exec rake generate_secret_token

生成库表结构

RAILS_ENV=production bundle exec rake db:migrate

加载默认数据

RAILS_ENV=production bundle exec rake redmine:load_default_data

选择zh即中文

文件系统权限设置

#1.创建目录
mkdir -p tmp tmp/pdf public/plugin_assets
#2.目录所属用户配置
#如果创建了redmine用户执行
chown -R redmine:redmine files log tmp public/plugin_assets
#如果直接用root用户执行
chown -R root:root files log tmp public/plugin_assets
#3.目录权限配置
chmod -R 755 files log tmp public/plugin_assets

mysql2 0.5.5安装失败,需要执行下面命令安装依赖

yum install mysql-devel --nogpgcheck

#开放3000端口,以便局域网可以访问
firewall-cmd --permanent --add-port=3000/tcp
#重启防火墙生效
firewall-cmd --reload

默认账号admin,默认密码admin

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

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

相关文章

学习CSS3,实现红色心形loading特效

试想一下&#xff0c;如果你的网站在加载过程中&#xff0c;loading图由一个老旧的菊花转动图片&#xff0c;变为一个红色的心形loading特效&#xff0c;那该有多炫酷啊。 目录 实现思路 初始化HTML部分 延迟动画是重点 设定动画效果 完整源代码 最后 实现思路 每个…

问界M7碰撞后车门打不开,都是隐形门把手的错?

问界M7碰撞后车门打不开&#xff0c;并不能简单地归咎于隐形门把手的设计。实际上&#xff0c;碰撞后车门无法打开可能涉及多个因素&#xff0c;具体分析如下&#xff1a; 隐藏式门把手的设计与工作原理&#xff1a;隐藏式门把手在正常状态下与车身表面齐平&#xff0c;解锁时才…

AI图书推荐:如何使用ChatGPT来提升逻辑分析能力

在一个日益由数据和技术驱动的世界中&#xff0c;进行逻辑思考和做出明智决策的能力比以往任何时候都更为关键。逻辑分析构成了理性思考的基础&#xff0c;引导我们穿越复杂问题&#xff0c;并帮助我们得出合理的结论。随着人工智能&#xff08;AI&#xff09;的出现&#xff0…

C语言-调试技巧

目录 一、调试介绍1.1 Debug和Release的介绍1.2 Windows环境调试介绍1.2.1 学会快捷键1.2.2 查看临时变量的值1.2.3 查看内存信息1.2.4 查看调用堆栈1.2.4 查看汇编信息1.2.5 查看寄存器信息 二、编程常见的错误2.1 编译型错误2.2 链接型错误2.3 运行时错误 三、易于调试的代码…

【C++】双指针算法:四数之和

1.题目 2.算法思路 这道题目十分困难&#xff0c;在leetcode上的通过率只有36%&#xff0c;大家要做好心理准备。 在做个题目前强烈建议大家先看看我的上一篇博客&#xff1a;有效三角形个数&#xff0c;看完之后再去leetcode上写一写三数之和&#xff0c;搞懂那两个题目之后…

网络安全实训Day16

网络空间安全实训-渗透测试 漏洞扫描 定义 扫描和探测目标范围内的主机存在哪些安全漏洞&#xff0c;或扫描目标范围内的那些主机存在某个指定的漏洞 漏扫工具 AWVS APPScan MSF 使用MSF扫描漏洞并利用 1.搜索需要的攻击模块 search ms17-010 2.使用攻击模块 use 模块名称…

jsp校园商城派送系统Myeclipse开发mysql数据库web结构java编程计算机网页项目

一、源码特点 JSP 校园商城派送系统 是一套完善的web设计系统&#xff0c;对理解JSP java编程开发语言有帮助&#xff0c;系统具有完整的源代码和数据库&#xff0c;系统采用serlvetdaobean mvc 模式&#xff0c;系统主要采用B/S模式 开发。开发环境为TOMCAT7.0,Myeclipse8.…

每日一题-贪心算法

目录 前言 买入股票的最佳时机(1) 买入股票的最好时机(2) 前言 当你踏上贪心算法的旅程&#xff0c;仿佛置身于一场智慧的盛宴&#xff0c;每一步都是对问题解决方案的审慎选择&#xff0c;每一次决策都是对最优解的向往。贪心算法以其简洁高效的特性&#xff0c;被广泛运用于…

yolov5-pytorch-Ultralytics训练+预测+报错处理记录

一、前言 玩一段时间大模型&#xff0c;也该回归一下图像识别。本项目用于记录使用基于Ultralytics的yolov5进行目标检测测试。为什么用Ultralytics呢&#xff1f;答案有3 1、其良好的生态&#xff0c;方便我们部署到其它语言和设备上。因此本次测试结论&#xff1a;大坑没有&…

基于YOLOv8的水稻虫害识别系统,加入BiLevelRoutingAttention注意力进行创新优化

&#x1f4a1;&#x1f4a1;&#x1f4a1;本文摘要&#xff1a;基于YOLOv8的水稻虫害识别&#xff0c;阐述了整个数据制作和训练可视化过程&#xff0c;并加入BiLevelRoutingAttention注意力进行优化&#xff0c;最终mAP从原始的 0.697提升至0.732 博主简介 AI小怪兽&#xff…

pyqt标签常用qss格式设置

pyqt标签常用qss格式设置 QSS介绍标签常用的QSS设置效果代码 QSS介绍 Qt Style Sheets (QSS) 是 Qt 框架中用于定制应用程序界面样式的一种语言。它类似于网页开发中的 CSS&#xff08;Cascading Style Sheets&#xff09;&#xff0c;但专门为 Qt 应用程序设计。使用 QSS&…

[信息收集]-端口扫描--Nmap

端口号 端口号的概念属于计算机网络的传输层&#xff0c;标识这些不同的应用程序和服务而存在的。通过使用不同的端口号&#xff0c;传输层可以将接收到的数据包准确地传递给目标应用程序。 80&#xff1a;HTTP&#xff08;超文本传输协议&#xff09;用于Web浏览器访问网页 …

怎么证明E[E(X|Y,Z)Y]= E(X|Y)

性质8的证明 物理意义

中霖教育:资产评估师报考攻略

一、报考条件 1 参加资产评估师考试的基本条件:为中国公民 2 具有完全民事行为能力 3 具有高等院校专科以上(含专科)学历 符合上述报名条件&#xff0c;暂未取得学历(学位)的大学生可报名参加考试 二、报名时间 报名时间&#xff1a;2024年3月25日9:00至5月10日24:00 补…

《有限元分析及应用》《有限元分析基础教程》-曾攀-清华大学|pdf电子书+有限元分析及应用视频教程(全85讲) 曾攀、雷丽萍 ​​​+课件PPT

专栏导读 作者简介&#xff1a;工学博士&#xff0c;高级工程师&#xff0c;专注于工业软件算法研究本文已收录于专栏&#xff1a;《有限元编程从入门到精通》本专栏旨在提供 1.以案例的形式讲解各类有限元问题的程序实现&#xff0c;并提供所有案例完整源码&#xff1b;2.单元…

分割链表----一道题目的3种不同的解法

1.题目概述 以这个题目的事例作为例子&#xff0c;我们看一下这个题目到底是什么意思&#xff08;Leedcode好多小伙伴说看不懂题目是什么意思&#xff09;&#xff0c;就是比如一个x3&#xff0c;经过我们的程序执行之后&#xff1b;大于3的在这个链表的后面&#xff0c;小于3的…

【资源分享】CAD Map 3D2024安装教程

::: block-1 “时问桫椤”是一个致力于为本科生到研究生教育阶段提供帮助的不太正式的公众号。我们旨在在大家感到困惑、痛苦或面临困难时伸出援手。通过总结广大研究生的经验&#xff0c;帮助大家尽早适应研究生生活&#xff0c;尽快了解科研的本质。祝一切顺利&#xff01;—…

【深度学习】第一门课 神经网络和深度学习 Week 3 浅层神经网络

&#x1f680;Write In Front&#x1f680; &#x1f4dd;个人主页&#xff1a;令夏二十三 &#x1f381;欢迎各位→点赞&#x1f44d; 收藏⭐️ 留言&#x1f4dd; &#x1f4e3;系列专栏&#xff1a;深度学习 &#x1f4ac;总结&#xff1a;希望你看完之后&#xff0c;能对…

Java Swing手搓童年坦克大战游戏(III)

坦克大战豪华山寨版二期工程 计划&#xff1a;实现【道具功能】【分数统计、排行榜】【多种类型敌军坦克派遣】【自建地图】【游戏存档读档】【联网实现双人配合】等&#xff0c;修复一些严重的bug。由于功能比较多&#xff0c;目测会分多篇文章记录…… 前言 通过对原游戏的…

删除链表中等于给定值 val 的所有结点(三种方法深入解析)

又见面啦&#xff0c;接下来的链表相关Oj题目我会根据我自己的理解来给大家讲解&#xff0c;包括解析和代码&#xff0c;希望你可以对链表有更加深入的理解&#xff01;&#xff01; 题目&#xff1a; 先上链接&#xff1a; OJ题目 给你一个链表的头节点 head 和一个整数 va…