Advertisement
hackerboxes

centos install postgresql java vsftp

May 24th, 2012
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. yum install postgresql84.i386 //install to /usr/bin/postgresql /usr/share/pgsql /var/lib/pgsql/data
  2. yum install postgresql84.i386 postgresql84-contrib.i386 postgresql84-devel.i386 postgresql84-libs.i386 postgresql84-server.i386
  3. yum install java-1.6.0-openjdk.i386
  4. yum install java-1.6.0-openjdk-devel.i386
  5. bzip2 -d *.bz2
  6. tar -xf *.tar
  7.  
  8. apachectl -version
  9. Server version: Apache/2.2.3
  10. Server built: Feb 23 2012 21:16:57 /etc/httpd /var/module /var/run /var/log/https
  11.  
  12.  
  13. yum install vsftpd.i386
  14. 设置vsftpd
  15. 在e:\vsftp目录下
  16. 注意:
  17. ftpuser 是拒绝访问的用户
  18. user_list 是可以用ftp的用户
  19. chroot_list 是可以浏览整个系统的用户
  20. vsftpd.conf 中添加的语句有:
  21. #用户列表
  22. userlist_enable=YES
  23. userlist_deny=NO
  24. userlist_file=/etc/vsftpd/user_list
  25.  
  26. #日志文件
  27. dual_log_enable=YES
  28. vsftpd_log_file=/var/log/vsftpd.log
  29. #anonymous用户可以读写
  30. anon_other_write_enable=YES
  31.  
  32. mkdir /var/ftp/upload
  33. chown ftp /var/ftp/upload
  34. setsebool -P allow_ftpd_anon_write=1
  35. setsebool -P allow_ftpd_full_access=1
  36. 参考网站:http://linux.vbird.org/linux_server/0410vsftpd.php
  37.  
  38. #安装hdf5库
  39. yum install hdf5.i386 hdf5-devel.i386
  40. yum install python-numpy.i386
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement