……
manager-gui – allows access to the HTML GUI and the status pages
manager-script – allows access to the text interface and the status pages
manager-jmx – allows access to the JMX proxy and the status pages
manager-status – allows access to the status pages only
<role rolename="manager-gui"/> <user username="tomcat" password="s3cret" roles="manager-gui"/>
admin-gui – allows access to the HTML GUI
admin-script – allows access to the text interface
<role rolename="admin-gui"/> <user username="tomcat" password="s3cret" roles="admin-gui"/>
同时具备所有权限
<role rolename="tomcat"/> <user username="tomcat" password="tom123" roles="manager-gui,admin-gui"/>
……
……
Router(config)#ip nat inside source static tcp 192.168.120.123 80 219.134.215.223 18080
Router(config)#ip nat inside source static tcp 192.168.120.123 80 interface Dialer100 18080
关闭防火墙和SELinux
[root@localhost ~]# chkconfig –list iptables
iptables 0:off 1:off 2:on 3:on 4:on 5:on 6:off
[root@localhost ~]# chkconfig –level 35 iptables off
[root@localhost ~]# getenforce
Enforcing
[root@localhost ~]# vi /etc/sysconfig/selinux
安装NFS及依赖软件包
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
nfs-utils x86_64 1:1.2.3-39.el6_5.3 updates 321 k
Installing for dependencies:
keyutils x86_64 1.4-4.el6 base 39 k
libevent x86_64 1.4.13-4.el6 base 66 k
libgssglue x86_64 0.1-11.el6 base 23 k
libtirpc x86_64 0.2.1-6.el6_5.2 updates 79 k
nfs-utils-lib x86_64 1.1.5-6.el6_5 updates 67 k
rpcbind x86_64 0.2.0-11.el6 base 51 k
Transaction Summary
================================================================================
Install 7 Package(s)
修改NFS服务运行级别设置为随系统刚启动
[root@localhost ~]# chkconfig –list nfs
nfs 0:off 1:off 2:off 3:off 4:off 5:off 6:off
[root@localhost ~]# chkconfig –level 35 nfs on
[root@localhost ~]# init 6
mount文件系统类型参数
-t, –types vfstype
The argument following the -t is used to indicate the filesystem
type. The filesystem types which are currently supported
include: adfs, affs, autofs, cifs, coda, coherent, cramfs,
debugfs, devpts, efs, ext, ext2, ext3, ext4, hfs, hfsplus, hpfs,
iso9660, jfs, minix, msdos, ncpfs, nfs, nfs4, ntfs, proc, qnx4,
ramfs, reiserfs, romfs, squashfs, smbfs, sysv, tmpfs, ubifs,
udf, ufs, umsdos, usbfs, vfat, xenix, xfs, xiafs. Note that
coherent, sysv and xenix are equivalent and that xenix and
coherent will be removed at some point in the future — use sysv
instead. Since kernel version 2.1.21 the types ext and xiafs do
not exist anymore. Earlier, usbfs was known as usbdevfs. Note,
the real list of all supported filesystems depends on your ker-
nel.
将安装光盘镜像挂载至文件系统
[root@localhost ~]# mount -t iso9660 -o loop CentOS-6.5-x86_64-minimal.iso /mnt/
[root@localhost ~]# mount
/dev/mapper/VolGroup-lv_root on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,rootcontext=”system_u:object_r:tmpfs_t:s0″)
/dev/sda1 on /boot type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/root/CentOS-6.5-x86_64-minimal.iso on /mnt type iso9660 (rw,loop=/dev/loop0)
[root@localhost ~]#
查看挂载
[root@localhost ~]# ls /mnt/
CentOS_BuildTag isolinux RPM-GPG-KEY-CentOS-Debug-6
EFI Packages RPM-GPG-KEY-CentOS-Security-6
EULA RELEASE-NOTES-en-US.html RPM-GPG-KEY-CentOS-Testing-6
GPL repodata TRANS.TBL
images RPM-GPG-KEY-CentOS-6
[root@localhost ~]#
输出挂载点
[root@localhost ~]# vi /etc/exports
/mnt 192.168.100.0/24(ro,sync)
重启
执行安装过程中查看主机与服务期间网连接状态
[root@localhost ~]# netstat -tun
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 64 192.168.100.144:22 192.168.100.136:52912 ESTABLISHED
tcp 0 0 192.168.100.144:2049 192.168.100.136:1021 ESTABLISHED
[root@localhost ~]#
文本模式的限制
不允许自定义分区,不可选择软件包
……
……
ap#sh run
Building configuration…
Current configuration : 1911 bytes
!
version 15.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname ap
!
logging rate-limit console 9
enable secret 5 $1$8BJ6$uhR8IIUgGIDprOCItaXuK/
!
no aaa new-model
no ip routing
!
!
dot11 syslog
!
dot11 ssid LINUXCACHE-AP01-2.4G
authentication open
authentication key-management wpa version 2
guest-mode
wpa-psk ascii 7 0914185E4B5447425E
!
dot11 ssid LINUXCACHE-AP01-5G
authentication open
authentication key-management wpa version 2
guest-mode
wpa-psk ascii 7 014B5053095A565F74
!
crypto pki token default removal timeout 0
!
!
username Cisco password 7 05280F1C2243
!
!
bridge irb
!
!
interface Dot11Radio0
no ip address
no ip route-cache
!
encryption mode ciphers aes-ccm tkip
!
ssid LINUXCACHE-AP01-2.4G
!
antenna gain 0
stbc
station-role root
bridge-group 1
bridge-group 1 subscriber-loop-control
bridge-group 1 spanning-disabled
bridge-group 1 block-unknown-source
no bridge-group 1 source-learning
no bridge-group 1 unicast-flooding
!
interface Dot11Radio1
no ip address
no ip route-cache
!
encryption mode ciphers aes-ccm tkip
!
ssid LINUXCACHE-AP01-5G
!
antenna gain 0
stbc
station-role root
bridge-group 1
bridge-group 1 subscriber-loop-control
bridge-group 1 spanning-disabled
bridge-group 1 block-unknown-source
no bridge-group 1 source-learning
no bridge-group 1 unicast-flooding
!
interface GigabitEthernet0
no ip address
no ip route-cache
duplex auto
speed auto
bridge-group 1
bridge-group 1 spanning-disabled
no bridge-group 1 source-learning
!
interface BVI1
ip address 192.168.100.254 255.255.255.0
no ip route-cache
!
ip default-gateway 192.168.100.1
ip http server
no ip http secure-server
ip http help-path http://www.cisco.com/warp/public/779/smbiz/prodconfig/help/eag
bridge 1 route ip
!
!
!
line con 0
line vty 0 4
login local
transport input all
!
end
ap#
From Hostmonster Virutal Hosting To Aliyun Elastic Compute Service
文件打包复制,从美国Hostmonster主机到阿里云深圳节点的入站上行速率
Hostmonster Awstats 2014年1月1日至9月6日统计数据
粤ICP备14065954号-1
……