Thinkpad T430/T430i系列 Win8系统 换到 Win7

参考:http://jingyan.baidu.com/article/fec4bce23e045cf2618d8b07.html

 

Thinkpad 电脑 Win8 换系统 BIOS 设置

目前出厂预装Windows 8的台式和一体机使用都是UEFI+GPT硬盘的组合,并且开启了安全启动,但是目前除Window8以外的其他Windows系统均不支持这种模式。因此如果需要改装其他系统,如:

Widndows 7,必须工作在传统的BIOS+MBR模式下。

如果不修改任何设置,则无法正常从光盘引导安装其他操作系统。

如下内容为出厂预装windows8改装windows7的具体操作步骤。

此操作会导致硬盘所有数据清空,包括一键恢复功能也会被清除,GPT硬盘转换为MBR硬盘时需要删除原来的所有分区。

  1. 启动时不断点击键盘上的F1键,进入BIOS 界面,选择“Restart”→把 “OS Optimized Default”设置为 “disabled” ,(OS Optimized Default 开关可以理解为UEFI和传统BIOS的切换);提示警告,选择“Yes”,按回车键(Enter)确认;

  2. 设置“UEFI/Legacy Boot”为“Legacy Only”,需要首先设置Secure Boot,进入Security,然后进入Secure Boot,设置 Secure Boot 为 Disabled;

    然后进入 Start Up,设置“UEFI/Legacy Boot”为“Legacy Only”, 按F10保存并推出BIOS;

  3. 使用光盘/USB标准模式安装Win7,需要删除所有分区,并重新分区;

接下来的操作就和正常安装win7一样了。

MSSQL远程连接MySQL数据库

安装MySQL的ODBC驱动MyODBC

1、为MySQL建立一个ODBC系统数据源,例如:选择数据库为test ,数据源名称为 myDSN

2、建立链接数据库
EXEC sp_addlinkedserver @server = ‘MySQLTest’, @srvproduct=’MySQL’, @provider = ‘MSDASQL’, @datasrc = ‘myDSN’
GO
EXEC sp_addlinkedsrvlogin @rmtsrvname=’MySqlTest’,@useself=’false’,@locallogin=’sa’,@rmtuser=’mysql的用户名’,@rmtpassword=’mysql的密码’

3、查询数据

SELECT * FROM OPENQUERY (MySQLTest ,’select * from 表’ )

4.如果Mysql修改密码后必须重新映射一下EXEC sp_addlinkedsrvlogin
(http://topic.csdn.net/u/20090223/14/bd4eaef6-986e-483a-8155-5a563692d922.html)

用于 Microsoft 目录服务的 OLE DB 访问接口

Step 1:Creating a Linked Server.
EXEC sp_addlinkedserver ‘ADSI’, ‘Active Directory Services 2.5’, ‘ADSDSOObject’, ‘adsdatasource’

Step 2:Creating a SQL Server Authenticated Login
EXEC sp_addlinkedsrvlogin @rmtsrvname = N’ADSI’, @locallogin = NULL , @useself = N’False’, @rmtuser = N’domain\Account’, @rmtpassword = N’Password’

Step 3:Querying the Directory Service.
SELECT * FROM OpenQuery(ADSI, ‘SELECT * FROM ”LDAP://OU=用户,DC=9846,DC=com” WHERE objectCategory = ”user” ‘)

Continue…

Centos6下yum最新php

安装EPEL源:

(64位系统) rpm -ivh http://download.fedora.redhat.com/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm
(32位系统) rpm -ivh http://download.fedora.redhat.com/pub/epel/6/i386/epel-release-6-5.noarch.rpm
安装REMI源:
rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
开启REMI,编辑 /etc/yum.repos.d/remi.repo
修改 enable=1

 

ASA系列防火墙升级全过程详解

asa

asa(config)# dir
//显示文件目录
copy disk0:/asa707-k8.bin tftp://192.168.1.149/ asa707-k8.bin
//将原有IOS文件备份到TFTP服务器上
copy disk0:/asdm507.bin tftp://192.168.1.149/asdm507.bin
//将原有asdm文件备份到TFTP服务器上
copy tftp://192.168.1.149/asa803-k8.bin disk0:/asa803-k8.bin
//将新的IOS文件从TFTP服务器上拷贝到ASA中
copy tftp://192.168.1.149/asdm-603.bin disk0:/asdm-603.bin
//将新的IOS文件从TFTP服务器上拷贝到ASA中
asa(config)# dir
//再次显示目录,检查文件是否拷贝成功
asa(config)# no boot system disk0:/asa707-k8.bin
//取消原来的启动文件关联
asa(config)# dir
asa(config)# boot system disk0:/asa803-k8.bin
asa(config)# asdm image disk0:/asdm-603.bin
//设置IOS文件及ASDM文件的关联
Device Manager image set, but not a valid image file disk0:/asdm-603.bin
//由于新的IOS文件在重新启动前并未生效,所以会提示新的ASDM镜像在设置关联的时候会提示无效。
asa(config)# exit
asa# wr
//保存配置
asa# reload
//重新启动路由器之前新的IOS不会生效

其他还有关于一些周边的环境架设可以参见以后补充的文章
本文出自 “思想的邃空” 博客,请务必保留此出处http://lweibat.blog.51cto.com/525580/128046

 

PIX/ASA 7.x and later: Site to Site (L2L) IPsec VPN with Policy NAT Configuration Example

http://www.cisco.com/en/US/products/hw/vpndevc/ps2030/products_configuration_example09186a00808c9950.shtml?referring_site=smartnavRD

Introduction

This document describes the steps used to translate (NAT) the VPN traffic from one end that travel over a LAN-to-LAN (L2L) IPsec tunnel between two security appliances and also PAT the Internet traffic. Each security appliance has a private protected network behind it.

The network 192.168.1.0 in PIX-A is translated to 172.18.1.0 network and send the VPN traffic through the IPsec tunnel.

In L2L VPN, you can initiate the IPsec tunnel from either side of tunnel end points. In this scenario, PIX-A of inside network (192.168.1.0) is translated to 172.18.1.0 network using Policy NAT for VPN traffic. Because of this translation, the source network of the interesting traffic 172.18.1.0 is not reachable from PIX-B. If you try to initiate the tunnel from the PIX-B, the destination address of the VPN interesting traffic 172.18.1.0 , for example, natted network address of PIX-A, is not reachable. So you must initiate the VPN tunnel only from the PIX-A.
Continue…