- 浏览: 2551370 次
- 性别:
- 来自: 成都
文章分类
最新评论
-
nation:
你好,在部署Mesos+Spark的运行环境时,出现一个现象, ...
Spark(4)Deal with Mesos -
sillycat:
AMAZON Relatedhttps://www.godad ...
AMAZON API Gateway(2)Client Side SSL with NGINX -
sillycat:
sudo usermod -aG docker ec2-use ...
Docker and VirtualBox(1)Set up Shared Disk for Virtual Box -
sillycat:
Every Half an Hour30 * * * * /u ...
Build Home NAS(3)Data Redundancy -
sillycat:
3 List the Cron Job I Have>c ...
Build Home NAS(3)Data Redundancy
RabbitMQ(1)Install on Redhat
First of all, I tried to install this software on redhat. I choose the general unix way to do that.
1. Check my yum
>yum --version
2.0.7
>python -V
2.3.4
update my yum repository
>sudo vi /etc/yum.conf
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
[base]
#name=CentOS-$releasever – Base
name=Red Hat Linux $releasever - $basearch - Base
#baseurl=http://mirror.centos.org/centos/4/os/i386/
baseurl=http://vault.centos.org/4.9/os/i386/
gpgcheck=1
[updates]
#name=Red Hat Linux $releasever – Updates
name=Red Hat Linux $releasever - Updates
#baseurl=http://mirror.centos.org/centos/4/updates/i386/
baseurl=http://vault.centos.org/4.9/updates/i386/
gpgcheck=1
And change the /etc/yum.repos.d/CentOS-Base.repo content to
http://vault.centos.org/4.9 as well.
>sudo yum update
2. Install erlang
>sudo wget -O /etc/yum.repos.d/epel-erlang.repo http://repos.fedorapeople.org/repos/peter/erlang/epel-erlang.repo
>sudo yum update
>sudo yum install erlang
error message:
Finding updated packages
Downloading needed headers
Cannot find a package matching erlang
No actions to take
solution:
maybe, because my yum version is very old, the erlang repo is not working.
I copy the content to /etc/yum.conf
...snip..
[epel-erlang]
name=Erlang/OTP R14B
baseurl=http://repos.fedorapeople.org/repos/peter/erlang/epel-$releasever/$basearch/
enabled=1
skip_if_unavailable=1
gpgcheck=0
[epel-erlang-source]
name=Erlang/OTP R14B - Source
baseurl=http://repos.fedorapeople.org/repos/peter/erlang/epel-$releasever/SRPMS
enabled=0
skip_if_unavailable=1
gpgcheck=0
But still, there is error message, maybe, the yum is too old. I will try to update that.
retrygrab() failed for:
http://repos.fedorapeople.org/repos/peter/erlang/epel-4/i386/headers/header.info
Executing failover method
failover: out of servers to try
Error getting file http://repos.fedorapeople.org/repos/peter/erlang/epel-4/i386/headers/header.info
[Errno 4] IOError: HTTP Error 404: Not Found
solution:
update my yum to 3.4.3, python to 2.6.1.
>which yum
>sudo vi /usr/bin/yum
>yum --version
Traceback (most recent call last):
File "/usr/bin/yum", line 28, in ?
import yummain
File "/usr/share/yum-cli/yummain.py", line 30, in ?
from yum import logginglevels
ImportError: cannot import name logginglevels
solution:
I will try the version yum 3.2.19 Python 2.4.3
>wget http://www.python.org/ftp/python/2.4.3/Python-2.4.3.tar.bz2
>tar -jxvf Python-2.4.3.tar.bz2
>cd Python-2.4.3
>./configure --prefix=/usr/python2.4.3
>sudo mkdir /usr/python2.4.3
>make
>sudo make install
>sudo mv /usr/bin/python /usr/bin/python2.6.1
>sudo ln -s /usr/python2.4.3/bin/python /usr/bin/python
>python -V
Python 2.4.3
>wget http://yum.baseurl.org/download/3.2/yum-3.2.19.tar.gz
>sudo rm /usr/bin/yum
>sudo rm /usr/bin/yum-arch
>tar zxvf yum-3.2.19.tar.gz
>cd yum-3.2.19
>sudo make
>sudo make install
>yum --version
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
No module named yum
Solution:
>whereis python
python: /usr/bin/python /usr/bin/python2.3 /usr/lib/python2.3 /usr/include/python2.3 /usr/share/man/man1/python.1.gz
I am really unhappy about the yum version and the python version. Maybe, I will make it better next time. I will try other way to install erlang on my redhat.
3. Install erlang from source
>wget http://www.erlang.org/download/otp_src_R15B01.tar.gz
>tar zxvf otp_src_R15B01.tar.gz
>cd otp_src_R15B01
>export LANG=C
>./configure --prefix=/usr/erlang
>make
>sudo make install
>cd /usr/erlang/bin
>erl
And I will link the erl file to /usr/bin
>sudo ln -s /usr/erlang/bin/erl /usr/bin/erl
4. I will install rabbitMQ
I will try to install rabbitmq with http://www.rabbitmq.com/releases/rabbitmq-server/v2.8.2/rabbitmq-server-2.8.2-1.noarch.rpm.
>sudo rpm --import http://www.rabbitmq.com/rabbitmq-signing-key-public.asc
>sudo yum install rabbitmq-server-2.8.2-1.noarch.rpm
This is not working because my yum version is low maybe.
I will try to install rabbitmq in general way.
>wget http://www.rabbitmq.com/releases/rabbitmq-server/v2.8.2/rabbitmq-server-generic-unix-2.8.2.tar.gz
>tar zxvf rabbitmq-server-generic-unix-2.8.2.tar.gz
>sudo mv rabbitmq_server-2.8.2 /opt/tools/rabbitmq_server-2.8.2
Start the server
>cd /opt/tools/rabbitmq_server-2.8.2
>sudo sbin/rabbitmq-server
Check the status and stop the server
>sudo sbin/rabbitmqctl status
>sudo sbin/rabbitmqctl stop
references:
http://www.rabbitmq.com/install-windows.html
http://www.rabbitmq.com/install-generic-unix.html
http://mirrors.163.com/.help/centos.html?1304848825
http://sillycat.iteye.com/blog/1156180
http://nigelzeng.iteye.com/blog/1522554
http://zhb1208.iteye.com/blog/1330658
http://sillycat.iteye.com/blog/1155915
http://www.cxybase.com/201011/yum-python-error/
http://www.question-defense.com/2009/12/25/how-to-install-python-2-6-on-centos-5-without-breaking-yum
http://www.red-dove.com/python_logging.html#download
http://sillycat.iteye.com/blog/1154047
http://dennis-zane.iteye.com/blog/95572
First of all, I tried to install this software on redhat. I choose the general unix way to do that.
1. Check my yum
>yum --version
2.0.7
>python -V
2.3.4
update my yum repository
>sudo vi /etc/yum.conf
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
[base]
#name=CentOS-$releasever – Base
name=Red Hat Linux $releasever - $basearch - Base
#baseurl=http://mirror.centos.org/centos/4/os/i386/
baseurl=http://vault.centos.org/4.9/os/i386/
gpgcheck=1
[updates]
#name=Red Hat Linux $releasever – Updates
name=Red Hat Linux $releasever - Updates
#baseurl=http://mirror.centos.org/centos/4/updates/i386/
baseurl=http://vault.centos.org/4.9/updates/i386/
gpgcheck=1
And change the /etc/yum.repos.d/CentOS-Base.repo content to
http://vault.centos.org/4.9 as well.
>sudo yum update
2. Install erlang
>sudo wget -O /etc/yum.repos.d/epel-erlang.repo http://repos.fedorapeople.org/repos/peter/erlang/epel-erlang.repo
>sudo yum update
>sudo yum install erlang
error message:
Finding updated packages
Downloading needed headers
Cannot find a package matching erlang
No actions to take
solution:
maybe, because my yum version is very old, the erlang repo is not working.
I copy the content to /etc/yum.conf
...snip..
[epel-erlang]
name=Erlang/OTP R14B
baseurl=http://repos.fedorapeople.org/repos/peter/erlang/epel-$releasever/$basearch/
enabled=1
skip_if_unavailable=1
gpgcheck=0
[epel-erlang-source]
name=Erlang/OTP R14B - Source
baseurl=http://repos.fedorapeople.org/repos/peter/erlang/epel-$releasever/SRPMS
enabled=0
skip_if_unavailable=1
gpgcheck=0
But still, there is error message, maybe, the yum is too old. I will try to update that.
retrygrab() failed for:
http://repos.fedorapeople.org/repos/peter/erlang/epel-4/i386/headers/header.info
Executing failover method
failover: out of servers to try
Error getting file http://repos.fedorapeople.org/repos/peter/erlang/epel-4/i386/headers/header.info
[Errno 4] IOError: HTTP Error 404: Not Found
solution:
update my yum to 3.4.3, python to 2.6.1.
>which yum
>sudo vi /usr/bin/yum
>yum --version
Traceback (most recent call last):
File "/usr/bin/yum", line 28, in ?
import yummain
File "/usr/share/yum-cli/yummain.py", line 30, in ?
from yum import logginglevels
ImportError: cannot import name logginglevels
solution:
I will try the version yum 3.2.19 Python 2.4.3
>wget http://www.python.org/ftp/python/2.4.3/Python-2.4.3.tar.bz2
>tar -jxvf Python-2.4.3.tar.bz2
>cd Python-2.4.3
>./configure --prefix=/usr/python2.4.3
>sudo mkdir /usr/python2.4.3
>make
>sudo make install
>sudo mv /usr/bin/python /usr/bin/python2.6.1
>sudo ln -s /usr/python2.4.3/bin/python /usr/bin/python
>python -V
Python 2.4.3
>wget http://yum.baseurl.org/download/3.2/yum-3.2.19.tar.gz
>sudo rm /usr/bin/yum
>sudo rm /usr/bin/yum-arch
>tar zxvf yum-3.2.19.tar.gz
>cd yum-3.2.19
>sudo make
>sudo make install
>yum --version
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
No module named yum
Solution:
>whereis python
python: /usr/bin/python /usr/bin/python2.3 /usr/lib/python2.3 /usr/include/python2.3 /usr/share/man/man1/python.1.gz
I am really unhappy about the yum version and the python version. Maybe, I will make it better next time. I will try other way to install erlang on my redhat.
3. Install erlang from source
>wget http://www.erlang.org/download/otp_src_R15B01.tar.gz
>tar zxvf otp_src_R15B01.tar.gz
>cd otp_src_R15B01
>export LANG=C
>./configure --prefix=/usr/erlang
>make
>sudo make install
>cd /usr/erlang/bin
>erl
And I will link the erl file to /usr/bin
>sudo ln -s /usr/erlang/bin/erl /usr/bin/erl
4. I will install rabbitMQ
I will try to install rabbitmq with http://www.rabbitmq.com/releases/rabbitmq-server/v2.8.2/rabbitmq-server-2.8.2-1.noarch.rpm.
>sudo rpm --import http://www.rabbitmq.com/rabbitmq-signing-key-public.asc
>sudo yum install rabbitmq-server-2.8.2-1.noarch.rpm
This is not working because my yum version is low maybe.
I will try to install rabbitmq in general way.
>wget http://www.rabbitmq.com/releases/rabbitmq-server/v2.8.2/rabbitmq-server-generic-unix-2.8.2.tar.gz
>tar zxvf rabbitmq-server-generic-unix-2.8.2.tar.gz
>sudo mv rabbitmq_server-2.8.2 /opt/tools/rabbitmq_server-2.8.2
Start the server
>cd /opt/tools/rabbitmq_server-2.8.2
>sudo sbin/rabbitmq-server
Check the status and stop the server
>sudo sbin/rabbitmqctl status
>sudo sbin/rabbitmqctl stop
references:
http://www.rabbitmq.com/install-windows.html
http://www.rabbitmq.com/install-generic-unix.html
http://mirrors.163.com/.help/centos.html?1304848825
http://sillycat.iteye.com/blog/1156180
http://nigelzeng.iteye.com/blog/1522554
http://zhb1208.iteye.com/blog/1330658
http://sillycat.iteye.com/blog/1155915
http://www.cxybase.com/201011/yum-python-error/
http://www.question-defense.com/2009/12/25/how-to-install-python-2-6-on-centos-5-without-breaking-yum
http://www.red-dove.com/python_logging.html#download
http://sillycat.iteye.com/blog/1154047
http://dennis-zane.iteye.com/blog/95572
发表评论
-
Update Site will come soon
2021-06-02 04:10 1677I am still keep notes my tech n ... -
Hadoop Docker 2019 Version 3.2.1
2019-12-10 07:39 294Hadoop Docker 2019 Version 3.2. ... -
Nginx and Proxy 2019(1)Nginx Enable Lua and Parse JSON
2019-12-03 04:17 448Nginx and Proxy 2019(1)Nginx En ... -
Data Solution 2019(13)Docker Zeppelin Notebook and Memory Configuration
2019-11-09 07:15 294Data Solution 2019(13)Docker Ze ... -
Data Solution 2019(10)Spark Cluster Solution with Zeppelin
2019-10-29 08:37 248Data Solution 2019(10)Spark Clu ... -
AMAZON Kinesis Firehose 2019(1)Firehose Buffer to S3
2019-10-01 10:15 322AMAZON Kinesis Firehose 2019(1) ... -
Rancher and k8s 2019(3)Clean Installation on CentOS7
2019-09-19 23:25 313Rancher and k8s 2019(3)Clean In ... -
Pacemaker 2019(1)Introduction and Installation on CentOS7
2019-09-11 05:48 343Pacemaker 2019(1)Introduction a ... -
Crontab-UI installation and Introduction
2019-08-30 05:54 454Crontab-UI installation and Int ... -
Spiderkeeper 2019(1)Installation and Introduction
2019-08-29 06:49 509Spiderkeeper 2019(1)Installatio ... -
Supervisor 2019(2)Ubuntu and Multiple Services
2019-08-19 10:53 370Supervisor 2019(2)Ubuntu and Mu ... -
Supervisor 2019(1)CentOS 7
2019-08-19 09:33 331Supervisor 2019(1)CentOS 7 Ins ... -
Redis Cluster 2019(3)Redis Cluster on CentOS
2019-08-17 04:07 373Redis Cluster 2019(3)Redis Clus ... -
Amazon Lambda and Version Limit
2019-08-02 01:42 438Amazon Lambda and Version Limit ... -
MySQL HA Solution 2019(1)Master Slave on MySQL 5.7
2019-07-27 22:26 529MySQL HA Solution 2019(1)Master ... -
RabbitMQ Cluster 2019(2)Cluster HA and Proxy
2019-07-11 12:41 463RabbitMQ Cluster 2019(2)Cluster ... -
Running Zeppelin with Nginx Authentication
2019-05-25 21:35 323Running Zeppelin with Nginx Aut ... -
Running Zeppelin with Nginx Authentication
2019-05-25 21:34 323Running Zeppelin with Nginx Aut ... -
ElasticSearch(3)Version Upgrade and Cluster
2019-05-20 05:00 329ElasticSearch(3)Version Upgrade ... -
Jetty Server and Cookie Domain Name
2019-04-28 23:59 404Jetty Server and Cookie Domain ...
相关推荐
基于智能温度监测系统设计.doc
包括userCF,itemCF,MF,LR,POLY2,FM,FFM,GBDT+LR,阿里LS-PLM 基于深度学习推荐系统(王喆)
2023-04-06-项目笔记-第三百五十五阶段-课前小分享_小分享1.坚持提交gitee 小分享2.作业中提交代码 小分享3.写代码注意代码风格 4.3.1变量的使用 4.4变量的作用域与生命周期 4.4.1局部变量的作用域 4.4.2全局变量的作用域 4.4.2.1全局变量的作用域_1 4.4.2.353局变量的作用域_353- 2024-12-22
和美乡村城乡融合发展数字化解决方案.docx
基于Python的深度学习图像识别系统是一个利用卷积神经网络(CNN)对图像进行分类的先进项目。该项目使用Python的深度学习库,如TensorFlow,构建和训练一个模型,能够自动识别和分类图像中的对象。系统特别适合于图像处理领域的研究和实践,如计算机视觉、自动驾驶、医疗影像分析等。 项目的核心功能包括数据预处理、模型构建、训练、评估和预测。用户可以上传自己的图像或使用预定义的数据集进行训练。系统提供了一个直观的界面,允许用户监控训练进度,并可视化模型的性能。此外,系统还包括了一个模型优化模块,通过调整超参数和网络结构来提高识别准确率。 技术层面上,该项目使用了Python编程语言,并集成了多个流行的机器学习库,如NumPy、Pandas、Matplotlib等,用于数据处理和可视化。模型训练过程中,系统会保存训练好的权重,以便后续进行模型评估和预测。用户可以通过简单的API调用,将新的图像输入到训练好的模型中,获取预测结果。
拳皇97.exe拳皇972.exe拳皇973.exe
基于python和协同过滤算法的电影推荐系统 基于python和协同过滤算法的电影推荐系统基于python和协同过滤算法的电影推荐系统基于python和协同过滤算法的电影推荐系统基于python和协同过滤算法的电影推荐系统基于python和协同过滤算法的电影推荐系统基于python和协同过滤算法的电影推荐系统基于python和协同过滤算法的电影推荐系统基于python和协同过滤算法的电影推荐系统基于python和协同过滤算法的电影推荐系统基于python和协同过滤算法的电影推荐系统基于python和协同过滤算法的电影推荐系统基于python和协同过滤算法的电影推荐系统基于python和协同过滤算法的电影推荐系统基于python和协同过滤算法的电影推荐系统基于python和协同过滤算法的电影推荐系统基于python和协同过滤算法的电影推荐系统基于python和协同过滤算法的电影推荐系统基于python和协同过滤算法的电影推荐系统基于python和协同过滤算法的电影推荐系统基于python和协同过滤算法的电影推荐系统基于python和协同过滤算法的电影推荐系统基于python和协同过滤算法
DEV-CPP-RED-PANDA
Python语言求解旅行商问题,算法包括禁忌搜索、蚁群算法、模拟退火算法等。
pdfjs 用于在浏览器中查看/预览/打印pdf。 pdfjs 2.5.207 支持firefox/chrome/edge/ie11以上版本。 如果需要支持旧版本浏览器,可以使用这个,是未修改过的原版,支持打印和下载按钮。亲测有效。 pdf 4.9.155分两个包: pdfjs-4.9.155-dist.zip pdfjs-4.9.155-legacy-dist.zip
建设项目现场高温人员中暑事故应急预案
数据结构上机实验大作业-线性表选题.zip
【资源说明】 基于高德地图的校园导航全部资料+详细文档+高分项目.zip 【备注】 1、该项目是个人高分项目源码,已获导师指导认可通过,答辩评审分达到95分 2、该资源内项目代码都经过测试运行成功,功能ok的情况下才上传的,请放心下载使用! 3、本项目适合计算机相关专业(人工智能、通信工程、自动化、电子信息、物联网等)的在校学生、老师或者企业员工下载使用,也可作为毕业设计、课程设计、作业、项目初期立项演示等,当然也适合小白学习进阶。 4、如果基础还行,可以在此代码基础上进行修改,以实现其他功能,也可直接用于毕设、课设、作业等。 欢迎下载,沟通交流,互相学习,共同进步!
【静态站群程序视频演示,只有视频,不含程序,下载须知】【静态站群程序视频演示,只有视频,不含程序,下载须知】全自动批量建站快速养权重站系统【纯静态html站群版】:(GPT4.0自动根据关键词写文章+自动发布+自定义友链+自动文章内链+20%页面加提权词)
9.30 SWKJ 男头7张+女头2张.zip
项目已获导师指导并通过的高分毕业设计项目,可作为课程设计和期末大作业,下载即用无需修改,项目完整确保可以运行。 包含:项目源码、数据库脚本、软件工具等,该项目可以作为毕设、课程设计使用,前后端代码都在里面。 该系统功能完善、界面美观、操作简单、功能齐全、管理便捷,具有很高的实际应用价值。 项目都经过严格调试,确保可以运行!可以放心下载 技术组成 语言:java 开发环境:idea、vscode 数据库:MySql5.7以上 部署环境:maven 数据库工具:navicat
一个通过单片机在各种屏幕上显示中文的解决方案.7z
图像
一、用户管理功能 用户注册与登录 学生注册:学生可以通过手机号、邮箱、社交账号等方式注册,填写个人信息(如姓名、年龄、学校等)。 家长/监护人账户:支持家长/监护人注册并管理学生账户,查看学习进度和成绩。 教师账户:教师可以注册并设置个人资料,上传资质认证文件。 管理员账户:管理员负责整个系统的管理,包括用户管理、课程管理、平台设置等。 用户权限管理 角色权限:系统根据用户类型(学生、家长、教师、管理员)分配不同权限,确保信息安全。 家长监督:家长可以查看子女的学习进度、成绩和教师反馈,参与学习监督。 个人资料管理 用户可以在个人中心更新基本信息,设置个人头像、联系方式、密码等。 支持学籍信息的维护,例如学生的年级、班级、课程历史等。 二、课程管理功能 课程设置 课程创建与编辑:教师或管理员可以创建和编辑课程内容,上传课件、视频、文档等教学材料。 课程分类:根据学科、年级、难度等维度进行课程分类,方便学生浏览和选择。 课程排课:管理员可以设置课程的时间表、教学内容和授课教师,并调整上课时间和频率。 课程安排与通知 课程预约:学生可以在线选择并预约感兴趣的课程,系统根据学生的时
内容概要:本文档介绍了英特尔2021年至2024年的网络连接性产品和智能处理单元(IPU)的战略和技术路线图。涵盖了从10GbE到200GbE的不同系列以太网适配器的特性、性能和发布时间。详细列出了各个产品的关键功能,如PCIe接口、安全特性、RDMA支持等。同时,介绍了IPU的发展计划,包括200G、400G和800G的不同代次产品的性能提升和新的功能特点。 适合人群:从事网络工程、数据中心管理、IT架构设计的专业技术人员。 使用场景及目标:本文档主要用于了解英特尔未来几年在以太网适配器和IPU领域的技术和产品规划,帮助企业在采购和部署网络设备时做出决策。同时,为研究人员提供最新技术发展趋势的参考。 其他说明:文档内容涉及的技术细节和时间表可能会有变动,请以英特尔官方发布的最新信息为准。