-------------------------------------------------------
su - root
cd /media/CDROM/Server
ls vsftpd*
rpm -ivh vsftpd-2.0.5-10.e15.i386.rpm
service vsftpd start(开启服务)
cd /etc/vsftpd(设置允许访问FTP的用户)
ls
vi ftpusers
vi user_list
ifconfig(查看IP地址)
service iptables stop(关闭防火墙)
mv icar.war /home/accp/work/icar.war
mv myhr.dmp /home/accp/work/myhr.dmp
ls -al
chown -R accp:accp icar.war myhr.dmp
ls -al\chmod -R 755 icar.war myhr.dmp
exit
ls
cd apache-tomcat-6.0.29
ls
cd webapps
ls
pwd
再打开一个终端
cd work
ls
移动icar.war到Tomcat目录下的webapps
mv icar.war /home/accp/apache-tomcat-6.0.29/webapps/icar.war
su - oracle
lsnrctl start(打开监听)
emctl start dbconsole(启动控制台)