Installing Liferay 7 content management system on Raspberry PI 3 - How to - CrowdComputing

Asset Publisher

Installing Liferay 7 content management system on Raspberry PI 3

Installing Liferay 7 content management system on Raspberry PI 3


1. Download Raspbian Jessie Lite.

 

 

terraplane:RPI installatie ad$ df -h
Filesystem                          Size   Used  Avail Capacity   iused      ifree %iused  Mounted on
/dev/disk0s2                       465Gi  451Gi   14Gi    98% 118281309    3646920   97%   /
devfs                              189Ki  189Ki    0Bi   100%       655          0  100%   /dev
map -hosts                           0Bi    0Bi    0Bi   100%         0          0  100%   /net
map auto_home                        0Bi    0Bi    0Bi   100%         0          0  100%   /home
localhost:/pYwrHe5Cma8RwbD5j14DxA  465Gi  465Gi    0Bi   100%         0          0  100%   /Volumes/MobileBackups
//ad@MailTrain._smb._tcp.local/ad  465Gi  377Gi   88Gi    82%         0 18446744073709551615    0%   /Volumes/ad
/dev/disk1s1                        15Gi  2.3Mi   15Gi     1%         0          0  100%   /Volumes/Untitled
terraplane:RPI installatie ad$  sudo diskutil unmountDisk /dev/disk1
Password:
Unmount of all volumes on disk1 was successful
terraplane:RPI installatie ad$ sudo dd bs=1m of=/dev/rdisk1 if=2017-0
terraplane:RPI installatie ad$ ls
2016-05-27-raspbian-jessie-lite.zip    2017-04-10-raspbian-jessie.zip        LibreELEC-RPi2.arm-7.0.3.img.gz        flash.sh
2017-03-02-raspbian-jessie-lite.zip    2017-07-05-raspbian-jessie-lite.img    LibreELEC-RPi2.arm-8.0.2.img        flash.sh-oud
2017-03-02-raspbian-jessie.zip        2017-07-05-raspbian-jessie-lite.zip    The Unarchiver.app            motion2015-08-19.img
2017-04-10-raspbian-jessie.img        2017-07-05-raspbian-jessie.zip        TheUnarchiver3.11.1.zip
terraplane:RPI installatie ad$ sudo dd bs=1m of=/dev/rdisk1 if=2017-07-05-raspbian-jessie-lite.img
dd: /dev/rdisk1: Invalid argument
1645+1 records in
1645+0 records out
1724907520 bytes transferred in 79.256582 secs (21763587 bytes/sec)
terraplane:RPI installatie ad$ ls
2016-05-27-raspbian-jessie-lite.zip    2017-04-10-raspbian-jessie.zip        LibreELEC-RPi2.arm-7.0.3.img.gz        flash.sh
2017-03-02-raspbian-jessie-lite.zip    2017-07-05-raspbian-jessie-lite.img    LibreELEC-RPi2.arm-8.0.2.img        flash.sh-oud
2017-03-02-raspbian-jessie.zip        2017-07-05-raspbian-jessie-lite.zip    The Unarchiver.app            motion2015-08-19.img
2017-04-10-raspbian-jessie.img        2017-07-05-raspbian-jessie.zip        TheUnarchiver3.11.1.zip
terraplane:RPI installatie ad$ ls /Volumes/
MobileBackups    Station        Terraplane    ad        boot
terraplane:RPI installatie ad$ cd /Volumes/boot/
terraplane:boot ad$ ls
COPYING.linux        bcm2708-rpi-b-plus.dtb    bcm2710-rpi-3-b.dtb    config.txt        fixup_x.dat        overlays        start_x.elf
LICENCE.broadcom    bcm2708-rpi-b.dtb    bcm2710-rpi-cm3.dtb    fixup.dat        issue.txt        start.elf
LICENSE.oracle        bcm2708-rpi-cm.dtb    bootcode.bin        fixup_cd.dat        kernel.img        start_cd.elf
bcm2708-rpi-0-w.dtb    bcm2709-rpi-2-b.dtb    cmdline.txt        fixup_db.dat        kernel7.img        start_db.elf
terraplane:boot ad$ touch ssh
terraplane:boot ad$ ls -la
total 42313
drwxrwxrwx@ 1 ad    staff     2560 20 jul 12:12 .
drwxrwxrwt@ 8 root  admin      272 20 jul 12:09 ..
drwxrwxrwx@ 1 ad    staff      512 20 jul 12:09 .Trashes
-rwxrwxrwx  1 ad    staff     4096 20 jul 12:09 ._.Trashes
drwxrwxrwx  1 ad    staff      512 20 jul 12:10 .fseventsd
-rwxrwxrwx  1 ad    staff    18693 21 aug  2015 COPYING.linux
-rwxrwxrwx  1 ad    staff     1494 18 nov  2015 LICENCE.broadcom
-rwxrwxrwx  1 ad    staff    18974  5 jul 11:45 LICENSE.oracle
-rwxrwxrwx  1 ad    staff    15660 15 mei 19:09 bcm2708-rpi-0-w.dtb
-rwxrwxrwx  1 ad    staff    15456 15 mei 19:09 bcm2708-rpi-b-plus.dtb
-rwxrwxrwx  1 ad    staff    15197 15 mei 19:09 bcm2708-rpi-b.dtb
-rwxrwxrwx  1 ad    staff    14916 15 mei 19:09 bcm2708-rpi-cm.dtb
-rwxrwxrwx  1 ad    staff    16523 15 mei 19:09 bcm2709-rpi-2-b.dtb
-rwxrwxrwx  1 ad    staff    17624 15 mei 19:09 bcm2710-rpi-3-b.dtb
-rwxrwxrwx  1 ad    staff    16380 15 mei 19:09 bcm2710-rpi-cm3.dtb
-rwxrwxrwx  1 ad    staff    50248  3 jul 10:07 bootcode.bin
-rwxrwxrwx  1 ad    staff      190  5 jul 11:45 cmdline.txt
-rwxrwxrwx  1 ad    staff     1590  5 jul 10:53 config.txt
-rwxrwxrwx  1 ad    staff     6674  3 jul 14:07 fixup.dat
-rwxrwxrwx  1 ad    staff     2583  3 jul 14:07 fixup_cd.dat
-rwxrwxrwx  1 ad    staff     9813  3 jul 14:07 fixup_db.dat
-rwxrwxrwx  1 ad    staff     9813  3 jul 14:07 fixup_x.dat
-rwxrwxrwx  1 ad    staff      145  5 jul 11:45 issue.txt
-rwxrwxrwx  1 ad    staff  4379032  3 jul 10:07 kernel.img
-rwxrwxrwx  1 ad    staff  4579248  3 jul 10:07 kernel7.img
drwxrwxrwx  1 ad    staff    10240  5 jul 11:44 overlays
-rwxrwxrwx  1 ad    staff        0 20 jul 12:12 ssh
-rwxrwxrwx  1 ad    staff  2855556  3 jul 14:07 start.elf
-rwxrwxrwx  1 ad    staff   659492  3 jul 14:07 start_cd.elf
-rwxrwxrwx  1 ad    staff  4993604  3 jul 14:07 start_db.elf
-rwxrwxrwx  1 ad    staff  3939492  3 jul 14:07 start_x.elf
terraplane:boot ad$  sudo diskutil eject /dev/disk1
Password:
Volume failed to eject
terraplane:boot ad$ df -h
Filesystem                                                Size   Used  Avail Capacity   iused      ifree %iused  Mounted on
/dev/disk0s2                                             465Gi  451Gi   14Gi    98% 118281420    3646809   97%   /
devfs                                                    190Ki  190Ki    0Bi   100%       657          0  100%   /dev
map -hosts                                                 0Bi    0Bi    0Bi   100%         0          0  100%   /net
map auto_home                                              0Bi    0Bi    0Bi   100%         0          0  100%   /home
localhost:/pYwrHe5Cma8RwbD5j14DxA                        465Gi  465Gi    0Bi   100%         0          0  100%   /Volumes/MobileBackups
//ad@MailTrain._smb._tcp.local/ad                        465Gi  377Gi   88Gi    82%         0 18446744073709551615    0%   /Volumes/ad
//ad@Gamblin%20%28890%29._afpovertcp._tcp.local/Station  1.8Ti  1.7Ti   88Gi    96% 465288005   23006661   95%   /Volumes/Station
/dev/disk1s1                                              41Mi   21Mi   20Mi    51%         0          0  100%   /Volumes/boot
terraplane:boot ad$  sudo diskutil eject /dev/disk1s1
Volume failed to eject
terraplane:boot ad$ ls
ls: .: No such file or directory
terraplane:boot ad$ df -h
Filesystem                                                Size   Used  Avail Capacity   iused      ifree %iused  Mounted on
/dev/disk0s2                                             465Gi  451Gi   14Gi    98% 118285024    3643205   97%   /
devfs                                                    191Ki  191Ki    0Bi   100%       663          0  100%   /dev
map -hosts                                                 0Bi    0Bi    0Bi   100%         0          0  100%   /net
map auto_home                                              0Bi    0Bi    0Bi   100%         0          0  100%   /home
localhost:/pYwrHe5Cma8RwbD5j14DxA                        465Gi  465Gi    0Bi   100%         0          0  100%   /Volumes/MobileBackups
//ad@MailTrain._smb._tcp.local/ad                        465Gi  377Gi   88Gi    82%         0 18446744073709551615    0%   /Volumes/ad
//ad@Gamblin%20%28890%29._afpovertcp._tcp.local/Station  1.8Ti  1.7Ti   88Gi    96% 465288008   23006658   95%   /Volumes/Station
/dev/disk1s1                                              41Mi   21Mi   20Mi    51%         0          0  100%   /Volumes/boot
//Ad%20Emmen@Hail._afpovertcp._tcp.local/Data            2.7Ti  2.7Ti  8.3Gi   100% 729860376    2181970  100%   /Volumes/Data
terraplane:boot ad$ ls /Volumes/boot/
COPYING.linux        bcm2708-rpi-b-plus.dtb    bcm2710-rpi-3-b.dtb    config.txt        fixup_x.dat        overlays        start_db.elf
LICENCE.broadcom    bcm2708-rpi-b.dtb    bcm2710-rpi-cm3.dtb    fixup.dat        issue.txt        ssh            start_x.elf
LICENSE.oracle        bcm2708-rpi-cm.dtb    bootcode.bin        fixup_cd.dat        kernel.img        start.elf
bcm2708-rpi-0-w.dtb    bcm2709-rpi-2-b.dtb    cmdline.txt        fixup_db.dat        kernel7.img        start_cd.elf
terraplane:boot ad$  sudo diskutil eject /dev/disk1
sudo: cannot get working directory
Disk /dev/disk1 ejected
terraplane:boot ad$

 

2 Rember to creat an sssh file in the boot dir