本站用于记录日常工作内容,虚拟化云计算,系统运维,数据库DBA,网络与安全。
windows系统下网卡绑定 前提 需要手动安装intel网卡驱动,可以使用随机光盘或者从浪潮官网下载(http://www.inspur.com/downloads/channel_home/Downloads.asp) 绑定过程 1、打开设备管理器,双击任意一块 Intel 82576;2、在弹出的配置对话框中,选择分组页面。此时由于系统网卡没有进行绑定,因此此时组下拉列表是灰色不可选的,单击“新组 ”;3、在弹出的“新组向导”对话框中,填写组的名称,下一步;4、勾选需要绑定的两个网卡,下一步;5、这里列出了可选择的网卡绑定的模式,常用的是容错和负载平衡。这里我们选择容错,单击下一步;(组类型说明见最后说明)6、完成向导;7、此时我们可以看到刚才的分组页面中组的下拉列表中已经有team1;8、同时弹出的还有的属性对话框,单击设置页面,可以看到其中一块网卡状态为“活动”,另一块网卡装状态为“待命”。在此界面中还可进行删除组和修改组的操作,单击“修改组”;9、在弹出的对话框中,可以设置双网卡的主从关系,如不进行设定,此关系是不固定的。即:当断掉当前活动状态的主网口时,待命的网口将接替主网口的位置,对外提供服务,并成为主网口。当之前断开的网口恢复后,主从关系不会改变,该网口变为待命...
Centos6.8一个网卡多网段不同网关IP配置方法一台服务器只有一个网卡,但是接了三个不同的网段,且网关不一样。安装系统后,一定要先使用NetManger 服务来配置下网卡配置文件的内容。注意不能使用network 服务来生成网卡配置文件,不然网络会不通。# :  service NetworkManager restart下面是手动修改后的eth0的配置文件,如下:DEVICE=eth0TYPE=EthernetUUID=57b58ac2-2532-4df8-aef0-08a4f6bf2f11ONBOOT=yesNM_CONTROLLED=yesBOOTPROTO=staticIPADDR=23.252.160.35NETMASK=255.255.255.0GATEWAY=23.252.160.1DNS1=114.114.114.114HWADDR=00:0C:29:61:E4:5BDEFROUTE=yesPEERDNS=yesPEERROUTES=yesIPV4_FAILURE_FATAL=yesIPV6INIT=noNAME="System eth0"LAST_CONNECT=1466085224然后再手动复制ifcfg-eth0的配置, ifcfg-eth0:1, ifcfg-eth0:2DEVICE=eth0:1TYPE=EthernetONBOOT=yesNM_CONTROLLED=yesBOOTPROTO=staticIPADDR=23.252.163.93NETMASK=255.255.255.0GATEWAY=23.252.163.1DEFROUTE=yesPEERDNS=yesPEERROUTES=yesIPV4_FAILURE_FATAL=yesIPV6INIT=noNAME="System eth0"LAST_CONNECT=1466085224配置好网卡信息后,最后使用network 启动,测试网...
LInux硬盘挂载失败,提示mount: wrong fs type, bad option, bad superblock on /dev/的解决办法客户重装系统后始终挂载硬盘。试了几次提示mount: wrong fs type, bad option, bad superblock on /dev/xvdb1应该不是分区格式问题,因为系统模板是我们做的,没有换过。客户也没有改变过硬盘分格式,我试着修复下/dev/xvdb1,运行e2fsck  /dev/xvdb1然后一路"yes",几分钟后修复完成,再挂载,OK,成功了,再写入开机自动挂载脚本中:echo "/dev/xvdb1 /home ext3 defaults 1 2" >> /etc/fstab重启系统检查,OK,没问题了。
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
具体过程不再说了。直接上安装命令记录。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...
    总共58页,当前第5页 | 页数:
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15