分类: LINUX
2014-06-25 10:02:58
因系统是64位,软件为32位,安装过程中发现错误,缺少包二、安装
点击(此处)折叠或打开
- 安装完毕后启动时提示:
- /usr/local/bin/rar: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
- error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
- ld-linux.so.2安装参考
点击(此处)折叠或打开
- [root@localhost ~]# yum install ld-linux.so.2
- libstdc++.so.6 安装参考:
点击(此处)折叠或打开
- [root@localhost ~]# yum whatprovides libstdc++.so.6
- Loaded plugins: aliases, changelog, downloadonly, fastestmirror, kabi, presto, refresh-packagekit, security, tmprepo, verify,
- : versionlock
- Loading support for CentOS kernel ABI
- Loading mirror speeds from cached hostfile
- * base: centos.ustc.edu.cn
- * centosplus: centos.ustc.edu.cn
- * contrib: centos.ustc.edu.cn
- * extras: centos.ustc.edu.cn
- * updates: centos.ustc.edu.cn
- libstdc++-4.4.7-4.el6.i686 : GNU Standard C++ Library
- Repo : base
- Matched from:
- Other : libstdc++.so.6
- 2、然后执行:
- [root@localhost ~]# yum install libstdc++-4.4.7-4.el6.i686
软件包以前都习惯放在/usr/local/src/下的三、登陆管理吧
因此编译安装包直接执行安装脚本后,就在安装目录所在的位置了,如想移动可更改/etc/init.d/wftpserver , 里面有对应启动目录,自己依照实际进行修改。
安装步骤:
防火墙:vi /etc/sysconfig/iptables点击(此处)折叠或打开
- [root@zlyx local]#/usr/local/wftpserver-linux-32bit.tar.gz
- [root@zlyx local]#cd /usr/local/
- [root@zlyx local]#tar zxvf wftpserver-linux-32bit.tar.gz
- [root@zlyx local]#cd wftpserver
- [root@zlyx wftpserver]# ./setup.sh
- Welcome to the Wing FTP Server setup wizard!
- Please setup administrator account for Wing FTP Server.
- This account is very important as it will be used to administrate your server.
- Enter your administrator name: test[此为用户名test]
- Enter your administrator password: pwd[此为密码pwd]
- Please specify a port that web based administration will be listening to.
- Enter the listener port(default is 5466): [此为监听端口,web管理可以通过此端口访问,默认为5466]
- Wing FTP Server has been installed successfully!
- You can manage your server at via web browser.
- Server Usage: /etc/init.d/wftpserver [start|stop|restart]
- Do you want to start Wing FTP Server now?? [y/N]: y
点击(此处)折叠或打开
- -A INPUT -m state --state NEW -m tcp -p tcp --dport 5466 -j ACCEPT
- -A INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT
- -A INPUT -m state --state NEW -m tcp -p tcp --dport 1024: -j ACCEPT
后面通过: 5466
用户名:test
密码:pwd
进行管理了