Debian 8.5에 대학 라이센스를 설치했지만 경로를 구성하지 않았으며 기본 위치가 무엇인지 잊어버렸습니다. 검색해도 $PATH에서 이 프로그램에 대해 아무것도 볼 수 없습니다.통계 소프트웨어. 반복 설치
- 처음에 루트가 아닌 사용자로 시스템을 설치했을 때 루트로 설치해야 한다는 것을 나중에 알게 되었습니다.
이제 두 번째로 루트로 설치했습니다. 설치 문서에 그렇게 나와 있기 때문입니다.야무진
# 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
이제 세 번째로, 바이너리가 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
찾으려고 노력하다통계 소프트웨어데비안을 검색해봐도 super아무 것도 나오지 않았습니다.
루트로 설치하기 전의 시스템 특성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.
Rauno의 제안 테스트하기
루트로 설치 후의 작업 흐름
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)
루트로 설치한 후 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 커널: Backport 4.6
하드웨어: Asus Zenbook UX303UA
SPSS 통계: IBM SPSS Statistics Desktop v23(Linux)
답변1
노력하다:
apt-get install dbus
Oracle Java 설치를 고려해보고 설치 대상 폴더에서 사용하는 사용자 계정의 설치 시 쓰기 권한을 확인하세요 :)
답변2
Debian의 기본 JRE/가 아닌 Oracle의 Java가 필요합니다. 루트로 실행하고 가이드를 따르세요.여기
apt-get purge openjdk-7-jre
및/또는 나중에 필요할 수 있는 패키지의 일부 데이터를 시스템에 보관하여 관련됩니다.다음을 추가하세요
/etc/apt/sources.list
# Debian 8 "Jessie" deb http://httpredir.debian.org/debian/ jessie main contrib
패키지 업데이트 및
java-package
설치기여하다apt-get update && apt-get install java-package
Debian의 경우 웹사이트에서 Oracle Java를 다운로드하고 .tar.gz를 선택하세요.여기
설치 프로그램이 시스템을 손상시킬 수 있으므로 루트가 아닌 사용자로 .tar를 빌드하십시오.
/etc/
fakeroot make-jpkg jre-8u102-linux-x64.tar.gz
루트로 생성된 바이너리 설치
su dpkg -i oracle-java8-jre_8u102_amd64.deb
기본 Java 버전을 구성했지만 오류 없이 패키지를 찾을 수 없습니다.
# http://unix.stackexchange.com/q/310790/16920 # successfully done here; you can ignore JDK errors because JRE only needed
이제
spssclient
SPSS GUI가 성공적으로 시작되는 기본 구성인 as의 프로그램을 통해 SPSS를 실행합니다./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
매번 찾아보는 것은 많은 작업이므로 프로그램의 별칭을 만듭니다
/opt
.$HOME/.bashrc
alias spss="/opt/IBM/SPSS/Statistics/23/bin/spssclient"