如何在 Debian 中启动 SPSS-statistics 23?

如何在 Debian 中启动 SPSS-statistics 23?

我在 Debian 8.5 中安装了大学许可证,但没有配置任何路径,并且忘记了默认位置是什么。我无法通过搜索在 $PATH 中看到有关该程序的任何内容统计软件。安装迭代

  1. 我第一次以非root身份安装系统,后来发现应该以root身份安装。
  2. 现在,我第二次以root身份安装它,因为安装文档是这样说的,对于用户马西

    # let the IBM directory be executable by the user masi
    chown -R masi:masi /opt/IBM/
    root@root:~/Downloads$ bash ./SPSSSC_23.0_LINUX_X86-64_ML.bin 
    
    • 尝试在 IBM 网站上注册产品时的输出。图。1没有运行 D-bus 守护进程以 root 身份安装 SPSS 后的消息

      在此输入图像描述

  3. 现在,第三次,让二进制文件可以由 masi 显式执行,但正如您稍后可以看到的,所有内容都按 (2) 中的顺序排列,因为这里的输出也相同

    root@masi:/home/masi/Downloads# chmod u+x SPSSSC_23.0_LINUX_X86-64_ML.bin 
    root@masi:/home/masi/Downloads$ ./SPSSSC_23.0_LINUX_X86-64_ML.bin 
    
    • 设置用户masi.单击“接受”接受所有内容。序列号输入成功。尝试注册产品,但得到与图 1 完全相同的输出。

    • 尝试表格补全,sp但你得到

      masi@masi:~/Downloads$ sp
      spctoppm           speaker-test       speech-dispatcher  splitfont          spotread           sputoppm
      spd-conf           spec2cie           splain             splitindex         sprof              spuunmux
      spd-say            specplot           split              splitti3           spumux  
      
    • 尝试去找统计软件在 Debian 搜索下super却什么也没有。

我之前以 root 身份进行安装之前的系统特征chown -R masi:masi /opt/IBM/

masi@masi:~/Downloads$ ls -la /opt/
total 20
drwxr-xr-x  5 root root 4096 Sep 15 00:01 .
drwxr-xr-x 22 root root 4096 Sep 15 13:21 ..
drwxr-xr-x  3 root root 4096 Sep  1 22:58 google
drwxrwxr-x  3 masi masi 4096 Sep 15 00:01 IBM
drwxr-xr-x  3 root root 4096 Sep 11 10:23 kingsoft

masi@masi:~/Downloads$ ls -la /opt/IBM/
total 12
drwxrwxr-x 3 masi masi 4096 Sep 15 00:01 .
drwxr-xr-x 5 root root 4096 Sep 15 00:01 ..
drwxrwxr-x 3 masi masi 4096 Sep 15 00:01 SPSS

masi@masi:~/Downloads$ ls -la /opt/IBM/SPSS/
total 12
drwxrwxr-x 3 masi masi 4096 Sep 15 00:01 .
drwxrwxr-x 3 masi masi 4096 Sep 15 00:01 ..
drwxrwxr-x 3 masi masi 4096 Sep 15 00:01 Statistics

masi@masi:~/Downloads$ ls -la /opt/IBM/SPSS/Statistics/
total 12
drwxrwxr-x  3 masi masi 4096 Sep 15 00:01 .
drwxrwxr-x  3 masi masi 4096 Sep 15 00:01 ..
drwxrwxr-x 15 masi masi 4096 Sep 15 13:17 23

masi@masi:~/Downloads$ ls -la /opt/IBM/SPSS/Statistics/23/
total 92
drwxrwxr-x 15 masi masi  4096 Sep 15 13:17 .
drwxrwxr-x  3 masi masi  4096 Sep 15 00:01 ..
drwxr-xr-x 10 masi masi 12288 Sep 15 13:22 bin
drwxr-xr-x  4 masi masi  4096 Feb 12  2015 common
drwxr-xr-x  2 masi masi  4096 Feb 12  2015 config
drwxr-xr-x  4 masi masi  4096 Feb 12  2015 ext
drwxr-xr-x 40 masi masi  4096 Sep 15 13:17 extensions
drwxr-xr-x  4 masi masi 20480 Sep 15 13:17 lib
drwxrwxr-x  3 masi masi  4096 Sep 15 00:04 license
drwxrwxr-x  2 masi masi  4096 Sep 15 00:04 Looks
drwxrwxr-x  3 masi masi  4096 Sep 15 00:04 properties
drwxrwxr-x  7 masi masi  4096 Sep 15 00:04 Python
drwxrwxr-x  3 masi masi  4096 Sep 15 00:04 Samples
drwxr-xr-x  2 masi masi  4096 Feb  4  2015 scripts
-rw-rw-r--  1 root root     0 Sep 15 13:17 SPSS_Statistics_23.0.spec
-rwxr-xr-x  1 masi masi   580 Sep 13  2013 tar.sh
drwxrwxr-x  3 masi masi  4096 Sep 15 00:06 Uninstall_IBM SPSS Statistics 23

我认为问题是 SPSS 不在我的 PATH 中,并且不知道该启动哪个命令。

官方安装说明

Installing from a Downloaded File E Start a terminal application. 
E Change to the directory where you downloaded the file. 
E Extract the contents of the file. 
E Change to the directory where you extracted the files. 
E Make sure the permissions for setup.bin are set to execute. 
E At the command prompt, type: ./setup.bin 
E Follow the instructions that appear in the installation program. See Notes for Installation for any special instructions.

测试劳诺的提议

以 root 身份安装后的工作流程

root@masi:/home/masi# apt-get install dbus
Reading package lists... Done
Building dependency tree       
Reading state information... Done
dbus is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up nginx-full (1.6.2-5+deb8u2+b1) ...
Job for nginx.service failed. See 'systemctl status nginx.service' and 'journalctl -xn' for details.
invoke-rc.d: initscript nginx, action "start" failed.
dpkg: error processing package nginx-full (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of nginx:
 nginx depends on nginx-full (>= 1.6.2-5+deb8u2) | nginx-light (>= 1.6.2-5+deb8u2) | nginx-extras (>= 1.6.2-5+deb8u2); however:
  Package nginx-full is not configured yet.
  Package nginx-light is not installed.
  Package nginx-extras is not installed.
 nginx depends on nginx-full (<< 1.6.2-5+deb8u2.1~) | nginx-light (<< 1.6.2-5+deb8u2.1~) | nginx-extras (<< 1.6.2-5+deb8u2.1~); however:
  Package nginx-full is not configured yet.
  Package nginx-light is not installed.
  Package nginx-extras is not installed.

dpkg: error processing package nginx (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 nginx-full
 nginx
E: Sub-process /usr/bin/dpkg returned an error code (1)

以 root 身份安装后尝试安装 Java JRE

# https://wiki.debian.org/Java
root@masi:/home/masi# apt-get install default-jre
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  default-jre
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 968 B of archives.
After this operation, 21.5 kB of additional disk space will be used.
Get:1 http://ftp.fi.debian.org/debian/ jessie/main default-jre amd64 2:1.7-52 [968 B]
Fetched 968 B in 0s (21.7 kB/s)      
Selecting previously unselected package default-jre.
(Reading database ... 265271 files and directories currently installed.)
Preparing to unpack .../default-jre_2%3a1.7-52_amd64.deb ...
Unpacking default-jre (2:1.7-52) ...
Setting up nginx-full (1.6.2-5+deb8u2+b1) ...
Job for nginx.service failed. See 'systemctl status nginx.service' and 'journalctl -xn' for details.
invoke-rc.d: initscript nginx, action "start" failed.
dpkg: error processing package nginx-full (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of nginx:
 nginx depends on nginx-full (>= 1.6.2-5+deb8u2) | nginx-light (>= 1.6.2-5+deb8u2) | nginx-extras (>= 1.6.2-5+deb8u2); however:
  Package nginx-full is not configured yet.
  Package nginx-light is not installed.
  Package nginx-extras is not installed.
 nginx depends on nginx-full (<< 1.6.2-5+deb8u2.1~) | nginx-light (<< 1.6.2-5+deb8u2.1~) | nginx-extras (<< 1.6.2-5+deb8u2.1~); however:
  Package nginx-full is not configured yet.
  Package nginx-light is not installed.
  Package nginx-extras is not installed.

dpkg: error processing package nginx (--configure):
 dependency problems - leaving unconfigured
Setting up default-jre (2:1.7-52) ...
Errors were encountered while processing:
 nginx-full
 nginx
E: Sub-process /usr/bin/dpkg returned an error code (1)

按照上面的日志消息中的鼓励研究失败

root@masi:/home/masi# systemctl status nginx.service
● nginx.service - A high performance web server and a reverse proxy server
   Loaded: loaded (/lib/systemd/system/nginx.service; enabled)
   Active: failed (Result: exit-code) since Fri 2016-09-16 19:41:12 EEST; 1h 26min ago
  Process: 10908 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=1/FAILURE)
  Process: 10905 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)

Sep 16 19:41:11 masi nginx[10908]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Sep 16 19:41:11 masi nginx[10908]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Sep 16 19:41:11 masi nginx[10908]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Sep 16 19:41:11 masi nginx[10908]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Sep 16 19:41:12 masi nginx[10908]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Sep 16 19:41:12 masi nginx[10908]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Sep 16 19:41:12 masi nginx[10908]: nginx: [emerg] still could not bind()
Sep 16 19:41:12 masi systemd[1]: nginx.service: control process exited, code=exited status=1
Sep 16 19:41:12 masi systemd[1]: Failed to start A high performance web server and a reverse proxy server.
Sep 16 19:41:12 masi systemd[1]: Unit nginx.service entered failed state.

journalctl -xn通过插件adblock似乎阻止某些网络流量的位置来研究故障,因此可以解释该d-bus警告,因此可能与我无法在终端中启动 SPSS 的原因无关

lines 1-11/11 (END)...skipping...
-- Logs begin at Fri 2016-09-09 12:00:17 EEST, end at Fri 2016-09-16 21:02:26 EEST. --
Sep 16 21:01:40 masi dbus[1248]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service'
Sep 16 21:01:41 masi dbus[1248]: [system] Successfully activated service 'org.freedesktop.hostname1'
Sep 16 21:01:55 masi google-chrome.desktop[25690]: A Parser-blocking, cross-origin script, http://js.indexww.com/ht/mtvfi.js, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity.
Sep 16 21:01:55 masi google-chrome.desktop[25690]: A Parser-blocking, cross-origin script, http://js.indexww.com/ht/mtvfi.js, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity.
Sep 16 21:01:55 masi google-chrome.desktop[25690]: A Parser-blocking, cross-origin script, http://ad.doubleclick.net/adj/test.home/htb;tile=1;sz=980x120;ord=6803931308961870?, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity.
Sep 16 21:01:56 masi google-chrome.desktop[25690]: A Parser-blocking, cross-origin script, http://netti.mtvmedia.fi/eas?EASformat=jsvars::EAScus=291&c1-5-0=1028, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity.
Sep 16 21:01:56 masi google-chrome.desktop[25690]: A Parser-blocking, cross-origin script, http://netti.mtvmedia.fi/eas?EASformat=jsvars::EAScus=291&c1-5-0=1028, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity.
Sep 16 21:02:26 masi google-chrome.desktop[25690]: A Parser-blocking, cross-origin script, http://js.indexww.com/ht/mtvfi.js, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity.
Sep 16 21:02:26 masi google-chrome.desktop[25690]: A Parser-blocking, cross-origin script, http://js.indexww.com/ht/mtvfi.js, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity.
Sep 16 21:02:26 masi google-chrome.desktop[25690]: A Parser-blocking, cross-origin script, http://ad.doubleclick.net/adj/test.home/htb;tile=1;sz=980x120;ord=6803931308961870?, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity.

操作系统:Debian 8.5 64 位
Linux 内核:向后移植 4.6
硬件:Asus Zenbook UX303UA
SPSS 统计:IBM SPSS Statistics Desktop v23 (Linux)

答案1

尝试 :

apt-get install dbus

考虑安装 Oracle Java 并检查您使用的用户帐户对安装目标文件夹的安装时写入权限:)

答案2

您需要 Oracle 的 Java,而不是 Debian 的默认 JRE/...以 root 身份执行,按照指南进行操作这里

  1. apt-get purge openjdk-7-jre和/或通过将软件包的一些数据保留在您的系统中来相关;稍后可能需要

  2. 添加以下内容/etc/apt/sources.list

    # Debian 8 "Jessie"
    deb http://httpredir.debian.org/debian/ jessie main contrib
    
  3. 更新包并java-package安装贡献

    apt-get update && apt-get install java-package 
    
  4. 在他们的网站下载 Oracle Java;对于 Debian 选择 .tar.gz这里

  5. 以非 root 身份构建 .tar,因为安装程序可能会损坏您的系统,尤其是/etc/

    fakeroot make-jpkg jre-8u102-linux-x64.tar.gz
    
  6. 安装以 root 身份创建的二进制文件

    su
    dpkg -i oracle-java8-jre_8u102_amd64.deb 
    
  7. 配置默认Java版本但无法找到没有错误的包

    # http://unix.stackexchange.com/q/310790/16920
    # successfully done here; you can ignore JDK errors because JRE only needed
    
  8. 现在通过asspssclient中的程序运行SPSS,这是这里的默认配置; SPSS GUI成功启动/opt/IBM/SPSS/Statistics/23/bin/masi

    masi@masi:/opt/IBM/SPSS/Statistics/23/bin# ./spssclient 
    
    root@masi:/opt/IBM/SPSS/Statistics/23/bin# ls -la | grep spssclient 
    -rwxrwxr-x  1 masi masi      178 Sep 19 12:17 spssclient
    
  9. 为程序创建别名,因为每次在 中查找它都需要大量工作/opt;等等放入你的$HOME/.bashrc

    alias spss="/opt/IBM/SPSS/Statistics/23/bin/spssclient"
    

相关内容