Warning: include(/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php): failed to open stream: No such file or directory in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: include(/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php): failed to open stream: No such file or directory in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: include(): Failed opening '/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php' for inclusion (include_path='.:/opt/cpanel/ea-php70/root/usr/share/pear') in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/feed-rss2.php on line 8
centos – unethost無限空間虛擬主機 技術分享部落格 https://blog.unethost.com unethost 專注於提供優質的虛擬主機服務及相關問題解答 Wed, 16 Apr 2014 08:34:21 +0000 zh-TW hourly 1 https://wordpress.org/?v=6.0.8 openssl重大安全性問題 https://blog.unethost.com/fix_openssl_update/ Thu, 10 Apr 2014 07:45:41 +0000 http://blog.unethost.com/?p=606 閱讀全文 openssl重大安全性問題]]> 根據openssl的公告: https://www.openssl.org/news/secadv_20140407.txt
因openssl出現重大安全性問題,有相當多現行的伺服器會受到影響,這算是最嚴重等級的資安bug,對於有提供HTTPS, Webmail, VPNs的服務業者影響尤大(光Https就涵蓋相當多)。

可以使用我們下列的教學,進行更新,以免遭遇駭客攻擊。


使用ubuntu為os的主機:
sudo apt-get update openssl && sudo apt-get upgrade openssl

使用centos為os的主機:
apache:
# yum update openssl mod_ssl
# /etc/init.d/httpd restart

nginx:
# yum update openssl nginx
# /etc/init.d/nginx restart

使用cpanel控制台的主機:
# yum clean all
# yum update openssl
# /etc/init.d/httpd restart
# service cpanel restart
最後需要登入 whm ,將所有service都restart。
驗證方式,請登入 http://filippo.io/Heartbleed/
驗證成功,會出現下列圖片字串。
1

unethost.com虛擬主機,我們已更新完畢;vps及獨立主機用戶,如果不會操作更新,可通知我們客服進行處理。

]]>
如何在centOS上,透過yum安裝基本的web server https://blog.unethost.com/centos-yum-install-apache-php-mysql/ Wed, 06 Feb 2013 17:55:43 +0000 http://blog.unethost.com/?p=209 閱讀全文 如何在centOS上,透過yum安裝基本的web server]]> 有的客戶因為要跑相對比較吃硬碟I/O數的遊戲,喜歡不裝cpanel。但是不裝cpanel的話,剛拿到的centOS是連完整的web server環境都沒有的。本文就是來講解,如何在一台乾淨的centOS上,透過yum安裝基本的web server

(*) 安裝web server
1 for php
yum install php

2 for ioncube loader ( ioncube loader是一個跟加密的php source code有關的模組,不灌這個的話,如果要執行的插件是有加密的php source code,就跑不動了。)
wget -q -O – http://www.atomicorp.com/installers/atomic |sh
yum install php-ioncube-loader

3 for mysql
yum install mysql mysql-server php-mysql
chkconfig –levels 235 mysqld on
/etc/init.d/mysqld start
修改mysql的 password
/usr/bin/mysqladmin -u root password ‘你要設定給mysql root的密碼

4 for httpd
yum install httpd
service httpd restart

]]>