文章分类 -  linux

centos 安装tomcat
摘要:一、安装apr(1)安装apr# wget http://archive.apache.org/dist/apr/apr-1.4.5.tar.gz# tar zxvf apr-1.4.5.tar.gz # cd apr-1.4.5# ./configure --prefix=/usr/local/www/apr# make# make install在configure的时候出现以下错误configure: error: in `/soft/apr-1.4.5':configure: error: no acceptable C compiler found in $PATHSee ` 阅读全文
posted @ 2014-02-12 12:51 看我的眼神儿 阅读(76) 评论(0) 推荐(0)
cenotos安装apache
摘要:yum install httpd配置系统启动时自动启动apachechkconfig --levels 235 httpd on启动apache:/etc/init.d/httpd start重启 /etc/init.d/httpd restart停止服务/etc/init.d/httpd start新建index.html文件vi /var/www/html/index.html录入数据this is a test page关闭防火墙service iptables off浏览curl localhost/index.html配置文件地址在CentOS中Apache的默认文档的根目录是/. 阅读全文
posted @ 2014-02-11 17:00 看我的眼神儿 阅读(63) 评论(0) 推荐(0)
vbox 虚拟机centos桥接上网
摘要:vim /etc/sysconfig/network-scripts/ifcfg-eth0ONBOOT="yes"DaEVICE="eth0"BOOTPROTO="dhcp"HWADDR="08:00:27:66:0C:2C"NM_CONTROLLED="yes"ONBOOT="yes"TYPE="Ethernet"UUID="a47e83fa-006f-4516-a30f-06216d3595ef" 阅读全文
posted @ 2014-02-11 16:00 看我的眼神儿 阅读(69) 评论(0) 推荐(0)
linux centos ftp安装以及配置
摘要:1.查看是否安装vsftp[root@gcent ftpuser]# rpm -qa|grep vsftpd2.yum安装vsftp[root@gcent /]# yum -y install vsftpd3.建立虚拟用户口令库文件在/etc/vsftpd/建立vconf文件夹mkdir /etc/vsftpd/vconf新建一个文本文件cd /etc/vsftpd/vconf/vim vir_user输入相应数据,文本文件的奇数行是FTP虚拟用户名,偶数行是FTP虚拟用户的密码vuser123456784.生成vsftpd认证文件使用db_load命令生成认证文件db_load -T -t. 阅读全文
posted @ 2014-02-11 10:09 看我的眼神儿 阅读(110) 评论(0) 推荐(0)