CentOS下修改主机名

系统环境:CentOS 5.8

1.临时修改主机名(重启后失效)

# hostname newhostname

2.永久性修改主机名

修改/etc/sysconfig/network文件,将其中的HOSTNAME行改为:
HOSTNAME=newhostname即可

Nano编辑器

^G        Get Help
^Y       Prev Page
^V       Next Page
^P       Prev Line
^N       Next Line
^X        Exit
M-Y     Color syntax highlighting enable/disable

备注:
1.^表示Ctrl键
2.M-表示Esc键或者Alt键,Debian下只有Esc键有效
3.^G表示同时按下Ctrl键和G键
4.M-Y表示同时按下Esc键和Y键
5.所有组合键中的字母键无需大写

原文链接:http://godontop.com/63.html

CentOS 6下安装Exim邮件服务器

系统环境:CentOS 6.0(postfix默认情况下已安装)

1.下载epel包(exim包位于EPEL软件源中)

# wget http://mirrors.ustc.edu.cn/fedora/epel/6/i386/epel-release-6-7.noarch.rpm

2.安装epel

# rpm -ivh epel-release-6-7.noarch.rpm

3.停止postfix服务,并禁止其开机自动启动

# service postfix stop
# chkconfig postfix off

4.安装exim包

# yum install exim

5.将exim设为默认的MTA

# alternatives --config mta<!--more-->

6.启动exim服务,并将其设为开机自动启动

# service exim start 
# chkconfig exim on

7.卸载postfix

# yum remove postfix

8.安装mutt

# yum install mutt

9.发送测试邮件

# echo "It's the first email" |mutt -s "test email" chen@qq.com

备注:
/sbin/chkconfig、/usr/sbin/alternatives文件由chkconfig包提供

招商银行各机构地址及代码

机构名称
Bank Name
地址
Address
SWIFT
招商银行总行
Head Office
深圳市深南大道7088号招商银行大厦19楼, 邮编518040 19/F, China Merchants Bank Tower, No. 7088 Shennan Boulevard, Shenzhen, Guangdong 518040 CMBCCNBS
同业银行部
Financial Institutions
Department
深圳市深南大道7088号招商银行大厦15楼, 邮编518040
15/F, China Merchants Bank Tower, No. 7088 Shennan  Boulevard, Shenzhen, Guangdong 518040
CMBCCNBS
国际业务部
International Business Department
单证处理中心
BillsCenter
深圳市深南大道7088号招商银行大厦17楼, 邮编518040
17/F, China Merchants Bank Tower, No. 7088 Shennan Boulevard, Shenzhen, Guangdong 518040
CMBCCNBS
离岸部
Offshore Banking department
深圳市深南大道7088号招商银行大厦11楼, 邮编518040
11/F, China Merchants Bank Tower, No. 7088 Shennan Boulevard, Shenzhen, Guangdong 518040
CMBCCNBS008
总行营业部
Head Office Banking Operation Department
深圳市深南大道7088号招商银行大厦,邮编518040
China Merchants Bank Tower, No. 7088 Shennan Boulevard, Shenzhen, Guangdong 518040
CMBCCNBS012
深圳分行
Shenzhen Branch
深圳市深南中路2号新闻大厦,邮编518001
News Building, No.2 Shennan Rd, Shenzhen, Guangdong 518001
CMBCCNBS050
上海分行
Shanghai Branch
上海市浦东陆家嘴东路161号,邮编200120
No.161, Lu Jia Zui Dong Rd, Pudong District, Shanghai, 200120
CMBCCNBS051
沈阳分行
Shenyang Branch
沈阳市和平区十一纬路12号,邮编110003
No.12, Shi Yi Wei Rd, Heping District, Shenyang, Liaoning 110003
CMBCCNBS081
武汉分行
Wuhan Branch
武汉市汉口建设大道518号招银大厦,邮编430022
China Merchants Bank Tower, No.518 Jianshe Rd. Hankou, Wuhan, HubeiProvince 430022
CMBCCNBS101
广州分行
Guangzhou Branch
广州市天河区体育东路138号金利来中心30楼,邮编510620
30/F, Goldlion center, No.138 Ti Yu Dong Rd, Tianhe District, Guangzhou, Guangdong 510620
CMBCCNBS131
兰州分行
Lanzhou Branch
兰州市城关区庆阳路9号,邮编730030
No.9 Qingyang Rd. Chengguan District, Lanzhou, Gansu 730030
CMBCCNBS161
大连分行
Dalian Branch
大连市中山区人民路17号,邮编116001
No.17 Renmin Rd. Zhongshan District, Dalian, Liaoning 116001
CMBCCNBS182
东莞分行
Dongguan Branch
东莞市东城大道榆景新时代广场,邮编523129
Yu jing Xin Shi dai Plaza, Dong cheng Rd, Dongguan, Guangdong 523129
CMBCCNBS195
佛山分行
Foshan Branch
佛山市禅城区季华五路鸿业豪庭1-3层,邮编528000
1/F-3/F, Hong Ye Hao Ting, Ji Hua Wu Rd, Chancheng District, Foshan , Guangdong 528000
CMBCCNBS200
北京分行
Beijing Branch
北京市西城区复兴门内大街156号北京国际金融大厦A座,邮编100031
International Financial Centre A, 156 Fuxingmen Nei Street, Beijing 100031
CMBCCNBS201
西安分行
Xi’an Branch
西安市和平路107号,邮编710001
No.107 Heping Rd, Xi’an, Shanxi 710001
CMBCCNBS231
成都分行
Chengdu Branch
成都市青羊区中西顺城街9号,邮编610016
No.9 Zhong Xi Shuncheng Street, Qingyang District, Chengdu, Sichuan 610016
CMBCCNBS241
重庆分行
Chongqing Branch
重庆市渝中区临江支路2号合景大厦,邮编400010
He Jing Building, No.2 Linjiang Zhi Rd, Yu Zhong District, Chongqing, 400010
CMBCCNBS245
南京分行
Nanjing Branch
南京市汉中路1号,邮编210005
No.1, Hanzhong Rd, Nanjing, Jiangsu 210005
CMBCCNBS261
苏州分行
Suzhou Branch
苏州市三香路363号,邮编215004
No.363 San Xiang Rd., Suzhou, Jiangsu 215004
CMBCCNBS275
杭州分行
Hangzhou Branch
杭州市中山北路310号中大广场五矿大厦,邮编310003
Wu KuangBuilding, Zhong Da Plaza, No.310 Zhongshan Bei Rd., Hangzhou, Zhejiang 310003
CMBCCNBS281
南昌分行
Nanchang Branch
南昌市八一大道162号,邮编330003
No. 162, Ba Yi Da Dao, Nanchang, Jiangxi 330003
CMBCCNBS284
宁波分行
Ningbo Branch
宁波市百丈东路938号,邮编315041
No.938, Bai Zhang Dong Rd., Ningbo,Zhejiang 315041
CMBCCNBS286
长沙分行
Changsha Branch
长沙市芙蓉区蔡锷中路24号银宏大厦B座1-3楼,邮编410005
Yin Hong Building Block B, No.24, Cai E Zhong Rd, Furong District, Changsha, Hunan 410005
CMBCCNBS341
济南分行
Jinan Branch
济南市历下区朝山街21号,邮编250011
No. 21, Chao Shan Street, Li Xia District, Jinan, Shandong 250011
CMBCCNBS361
烟台分行
Yantai Branch
烟台市南大街237号,邮编264000
No. 237 Nan Da Jie, Yantai, Shandong 264000
CMBCCNBS372
福州分行
Fuzhou Branch
福州市鼓屏路60号粮食大厦,邮编350003
LiangshiBuilding, No.60 Gu Ping Rd., Fuzhou, Fujian 350003
CMBCCNBS382
天津分行
Tianjin Branch
天津市河西区友谊北路55号,邮编300204
No.55 Youyi Bei Rd., Hexi District, Tianjin, 300204
CMBCCNBS391
青岛分行
Qingdao Branch
青岛市香港中路36号招银大厦,邮编266071
China Merchants Bank Tower, No.36 Central Hongkong Rd, Qingdao, Shandong 266071
CMBCCNBS400
乌鲁木齐分行
Urumqi Branch
乌鲁木齐市新华北路80号,邮编830002
No.80 Xinhua Bei Rd., Urumqi, Xinjiang 830002
CMBCCNBS421
合肥分行
Hefei Branch
合肥市长江中路436号金城大厦,邮编230061
Jin Cheng Building, No. 436 central Changjiang Rd, Hefei, Anhui 230061
CMBCCNBS441
昆明分行
Kunming Branch
昆明市东风东路48号金泰大厦,邮编650051
Jintai Building, No.48 Dongfeng Dong Rd., Kunming, Yunnan 650051
CMBCCNBS451
泉州分行
Quanzhou Branch
泉州市丰泽街301号煌星大厦,邮编362000
HuangxingBuilding, No.301 Fengze Rd, Quanzhou, Fujian 362000
CMBCCNBS470
厦门分行
Xiameng Branch
厦门市厦禾路862号金山大厦,邮编361004
JinshanBuilding, No.862 Xiahe Rd, XiamenFujian 361004
CMBCCNBS471
哈尔滨分行
Harbin Branch
哈尔滨市道里区中央大街3号,邮编150010
No.3 Zhong Yang Road, Daoli District, Harbin, Heilongjiang 150010
CMBCCNBS481
郑州分行
Zhengzhou Branch
郑州市经三路68号,邮编450008
No.68 Jingsan Rd, Zhengzhou, Henan 450008
CMBCCNBS491
香港分行
Hongkong Branch
香港金钟夏悫道12号美国银行中心21楼,
21/F Bank of AmericaTower, 12 Harcourt Road, Hong Kong
CMBCHKHH