虚拟机32位deepin linux,安装不了wiwiwiz
Tofloor
poster avatar
gsjdgh
deepin
2015-05-07 01:20
Author
之前从未接触过linux。
HP probook 4411s,cpu t9600,2.8ghz,4g内存,系统win7 64位.
vmware 10,安装了32位deepin linux,想安装wiwiz,搞一个wifi热点认证系统,按照官网上(http://www.wiwiz.com/zh/archives/115.htm/)的提示,成功安装了dhcp3,但是执行命令进行安装:


tar -zxf hsbuilder-util-latest.tar.gz,解压正常,执行以下命令以开始设置:


/usr/local/hsbuilder/hsbuilder_setup.sh setup,提示

zsh: 没有那个文件或目录: /usr/local/hsbuilder/hsbuilder_setup.sh

进到/usr/local/hsbuilder目录里双击运行hsbuilder_setup.sh,选择"在终端中运行",命令窗口一闪而过.

请各位帮帮忙看看究竟是怎么回事?谢谢。


Reply Favorite View the author
All Replies
Feng Yu
deepin
2015-05-07 01:37
#1
你的cd /命令没执行。而且你应该切换到root身份去执行这些命令
Reply View the author
gsjdgh
deepin
2015-05-07 18:19
#2
本帖最后由 gsjdgh 于 2015-5-7 11:08 编辑
https://bbs.deepin.org/post/30015
你的cd /命令没执行。而且你应该切换到root身份去执行这些命令

hsbuilder-util-latest.tar.gz在“下载”目录下,执行“  cd / ; tar -zxf hsbuilder-util-latest.tar.gz”


➜  /  sudo -s
[sudo] password for gsjdgh:
gsjdgh-pc# cd / ; tar -zxf hsbuilder-util-latest.tar.gz
tar (child): hsbuilder-util-latest.tar.gz:无法 open: 没有那个文件或目录
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
gsjdgh-pc#
没有解压文件产生
=====================================
右键解压,目录:home/下载/usr/local/hsbuilder/

➜  hsbuilder  sudo -s
[sudo] password for gsjdgh:
gsjdgh-pc# hsbuilder_setup.sh
zsh: command not found: hsbuilder_setup.sh
gsjdgh-pc#

========================================
➜  hsbuilder  sudo -s
[sudo] password for gsjdgh:
gsjdgh-pc# /usr/local/hsbuilder/hsbuilder_setup.sh setup
zsh: 没有那个文件或目录: /usr/local/hsbuilder/hsbuilder_setup.sh
gsjdgh-pc#



Reply View the author
Feng Yu
deepin
2015-05-07 19:50
#3
https://bbs.deepin.org/post/30015
hsbuilder-util-latest.tar.gz在“下载”目录下,执行“  cd / ; tar -zxf hsbuilder-util-latest.tar.gz ...

因为/目录下没有hsbuilder-util-latest.tar.gz,所以有一步报错,而且最终你也没把解压目录移动到指定目录中去。还是先学Linux怎么玩吧
Reply View the author
gsjdgh
deepin
2015-05-07 21:39
#4
已解决。

进root,用CP命令把hsbuilder-util-latest.tar.gz复制到根目录下,再执行:/usr/local/hsbuilder/hsbuilder_setup.sh setup

root@gsjdgh-pc:/# /usr/local/hsbuilder/hsbuilder_setup.sh setup
It is recommended to clear all Iptables/Firewall settings before setting up Wiwiz HotSpot Builder Utility.
To do so, you can try the following comamand:
  /etc/init.d/iptables stop
Or,
  service iptables stop
Or,
  iptables -t nat -F; iptables -t filter -F; iptables -t mangle -F

Type Enter to continue or Ctrl-C to quit...

iptables v1.4.21: host/network `�:127.0.0.0' not found
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.21: host/network `�:127.0.0.0' not found
Try `iptables -h' or 'iptables --help' for more information.
Setting up. It may take a while, please wait ...
Reading Configuration File ...
Downloading data and setting up, please wait...
no crontab for root
HSBuilder Setup Completed!
Reply View the author