首頁

2014年4月5日 星期六

*這是較早前於'FDZone'-分享過的MacOS X 之"管理平台"- -用家可安裝Zenoss Core 4.2.4 (.10) [core-autodeploy.sh]-[CentOS 6.5 x64]的技術來運行喔!"

**這是較早前於'FDZone'-分享過的MacOS X 之"管理平台"- -用家可安裝Zenoss Core 4.2.4 (.10) [core-autodeploy.sh]-[CentOS 6.5 x64]的技術來運行喔!"   

 發表於 2014-02-27 04:56:37 (第 37 天)  |只看他 | 評分 | 編輯 | 補分
本帖最後由 dior88 於 2014-02-27 05:31 AM 編輯

1).分享工具及介紹*Mac OS X 之"管理平台"-
-用家可安裝Zenoss Core 4.2.4 (.10)
[core-autodeploy.sh]-[CentOS 6.5 x64]的技術來運行喔~

(Zenoss Core)是一套開放原始碼的應用軟體,
是基於Zope (一個用python寫成的放原始碼網頁應用伺服器)的伺服器和網路管理平台。
它是在GPL 2.0的授權證下釋出的。
Zenoss Core提供了一個網頁介面,
允許系統管理員監控像是可用性,
詳細目錄或組態,性能還有事件。
它組合了許多開放原始碼專案來達成基於網頁的使用者介面的目的。
使用SNMP (Simple Network Management Protocol)、
SSH等協定而不需要額外安裝agent !


這個管理平台提供了服務器、網絡設備、
OS和應用的事件管理、可用管理、和性能管理。
Zenoss 能運行於Mac OS XLinux  和 FreeBSD ;
它也可以作為一個Zenoss 虛擬應用運行在VMplayer 裡。

官方網站
http://www.zenoss.com/   
社群網站
http://www.zenoss.org/  

下載--
http://community.zenoss.org/community/download[url]http://downloads.sourceforge.net/project/zenoss/zenoss-4.2/zenoss-4.2.4/zenoss_core-4.2.4.el6.x86_64.rpm[/url]
http://sourceforge.net/projects/zenoss/files/zenoss-4.2/zenoss-4.2.4/4.2.4-1897/zenoss_core-4.2.4-1897.el6.x86_64.rpm/download
http://sourceforge.net/projects/zenoss/files/
http://sourceforge.net/projects/zenoss/files/zenoss-4.2/zenoss-4.2.4/4.2.4-1897/  
     <目前最新 4.2.4-1897 是 2013年10月15日釋出>
安裝
- 複制

wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F" "http://download.oracle.com/otn-pub/java/jdk/7u51-b13/jre-7u51-linux-x64.rpm"  -O  jre-7u51-linux-x64.rpm
rpm -ivh jre-7u51-linux-x64.rpm
alternatives --install /usr/bin/java  java  /usr/java/jre1.7.0_51/bin/java  100
alternatives --set  java /usr/java/jre1.7.0_51/bin/java
echo 'export JAVA_HOME=/usr/java/jre1.7.0_51' >> /etc/profile
echo 'export PATH=$PATH:$JAVA_HOME/bin' >> /etc/profile
#echo 'export CLASSPATH=$JAVA_HOME/jre/lib/ext:$JAVA_HOME/lib/tools.jar' >> /etc/profile
echo 'export CLASSPATH=/usr/java/jre1.7.0_51/lib/amd64/libjawt.so' >> /etc/profile
source /etc/profile
java -version

yum -y remove mysql-libs
yum -y install wget
wget --no-check-certificate https://github.com/zenoss/core-autodeploy/tarball/4.2.4 -O auto.tar.gz
tar xzvf auto.tar.gz
cd zenoss-core-autodeploy-*
./core-autodeploy.sh


- 複制

實際狀

- 複制

[root@localhost zenoss-core-autodeploy-9342e87]# ./core-autodeploy.sh
Welcome to the Zenoss Core auto-deploy script!

This auto-deploy script installs the Oracle Java Runtime Environment (JRE).
To continue, please review and accept the Oracle Binary Code License Agreement
for Java SE.

Press Enter to continue.


Do you accept the Oracle Binary Code License Agreement for Java SE?Y

Install continues....
Ensuring Zenoss RPMs are not already present
Disabling SELinux...
Attempting to remove existing OpenJDK...
error: Failed dependencies:
        jre >= 1.5.0 is needed by (installed) libreoffice-ure-1:4.0.4.2-9.el6.x86_64
        libjawt.so()(64bit) is needed by (installed) libreoffice-core-1:4.0.4.2-9.el6.x86_64
        libjawt.so(SUNWprivate_1.1)(64bit) is needed by (installed) libreoffice-core-1:4.0.4.2-9.el6.x86_64
Command failure: rpm -e java-1.7.0-openjdk-1.7.0.45-2.4.3.3.el6.x86_64 java-1.6.0-openjdk-1.6.0.0-1.66.1.13.0.el6.x86_64

- 複制
--------------------------------
因為某些 libreoffice 軟體使用到 OpenJDK,導致無法移除.
所以把 libreoffice 移除

- [複制]
rpm -e libreoffice-calc  libreoffice-core  libreoffice-draw  libreoffice-graphicfilter  libreoffice-impress  libreoffice-langpack-en  libreoffice-langpack-zh-Hans  libreoffice-langpack-zh-Hant  libreoffice-math  libreoffice-opensymbol-fonts  
libreoffice-pdfimport  libreoffice-ure  libreoffice-writer  libreoffice-xsltfilter


[root@localhost zenoss-core-autodeploy-9342e87]#./core-autodeploy.sh
Welcome to the Zenoss Core auto-deploy script!

This auto-deploy script installs the Oracle Java Runtime Environment (JRE).
To continue, please review and accept the Oracle Binary Code License Agreement
for Java SE.

Press Enter to continue.

Do you accept the Oracle Binary Code License Agreement for Java SE?y
Install continues....
Ensuring Zenoss RPMs are not already present
Disabling SELinux...
Attempting to remove existing OpenJDK...
Downloading zenoss_core-4.2.4-1897.el6.x86_64.rpm...
--2014-01-25 22:45:25--  http://downloads.sourceforge.net/project/zenoss/zenoss-4.2/zenoss-4.2.4/4.2.4-
1897/zenoss_core-4.2.4-1897.el6.x86_64.rpm  

(略)

Zenoss installation completed.
Securing configuration files...
Zenoss Core 4.2.4-1897 install completed successfully!

Please visit http://127.0.0.1:8080 in your favorite Web browser to complete
setup.

NOTE: You may need to disable or modify this server's firewall to access port
8080. To disable this system's firewall, type:

# service iptables save
# service iptables stop
# chkconfig iptables off

Alternatively, you can modify your firewall to enable incoming connections to
port 8080. Here is a full list of all the ports Zenoss accepts incoming
connections from, and their purpose:

        8080 (TCP)                 Web user interface
        11211 (TCP and UDP)        memcached
        514 (UDP)                  syslog
        162 (UDP)                  SNMP traps


If you encounter problems with this script, please report them on the
following wiki page:

http://wiki.zenoss.org/index.php?title=Talk:Install_Zenoss

Thank you for using Zenoss. Happy monitoring!
[root@localhost zenoss-core-autodeploy-9342e87]#

- 複制

用瀏覽器連上 http://localhost:8080/
CentOS 6.5 x64 (104)-00.png 
CentOS 6.5 x64 (104)-01.png 
CentOS 6.5 x64 (104)-02.png 
CentOS 6.5 x64 (104)-03.png 

安裝參考--
http://community.zenoss.org/docs/DOC-13419#d0e1019
http://community.zenoss.org/community/documentation
http://wiki.zenoss.org/Install_Zenoss

p.s. 這是 sourceforge.net 給我寄來的作業
      只屬;純知識分享 願各格友明白箇中原意/原理
      僅此~

=======================================================
2).Gallery 3.0.9 繁體中文圖片藝廊-快速安裝程式 (CentOS 6.5 x86_64)
官方網站
http://galleryproject.org/


- 複制
# Gallery3_install_CentOS6.5x64.sh

if  [ "`grep SELINUX=disabled /etc/selinux/config`" == "" ]; then
/usr/sbin/setenforce 0
sed -i -e "s@SELINUX=enforcing@#SELINUX=enforcing@" /etc/selinux/config
sed -i -e "s@SELINUX=permissive@#SELINUX=permissive@" /etc/selinux/config
sed -i -e "/SELINUX=/aSELINUX=disabled" /etc/selinux/config
fi

yum -y install mysql mysql-server httpd php php-mysql wget php-mbstring php-gd

sed -i -e "s@short_open_tag = Off@#short_open_tag = Off@"   /etc/php.ini
sed -i -e "/short_open_tag = Off/ashort_open_tag = On"  /etc/php.ini
grep  short_open_tag  /etc/php.ini

chkconfig httpd on
chkconfig mysqld on
service httpd restart
service mysqld restart

wget http://downloads.sourceforge.net/gallery/gallery-3.0.9.zip
unzip gallery-3.0.9.zip -d /var/www/html
mkdir /var/www/html/gallery3/var
chmod 777 /var/www/html/gallery3/var

firefox http://localhost/gallery3 &


- 複制   

--------------------------
1.瀏覽器連上 http://localhost/gallery3 網址

2.全部預設值,按下Continue按鈕

3.安裝完成

4.按下 Change password and email now 按鈕

5.依據個人需求設定

6.依據個人需求設定

7.英文主畫面

8.選Admin下拉選單,Settings選項,Languages選項

9.語言設定畫面

10.勾選 [繁體中文],並且點選後面的圓圈

11.按下Update languages按鈕

12.待...更新完成

13.按下Start translation mode按鈕

14.按下Save settings按鈕

15.回主畫面網址 http://localhost/gallery3,Lanaguage preference 請往下拉,有[繁體中文]可以選擇的喔

16.便變成繁體中文畫面了
Gallery000.png 
http://www.melodytoyssexy.blogspot.com/2014/04/fdzone-macos-x-zenoss-core-424-10-core.html

1).分享工具及介紹*Mac OS X 之"管理平台"-
-用家可安裝Zenoss Core 4.2.4 (.10)
[core-autodeploy.sh]-[CentOS 6.5 x64]的技術來運行喔~
2).Gallery 3.0.9 繁體中文圖片藝廊-
-快速安裝程式 (CentOS 6.5 x86_64)


===MelodyRO上===THE   END===>/




&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&


沒有留言:

張貼留言


if you like make fds, wellcome you here~~anytime***

my free place for everyones who want the good software,

come & download them~ wellcome!!