autoDevops,CI,CD
vps的数据很重要,被误删除了,客户一定要找回,通过数据公司,费用高耗时长,并且会影响vps的正常运行。这个时候,我们可以通过linux系统的文件恢复工具来恢复:extundelete ,该工具的原理是通过 Inode 值去恢复文件,下面开始详细介绍这款工具的使用。恢复数据前期准备:1:需要准备额外的一块硬盘,并且这个硬盘的空间要足够用,用于把恢复的数据保存在这块硬盘上面。2:在恢复数据的时候,所有的vps都需要关机处理,不然无法进行恢复的。开始操作:(一)部署extundelete所需的环境,使用命令yum进行安装make,C++等组件。yum --enablerepo=base --disablerepo=citrix install gcc-c++ make openssl openssl-devel -y复制代码(二)下载extundelete工具,并且进行安装。wget http://os.xensystem.net/XenSystem/download/extundelete-0.2.4.tar.bz2复制代码         解压工具包,并且进行安装。tar -jxvf extundelete-0.2.4.tar.bz2 cd extundelete-0.2.4 ./configure --prefix=/usr/local/extundelete make && make install复制代码        验证是否安装成功。cd /usr/local/extundelete/bin ./ex...
您所在的组无权查看该日志
You will think about Magento SMTP Email Setup for custom SMTP credential when you meet the problem with your customer complain about spam box. It is not easy to have a hosting/server where you host your site and their IP is clean and trust enough to send to Inbox of your customers. With ecommerce website, it ‘s important to make your customers trust your service so I will show you how to solve this problem easy.Basically, we have 2 options to use custom SMTP in magento:1. Customize magento codingThis way, you can make sure your site performance is still fast without any extension installation.Let ‘s do these steps:– Copy file app/code/core/Mage/core/Model/Email/Template.php to your local folder– Edit the getMail() function like this123456789101112131415public function getMail(){if (is_null($this->_mail)) {$my_smtp_host = Mage::getStoreConfig('system/smtp/host');$my_smtp_port = Mage::getStoreConfig('system/smtp/port');$config = array('port' => $my_smtp_port, 'auth' =>...
 
0

Centos6 安装配置owncloud8

发表者:admin分类:Devops2016-06-03 15:56:43 阅读[2005]
具体过程不再说了。直接上安装命令记录。shutdown -h nowcat /etc/redhat-cat /etc/redhat-release yum update -yrebootcd /opt/wget https://download.owncloud.org/community/owncloud-8.0.0.tar.bz2cd /opt/wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpmrpm -ivh remi-release-6.rpm rpm ivh remi-release-6.rpm rpm -Uvh remi-release-6.rpm yum install epel* -yrpm -Uvh remi-release-6.rpm yum install httpd php php-mysql sqlite php-dom php-mbstring php-gd php-pdo php-json php-xml php-zip php-gd curl php-curl php-mcrypt php-pear -yyum remove phpyum -y install httpd php mysql mysql-server php-mysql httpd-manual mod_ssl mod_perl mod_auth_mysql php-mcrypt php-gd php-xml php-mbstring php-ldap php-pear php-xmlrpc mysql-connector-odbc mysql-devel libdbi-dbd-mysqlwget -q -O - http://www.atomicorp.com/installers/atomic | shyum update phplstar -jxvf owncloud-8.0.0.tar.bz2 mv owncloud /var/www/htmlcd /var/www/html/lsmv owncloud ../cd ..lsmv owncloud htmllscd html/lsmv owncloud ../cd ..lsrm html -rf...
全新安装的LUM登陆提示:数据库lumanager不存在或是出现: access denied for user root @localhost解决方法: lu-repair -y 然后lu-restart 实在不行,就直接重新用zijidelu_install.sh装一下.极少这种情况。注意如果装了两个数据库,不能启动系统自带的数据库服务。否则会识别不了数据库。Q:系统发生错误    您可以选择 [ 重试 ] [ 返回 ] 或者 [ 回到首页 ][ 错误信息 ]Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)A:执行:ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock   用mysql-restart看是否有错误提示,或者检查改一下home/lum_safe_files/config.php  or /usr/local/LuManager/Conf/config.php中的数据库连接密,当然你可以选择命令一键初始(mysql-reset_password 初始化mysql密码命令)你也可以看看http://www.zijidelu.org/thread-2679-1-1.html
1.yum install -y epel-release wget unzip                   #安装EPEL源2.yum -y update && systemctl reboot                        #启动EPEL源3.yum install mongodb-server                               #安装mongodb服务4.firewall-cmd --permanent --add-port=27017/tcp            #开启防火墙端口5.firewall-cmd --reload                                    #重启防火墙 6.systemctl enable mongod   &nb...
Installing PHP 5.4 on RHEL 6 and CentOS 6Red Hat Enterprise Linux and CentOS 6 still ship with PHP 5.3. ownCloudrequires PHP 5.4 or better. There are several third-party repositories thatsupply PHP 5.4, but you must use the Software Collections (SCL) repository tobe in compliance with your RHEL support contract, and not any other third-partyrepository.RHEL 6Follow these steps to install PHP 5.4 from SCL. First you must useyour Subscription Manager to enable SCL:subscription-manager repos --enable rhel-server-rhscl-6-eus-rpms Then install PHP 5.4 and these modules:yum install php54 php54-php php54-php-gd php54-php-mbstring You must also install the updated database module for your database. Thisexample installs the new PHP 5.4 module for MySQL/MariaDB:yum install php54-php-mysqlnd Disable loading the old PHP 5.3 Apache module:mv /etc/httpd/conf.d/php.conf /etc/httpd/conf.d/php53.off You should now have a /etc/httpd/conf.d/php54-php.conf file, which loads thecorrect PHP 5.4 module f...
您所在的组无权查看该日志
openssl又被爆出新漏洞(CVE-2016-2107)(升级脚本)OpenSSl 密码库的维护人员发布了一个高危安全漏洞的补丁(CVE-2016-2107),这个漏洞可以让攻击者在web服务器上解密登录证书或者执行恶意代码。当连接使用AES CBC加密并且服务器支持AES-NI的情况下,中间人攻击者可以使用padding oracle攻击来解密流量。填充检测被重写来确保读取的字节总是相同的,并且对MAC和填充字节进行比较。但它不再检查是否有足够的数据来包含MAC和填充字节。影响:高危修复方案:OpenSSL 1.0.2 用户请更新到1.0.2h版本OpenSSL 1.0.1 用户请更新到1.0.1t版本https://www.openssl.org/news/vulnerabilities.html#y2016----------------------------分割线登录SSH上操作wget http://down.wdlinux.cn/in/openssl201605.shsh openssl201605.sh如果能顺利执行完成,不出什么错,就升级完了
How to install Ioncube Loader PHP on Linux Ubuntu Ioncube Loader Extenion allows to run encoded PHP scripts by Ioncube Encoder.Ioncube Loader Extension – extension which starts witch PHP process that can read and run encoded files. The extension is free.Ioncube Encoder – software that allows encode and obfulscate PHP scripts using license key to description.This tutorial shows how to install Ioncube Loader Extension.1. Download Ioncube loader extension.Go to the http://www.ioncube.com/loaders.php url and locate your proper platofrm version.If you are not sure what platform (x86 or 64-bit, TS or NTS ) you need, just run phpinfo() and read from “System” and “PHP Extension Build”. For example this entry looks like:System: Linux athlan-VirtualBox 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64PHP Extension Build: API20121212,NTSI am using 64-bit platform, NTS (non-thread safe).So copy proper link and call:wget http://downloads3.ioncube.co...
    总共66页,当前第13页 | 页数:
  1. 3
  2. 4
  3. 5
  4. 6
  5. 7
  6. 8
  7. 9
  8. 10
  9. 11
  10. 12
  11. 13
  12. 14
  13. 15
  14. 16
  15. 17
  16. 18
  17. 19
  18. 20
  19. 21
  20. 22
  21. 23