centos 安装centos 14.7 遇到坑
参考大神链接,可以解决99%问题。
https://www.cnblogs.com/study-hj/p/13890807.html
安装过程
Linux
Bash
# 文件结构 $ tree . ├── acunetix_13.0.200217097_x64_.sh ├── license_info.json └── wvsc # 以root方式运行 $ sudo bash acunetix_13.0.200217097_x64_.sh # 回车继续 阅读协议部分 直接按 q 键 跳过 press ENTER to continue >>> # 接受许可 Accept the license terms? [yes|no] [no] >>> yes # hostname 我这里默认回车了 国光测试 哪怕安装的机器IP换了 也是可以正常访问awvs服务的 Configuring hostname... Insert new hostname, or leave blank to use ubuntu Hostname [ubuntu]: Using hostname ubuntu # 设置登录的邮箱和密码 等待安装完成即可 Configuring the master user... Email: admin@sqlsec.com Password: Password again: # 破解覆盖原文件 需要高权限 $ sudo cp wvsc /home/acunetix/.acunetix/v_200217097/scanner/ $ sudo cp license_info.json /home/acunetix/.acunetix/data/license/
AWVS Linux 破解版在 Centos7 下安装过程中存在问题记录
问题 1
运行 AWVS 安装程序时出现以下问题:
Acunetix Installer Version: v_190703137, Copyright (c) Acunetix
------------------------------------------------------------ Checking os... Checking for dependencies... - dependency libXrender.so.1 not found on the system - dependency libXext.so.6 not found on the system - dependency libcairo.so.2 not found on the system - dependency libXss.so.1 not found on the system - dependency libXcursor.so.1 not found on the system - dependency libXfixes.so.3 not found on the system - dependency libXcomposite.so.1 not found on the system - dependency libXrandr.so.2 not found on the system - dependency libpangocairo-1.0.so.0 not found on the system - dependency libXdamage.so.1 not found on the system - dependency libgdk-3.so.0 not found on the system - dependency libatspi.so.0 not found on the system - dependency libXtst.so.6 not found on the system - dependency libgtk-3.so.0 not found on the system - dependency libatk-bridge-2.0.so.0 not found on the system - dependency libgdk_pixbuf-2.0.so.0 not found on the system - dependency libatk-1.0.so.0 not found on the system - dependency libXi.so.6 not found on the system - dependency libpango-1.0.so.0 not found on the system - dependency libcups.so.2 not found on the system Some dependencies are not found on the system. Aborting installation. Aborting installation
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
解决方案
运行以下命令
yum install libXrender libXext libXcursor libXfixes libXcomposite libXrandr libXdamage libXtst libXi cups-libs dbus-glib libXrandr libXcursor libXinerama cairo cairo-gobject pango libXScrnSaver libatk-bridge-2.0.so.0 -y
- 1
问题 2
出现以下问题:
/wvsc: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by /home/acunetix/.acunetix_trial/v_190703137/scanner/libstdc++.so.6)
- 1
解决方案
cd /home/ strings /usr/lib64/libstdc++.so.6 |grep GLIBCXX
- 1
- 2
然后下载缺少版本的 GLIBCXX,我这里是发现没有GLIBC_2.18,输入以下命令:
wget http://mirrors.ustc.edu.cn/gnu/libc/glibc-2.18.tar.gz
tar -zxvf glibc-2.18.tar.gz
cd glibc-2.18 mkdir build ../configure --prefix=/usr make -j4 sudo make install
- 1
- 2
- 3
- 4
- 5
- 6
- 7
问题 3
编译 GLIBC 时出现以下问题:
mv -f /usr/lib64/audit/sotruss-lib.so.new /usr/lib64/audit/sotruss-lib.so make[2]: *** No rule to make target `/root/glibc-2.18/build/dlfcn/libdl.so.2', needed by `/root/glibc-2.18/build/elf/sprof'. Stop. make[2]: Leaving directory `/root/glibc-2.18/elf' make[1]: *** [elf/subdir_install] Error 2 make[1]: Leaving directory `/root/glibc-2.18' make: *** [install] Error 2
- 1
- 2
- 3
- 4
- 5
- 6
解决方案
yum install gawk
make all make install
- 1
- 2
- 3
最终编译成功
最重要一点:
1、修改本地HOSTS文件,增加以下2条域名解析: 127.0.0.1 updates.acunetix.com 127.0.0.1 erp.acunetix.com 2、将license_info.json和wa_data.dat文件放置于以下目录: Windows >>> C:\ProgramData\Acunetix\shared\license Linux >>> /home/acunetix/.acunetix/data/license/ Mac >>> /Applications/Acunetix.app/Contents/Resources/data/license/
3、设置 license_info.json 为只读模式。(切记切记!!!) 非常重要