Here is what i’ve done (EMHA DINAR S.
Hostname : ubuntu-test
IP : [Link]
1. login to remote server via ssh
admin69@SMSP20:~/.ssh$ ssh root@[Link]
The authenticity of host '[Link] ([Link])' can't be
established.
ECDSA key fingerprint is
SHA256:FT1peOuoNSVW8/xTh1VkD/mgaCHhLCT8yCzD2Q6ao5w.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[Link]' (ECDSA) to the list of
known hosts.
Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-47-generic x86_64)
* Documentation: [Link]
* Management: [Link]
* Support: [Link]
System information as of Mon May 6 [Link] UTC 2019
System load: 0.48 Processes: 84
Usage of /: 4.0% of 24.06GB Users logged in: 0
Memory usage: 11% IP address for eth0:
[Link]
Swap usage: 0%
Get cloud support with Ubuntu Advantage Cloud Guest:
[Link]
0 packages can be updated.
0 updates are security updates.
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted
by
applicable law.
root@ubuntu-test:~#
(success)
2. add my own user inside the server with ‘dinar’
root@ubuntu-test:~# sudo adduser dinar
Adding user `dinar' ...
Adding new group `dinar' (1000) ...
Adding new user `dinar' (1000) with group `dinar' ...
Creating home directory `/home/dinar' ...
Copying files from `/etc/skel' ...
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Changing the user information for dinar
Enter the new value, or press ENTER for the default
Full Name []:
Room Number []:
Work Phone []:
Home Phone []:
Other []:
Is the information correct? [Y/n] Y
root@ubuntu-test:~#
(success)
3. add sudo capability to my account
root@ubuntu-test:~# sudo usermod -aG sudo dinar
root@ubuntu-test:~#
(success)
4. switch to my own account
root@ubuntu-test:~# su - dinar
To run a command as administrator (user "root"), use "sudo
<command>".
See "man sudo_root" for details.
dinar@ubuntu-test:~$
(success)
5. install nginx
dinar@ubuntu-test:~$ sudo apt install nginx
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer
required:
grub-pc-bin
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
fontconfig-config fonts-dejavu-core libfontconfig1 libgd3
libjbig0
libjpeg-turbo8 libjpeg8 libnginx-mod-http-geoip
libnginx-mod-http-image-filter libnginx-mod-http-xslt-filter
libnginx-mod-mail libnginx-mod-stream libtiff5 libwebp6 libxpm4
nginx-common
nginx-core
Suggested packages:
libgd-tools fcgiwrap nginx-doc ssl-cert
The following NEW packages will be installed:
fontconfig-config fonts-dejavu-core libfontconfig1 libgd3
libjbig0
libjpeg-turbo8 libjpeg8 libnginx-mod-http-geoip
libnginx-mod-http-image-filter libnginx-mod-http-xslt-filter
libnginx-mod-mail libnginx-mod-stream libtiff5 libwebp6 libxpm4
nginx
nginx-common nginx-core
0 upgraded, 18 newly installed, 0 to remove and 76 not upgraded.
Need to get 2461 kB of archives.
After this operation, 8194 kB of additional disk space will be
used.
Do you want to continue? [Y/n] Y
Get:1 [Link] bionic-updates/main
amd64 libjpeg-turbo8 amd64 1.5.2-0ubuntu5.18.04.1 [110 kB]
Get:2 [Link] bionic/main amd64
fonts-dejavu-core all 2.37-1 [1041 kB]
Get:3 [Link] bionic/main amd64
fontconfig-config all 2.12.6-0ubuntu2 [55.8 kB]
Get:4 [Link] bionic/main amd64
libfontconfig1 amd64 2.12.6-0ubuntu2 [137 kB]
Get:5 [Link] bionic/main amd64
libjpeg8 amd64 8c-2ubuntu8 [2194 B]
Get:6 [Link] bionic/main amd64
libjbig0 amd64 2.1-3.1build1 [26.7 kB]
Get:7 [Link] bionic-updates/main
amd64 libtiff5 amd64 4.0.9-5ubuntu0.2 [153 kB]
Get:8 [Link] bionic/main amd64
libwebp6 amd64 0.6.1-2 [185 kB]
Get:9 [Link] bionic/main amd64
libxpm4 amd64 1:3.5.12-1 [34.0 kB]
Get:10 [Link] bionic-updates/main
amd64 libgd3 amd64 2.2.5-4ubuntu0.3 [119 kB]
Get:11 [Link] bionic-updates/main
amd64 nginx-common all 1.14.0-0ubuntu1.2 [37.4 kB]
Get:12 [Link] bionic-updates/main
amd64 libnginx-mod-http-geoip amd64 1.14.0-0ubuntu1.2 [11.2 kB]
Get:13 [Link] bionic-updates/main
amd64 libnginx-mod-http-image-filter amd64 1.14.0-0ubuntu1.2 [14.5
kB]
Get:14 [Link] bionic-updates/main
amd64 libnginx-mod-http-xslt-filter amd64 1.14.0-0ubuntu1.2 [13.0
kB]
Get:15 [Link] bionic-updates/main
amd64 libnginx-mod-mail amd64 1.14.0-0ubuntu1.2 [41.8 kB]
Get:16 [Link] bionic-updates/main
amd64 libnginx-mod-stream amd64 1.14.0-0ubuntu1.2 [63.6 kB]
Get:17 [Link] bionic-updates/main
amd64 nginx-core amd64 1.14.0-0ubuntu1.2 [413 kB]
Get:18 [Link] bionic-updates/main
amd64 nginx all 1.14.0-0ubuntu1.2 [3596 B]
Fetched 2461 kB in 0s (6414 kB/s)
Preconfiguring packages ...
Selecting previously unselected package libjpeg-turbo8:amd64.
(Reading database ... 60078 files and directories currently
installed.)
Preparing to unpack .../00-libjpeg-turbo8_1.5.2-
0ubuntu5.18.04.1_amd64.deb ...
Unpacking libjpeg-turbo8:amd64 (1.5.2-0ubuntu5.18.04.1) ...
Selecting previously unselected package fonts-dejavu-core.
Preparing to unpack .../01-fonts-dejavu-core_2.37-1_all.deb ...
Unpacking fonts-dejavu-core (2.37-1) ...
Selecting previously unselected package fontconfig-config.
Preparing to unpack .../02-fontconfig-config_2.12.6-
0ubuntu2_all.deb ...
Unpacking fontconfig-config (2.12.6-0ubuntu2) ...
Selecting previously unselected package libfontconfig1:amd64.
Preparing to unpack .../03-libfontconfig1_2.12.6-
0ubuntu2_amd64.deb ...
Unpacking libfontconfig1:amd64 (2.12.6-0ubuntu2) ...
Selecting previously unselected package libjpeg8:amd64.
Preparing to unpack .../04-libjpeg8_8c-2ubuntu8_amd64.deb ...
Unpacking libjpeg8:amd64 (8c-2ubuntu8) ...
Selecting previously unselected package libjbig0:amd64.
Preparing to unpack .../05-libjbig0_2.1-3.1build1_amd64.deb ...
Unpacking libjbig0:amd64 (2.1-3.1build1) ...
Selecting previously unselected package libtiff5:amd64.
Preparing to unpack .../06-libtiff5_4.0.9-5ubuntu0.2_amd64.deb ...
Unpacking libtiff5:amd64 (4.0.9-5ubuntu0.2) ...
Selecting previously unselected package libwebp6:amd64.
Preparing to unpack .../07-libwebp6_0.6.1-2_amd64.deb ...
Unpacking libwebp6:amd64 (0.6.1-2) ...
Selecting previously unselected package libxpm4:amd64.
Preparing to unpack .../08-libxpm4_1%3a3.5.12-1_amd64.deb ...
Unpacking libxpm4:amd64 (1:3.5.12-1) ...
Selecting previously unselected package libgd3:amd64.
Preparing to unpack .../09-libgd3_2.2.5-4ubuntu0.3_amd64.deb ...
Unpacking libgd3:amd64 (2.2.5-4ubuntu0.3) ...
Selecting previously unselected package nginx-common.
Preparing to unpack .../10-nginx-common_1.14.0-
0ubuntu1.2_all.deb ...
Unpacking nginx-common (1.14.0-0ubuntu1.2) ...
Selecting previously unselected package libnginx-mod-http-geoip.
Preparing to unpack .../11-libnginx-mod-http-geoip_1.14.0-
0ubuntu1.2_amd64.deb ...
Unpacking libnginx-mod-http-geoip (1.14.0-0ubuntu1.2) ...
Selecting previously unselected package libnginx-mod-http-image-
filter.
Preparing to unpack .../12-libnginx-mod-http-image-filter_1.14.0-
0ubuntu1.2_amd64.deb ...
Unpacking libnginx-mod-http-image-filter (1.14.0-0ubuntu1.2) ...
Selecting previously unselected package libnginx-mod-http-xslt-
filter.
Preparing to unpack .../13-libnginx-mod-http-xslt-filter_1.14.0-
0ubuntu1.2_amd64.deb ...
Unpacking libnginx-mod-http-xslt-filter (1.14.0-0ubuntu1.2) ...
Selecting previously unselected package libnginx-mod-mail.
Preparing to unpack .../14-libnginx-mod-mail_1.14.0-
0ubuntu1.2_amd64.deb ...
Unpacking libnginx-mod-mail (1.14.0-0ubuntu1.2) ...
Selecting previously unselected package libnginx-mod-stream.
Preparing to unpack .../15-libnginx-mod-stream_1.14.0-
0ubuntu1.2_amd64.deb ...
Unpacking libnginx-mod-stream (1.14.0-0ubuntu1.2) ...
Selecting previously unselected package nginx-core.
Preparing to unpack .../16-nginx-core_1.14.0-
0ubuntu1.2_amd64.deb ...
Unpacking nginx-core (1.14.0-0ubuntu1.2) ...
Selecting previously unselected package nginx.
Preparing to unpack .../17-nginx_1.14.0-0ubuntu1.2_all.deb ...
Unpacking nginx (1.14.0-0ubuntu1.2) ...
Processing triggers for ufw (0.35-5) ...
Processing triggers for ureadahead (0.100.0-20) ...
Setting up libjbig0:amd64 (2.1-3.1build1) ...
Setting up fonts-dejavu-core (2.37-1) ...
Setting up nginx-common (1.14.0-0ubuntu1.2) ...
Created symlink /etc/systemd/system/multi-
[Link]/[Link] →
/lib/systemd/system/[Link].
Setting up libjpeg-turbo8:amd64 (1.5.2-0ubuntu5.18.04.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for systemd (237-3ubuntu10.15) ...
Setting up libnginx-mod-mail (1.14.0-0ubuntu1.2) ...
Setting up libxpm4:amd64 (1:3.5.12-1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Setting up libnginx-mod-http-xslt-filter (1.14.0-0ubuntu1.2) ...
Setting up libnginx-mod-http-geoip (1.14.0-0ubuntu1.2) ...
Setting up libwebp6:amd64 (0.6.1-2) ...
Setting up libjpeg8:amd64 (8c-2ubuntu8) ...
Setting up fontconfig-config (2.12.6-0ubuntu2) ...
Setting up libnginx-mod-stream (1.14.0-0ubuntu1.2) ...
Setting up libtiff5:amd64 (4.0.9-5ubuntu0.2) ...
Setting up libfontconfig1:amd64 (2.12.6-0ubuntu2) ...
Setting up libgd3:amd64 (2.2.5-4ubuntu0.3) ...
Setting up libnginx-mod-http-image-filter (1.14.0-0ubuntu1.2) ...
Setting up nginx-core (1.14.0-0ubuntu1.2) ...
Setting up nginx (1.14.0-0ubuntu1.2) ...
Processing triggers for ureadahead (0.100.0-20) ...
Processing triggers for ufw (0.35-5) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
dinar@ubuntu-test:~$
(success)
6. install nmap (for networking purpose) AND scan listening port on local
machine on the virtual server
dinar@ubuntu-test:~$ sudo apt-get install nmap
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer
required:
grub-pc-bin
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
libblas3 liblinear3 liblua5.3-0
Suggested packages:
liblinear-tools liblinear-dev ndiff
The following NEW packages will be installed:
libblas3 liblinear3 liblua5.3-0 nmap
0 upgraded, 4 newly installed, 0 to remove and 76 not upgraded.
Need to get 5467 kB of archives.
After this operation, 25.0 MB of additional disk space will be
used.
Do you want to continue? [Y/n] Y
Get:1 [Link] bionic/main amd64
libblas3 amd64 3.7.1-4ubuntu1 [140 kB]
Get:2 [Link] bionic/main amd64
liblinear3 amd64 2.1.0+dfsg-2 [39.3 kB]
Get:3 [Link] bionic-updates/main
amd64 liblua5.3-0 amd64 5.3.3-1ubuntu0.18.04.1 [115 kB]
Get:4 [Link] bionic/main amd64
nmap amd64 7.60-1ubuntu5 [5174 kB]
Fetched 5467 kB in 0s (24.1 MB/s)
Selecting previously unselected package libblas3:amd64.
(Reading database ... 60314 files and directories currently
installed.)
Preparing to unpack .../libblas3_3.7.1-4ubuntu1_amd64.deb ...
Unpacking libblas3:amd64 (3.7.1-4ubuntu1) ...
Selecting previously unselected package liblinear3:amd64.
Preparing to unpack .../liblinear3_2.1.0+dfsg-2_amd64.deb ...
Unpacking liblinear3:amd64 (2.1.0+dfsg-2) ...
Selecting previously unselected package liblua5.3-0:amd64.
Preparing to unpack .../liblua5.3-0_5.3.3-
1ubuntu0.18.04.1_amd64.deb ...
Unpacking liblua5.3-0:amd64 (5.3.3-1ubuntu0.18.04.1) ...
Selecting previously unselected package nmap.
Preparing to unpack .../nmap_7.60-1ubuntu5_amd64.deb ...
Unpacking nmap (7.60-1ubuntu5) ...
Setting up libblas3:amd64 (3.7.1-4ubuntu1) ...
update-alternatives: using /usr/lib/x86_64-linux-
gnu/blas/[Link].3 to provide /usr/lib/x86_64-linux-
gnu/[Link].3 ([Link].3-x86_64-linux-gnu) in auto mode
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Setting up liblinear3:amd64 (2.1.0+dfsg-2) ...
Setting up liblua5.3-0:amd64 (5.3.3-1ubuntu0.18.04.1) ...
Setting up nmap (7.60-1ubuntu5) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
dinar@ubuntu-test:~$ sudo nmap [Link]
Starting Nmap 7.60 ( [Link] ) at 2019-05-06 04:53 UTC
Nmap scan report for localhost ([Link])
Host is up (0.0000070s latency).
Not shown: 998 closed ports
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
Nmap done: 1 IP address (1 host up) scanned in 1.61 seconds
dinar@ubuntu-test:~$
from the terminal above, it’s indicate that the http server on port 80 is open which created
automatically by nginx.
(success)
7. Testing nginx from client laptop (admin69@SMSP20) to see default page
is working
on IP address host [Link] on port 80 (HTTP is PORT 80 default by
browser)
the test shown nginx we created can be accessed online (success)
8. install Python tools and uwsgi
dinar@ubuntu-test:~$ sudo apt-get install build-essential nginx
python-dev python-pip python-sqlite sqlite
[sudo] password for dinar:
Reading package lists... Done
Building dependency tree
Reading state information... Done
nginx is already the newest version (1.14.0-0ubuntu1.2).
The following package was automatically installed and is no longer
required:
grub-pc-bin
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
binutils binutils-common binutils-x86-64-linux-gnu cpp cpp-7
dpkg-dev fakeroot g++ g++-7 gcc gcc-7 gcc-7-base gcc-8-base
libalgorithm-diff-perl libalgorithm-diff-xs-perl
libalgorithm-merge-perl libasan4 libatomic1 libbinutils libc-
dev-bin libc6-dev libcc1-0 libcilkrts5 libdpkg-perl libexpat1-dev
libfakeroot libfile-fcntllock-perl libgcc-7-dev libgcc1
libgomp1 libisl19 libitm1 liblsan0 libmpc3 libmpx2 libpython-
all-dev libpython-dev libpython-stdlib libpython2.7 libpython2.7-
dev libpython2.7-minimal libpython2.7-stdlib libquadmath0
libsqlite0 libstdc++-7-dev libstdc++6 libtsan0 libubsan0 linux-
libc-dev make manpages-dev python python-all python-all-dev
python-asn1crypto python-cffi-backend python-crypto
python-cryptography python-dbus python-enum34 python-gi python-
idna python-ipaddress python-keyring [Link] python-
minimal python-pip-whl python-pkg-resources
python-secretstorage python-setuptools python-six python-wheel
python-xdg python2.7 python2.7-dev python2.7-minimal sqlite3
Suggested packages:
binutils-doc cpp-doc gcc-7-locales debian-keyring g++-multilib
g++-7-multilib gcc-7-doc libstdc++6-7-dbg gcc-multilib autoconf
automake libtool flex bison gdb gcc-doc gcc-7-multilib
libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan4-dbg
liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libmpx2-
dbg libquadmath0-dbg glibc-doc bzr libstdc++-7-doc
make-doc python-doc python-tk python-crypto-doc python-
cryptography-doc python-cryptography-vectors python-dbus-dbg
python-dbus-doc python-enum34-doc python-gi-cairo gnome-keyring
libkf5wallet-bin gir1.2-gnomekeyring-1.0 python-fs python-gdata
python-keyczar python-secretstorage-doc python-setuptools-doc
python-sqlite-dbg python2.7-doc binfmt-support sqlite-doc
sqlite3-doc
The following NEW packages will be installed:
binutils binutils-common binutils-x86-64-linux-gnu build-
essential cpp cpp-7 dpkg-dev fakeroot g++ g++-7 gcc gcc-7 gcc-7-
base libalgorithm-diff-perl libalgorithm-diff-xs-perl
libalgorithm-merge-perl libasan4 libatomic1 libbinutils libc-
dev-bin libc6-dev libcc1-0 libcilkrts5 libdpkg-perl libexpat1-dev
libfakeroot libfile-fcntllock-perl libgcc-7-dev libgomp1
libisl19 libitm1 liblsan0 libmpc3 libmpx2 libpython-all-dev
libpython-dev libpython-stdlib libpython2.7 libpython2.7-dev
libpython2.7-minimal libpython2.7-stdlib libquadmath0
libsqlite0 libstdc++-7-dev libtsan0 libubsan0 linux-libc-dev
make manpages-dev python python-all python-all-dev python-
asn1crypto python-cffi-backend python-crypto python-cryptography
python-dbus python-dev python-enum34 python-gi python-idna
python-ipaddress python-keyring [Link] python-minimal
python-pip python-pip-whl python-pkg-resources
python-secretstorage python-setuptools python-six python-sqlite
python-wheel python-xdg python2.7 python2.7-dev python2.7-minimal
sqlite sqlite3
The following packages will be upgraded:
gcc-8-base libgcc1 libstdc++6
3 upgraded, 79 newly installed, 0 to remove and 73 not upgraded.
Need to get 75.6 MB of archives.
After this operation, 238 MB of additional disk space will be
used.
Do you want to continue? [Y/n] Y
Get:1 [Link] bionic-updates/main
amd64 libpython2.7-minimal amd64 2.7.15~rc1-1ubuntu0.1 [334 kB]
Get:2 [Link] bionic-updates/main
amd64 python2.7-minimal amd64 2.7.15~rc1-1ubuntu0.1 [1304 kB]
Get:3 [Link] bionic/main amd64
python-minimal amd64 2.7.15~rc1-1 [28.1 kB]
Get:4 [Link] bionic-updates/main
amd64 libpython2.7-stdlib amd64 2.7.15~rc1-1ubuntu0.1 [1912 kB]
Get:5 [Link] bionic-updates/main
amd64 python2.7 amd64 2.7.15~rc1-1ubuntu0.1 [238 kB]
Get:6 [Link] bionic/main amd64
libpython-stdlib amd64 2.7.15~rc1-1 [7620 B]
Get:7 [Link] bionic/main amd64
python amd64 2.7.15~rc1-1 [140 kB]
Get:8 [Link] bionic-updates/main
amd64 gcc-8-base amd64 8.3.0-6ubuntu1~18.04 [18.6 kB]
Get:9 [Link] bionic-updates/main
amd64 libstdc++6 amd64 8.3.0-6ubuntu1~18.04 [400 kB]
Get:10 [Link] bionic-updates/main
amd64 libgcc1 amd64 1:8.3.0-6ubuntu1~18.04 [40.7 kB]
Get:11 [Link] bionic-updates/main
amd64 binutils-common amd64 2.30-21ubuntu1~18.04.1 [193 kB]
Get:12 [Link] bionic-updates/main
amd64 libbinutils amd64 2.30-21ubuntu1~18.04.1 [501 kB]
Get:13 [Link] bionic-updates/main
amd64 binutils-x86-64-linux-gnu amd64 2.30-21ubuntu1~18.04.1 [1854
kB]
Get:14 [Link] bionic-updates/main
amd64 binutils amd64 2.30-21ubuntu1~18.04.1 [3396 B]
Get:15 [Link] bionic/main amd64
libc-dev-bin amd64 2.27-3ubuntu1 [71.8 kB]
Get:16 [Link] bionic-updates/main
amd64 linux-libc-dev amd64 4.15.0-48.51 [1006 kB]
Get:17 [Link] bionic/main amd64
libc6-dev amd64 2.27-3ubuntu1 [2587 kB]
Get:18 [Link] bionic-updates/main
amd64 gcc-7-base amd64 7.4.0-1ubuntu1~18.04 [19.0 kB]
Get:19 [Link] bionic/main amd64
libisl19 amd64 0.19-1 [551 kB]
Get:20 [Link] bionic/main amd64
libmpc3 amd64 1.1.0-1 [40.8 kB]
Get:21 [Link] bionic-updates/main
amd64 cpp-7 amd64 7.4.0-1ubuntu1~18.04 [6740 kB]
Get:22 [Link] bionic-updates/main
amd64 cpp amd64 4:7.4.0-1ubuntu2.2 [27.6 kB]
Get:23 [Link] bionic-updates/main
amd64 libcc1-0 amd64 8.3.0-6ubuntu1~18.04 [47.4 kB]
Get:24 [Link] bionic-updates/main
amd64 libgomp1 amd64 8.3.0-6ubuntu1~18.04 [76.4 kB]
Get:25 [Link] bionic-updates/main
amd64 libitm1 amd64 8.3.0-6ubuntu1~18.04 [27.9 kB]
Get:26 [Link] bionic-updates/main
amd64 libatomic1 amd64 8.3.0-6ubuntu1~18.04 [9180 B]
Get:27 [Link] bionic-updates/main
amd64 libasan4 amd64 7.4.0-1ubuntu1~18.04 [359 kB]
Get:28 [Link] bionic-updates/main
amd64 liblsan0 amd64 8.3.0-6ubuntu1~18.04 [133 kB]
Get:29 [Link] bionic-updates/main
amd64 libtsan0 amd64 8.3.0-6ubuntu1~18.04 [288 kB]
Get:30 [Link] bionic-updates/main
amd64 libubsan0 amd64 7.4.0-1ubuntu1~18.04 [126 kB]
Get:31 [Link] bionic-updates/main
amd64 libcilkrts5 amd64 7.4.0-1ubuntu1~18.04 [42.5 kB]
Get:32 [Link] bionic-updates/main
amd64 libmpx2 amd64 8.3.0-6ubuntu1~18.04 [11.6 kB]
Get:33 [Link] bionic-updates/main
amd64 libquadmath0 amd64 8.3.0-6ubuntu1~18.04 [134 kB]
Get:34 [Link] bionic-updates/main
amd64 libgcc-7-dev amd64 7.4.0-1ubuntu1~18.04 [2381 kB]
Get:35 [Link] bionic-updates/main
amd64 gcc-7 amd64 7.4.0-1ubuntu1~18.04 [7462 kB]
Get:36 [Link] bionic-updates/main
amd64 gcc amd64 4:7.4.0-1ubuntu2.2 [5184 B]
Get:37 [Link] bionic-updates/main
amd64 libstdc++-7-dev amd64 7.4.0-1ubuntu1~18.04 [1467 kB]
Get:38 [Link] bionic-updates/main
amd64 g++-7 amd64 7.4.0-1ubuntu1~18.04 [7575 kB]
Get:39 [Link] bionic-updates/main
amd64 g++ amd64 4:7.4.0-1ubuntu2.2 [1568 B]
Get:40 [Link] bionic/main amd64
make amd64 4.1-9.1ubuntu1 [154 kB]
Get:41 [Link] bionic-updates/main
amd64 libdpkg-perl all 1.19.0.5ubuntu2.1 [211 kB]
Get:42 [Link] bionic-updates/main
amd64 dpkg-dev all 1.19.0.5ubuntu2.1 [608 kB]
Get:43 [Link] bionic/main amd64
build-essential amd64 12.4ubuntu1 [4758 B]
Get:44 [Link] bionic/main amd64
libfakeroot amd64 1.22-2ubuntu1 [25.9 kB]
Get:45 [Link] bionic/main amd64
fakeroot amd64 1.22-2ubuntu1 [62.3 kB]
Get:46 [Link] bionic/main amd64
libalgorithm-diff-perl all 1.19.03-1 [47.6 kB]
Get:47 [Link] bionic/main amd64
libalgorithm-diff-xs-perl amd64 0.04-5 [11.1 kB]
Get:48 [Link] bionic/main amd64
libalgorithm-merge-perl all 0.08-3 [12.0 kB]
Get:49 [Link] bionic/main amd64
libexpat1-dev amd64 2.2.5-3 [122 kB]
Get:50 [Link] bionic/main amd64
libfile-fcntllock-perl amd64 0.22-3build2 [33.2 kB]
Get:51 [Link] bionic-updates/main
amd64 libpython2.7 amd64 2.7.15~rc1-1ubuntu0.1 [1053 kB]
Get:52 [Link] bionic-updates/main
amd64 libpython2.7-dev amd64 2.7.15~rc1-1ubuntu0.1 [28.3 MB]
Get:53 [Link] bionic/main amd64
libpython-dev amd64 2.7.15~rc1-1 [7684 B]
Get:54 [Link] bionic/main amd64
libpython-all-dev amd64 2.7.15~rc1-1 [1092 B]
Get:55 [Link] bionic/universe
amd64 libsqlite0 amd64 2.8.17-14fakesync1 [160 kB]
Get:56 [Link] bionic/main amd64
manpages-dev all 4.15-1 [2217 kB]
Get:57 [Link] bionic/main amd64
python-all amd64 2.7.15~rc1-1 [1076 B]
Get:58 [Link] bionic-updates/main
amd64 python2.7-dev amd64 2.7.15~rc1-1ubuntu0.1 [286 kB]
Get:59 [Link] bionic/main amd64
python-dev amd64 2.7.15~rc1-1 [1256 B]
Get:60 [Link] bionic/main amd64
python-all-dev amd64 2.7.15~rc1-1 [1100 B]
Get:61 [Link] bionic/main amd64
python-asn1crypto all 0.24.0-1 [72.7 kB]
Get:62 [Link] bionic/main amd64
python-cffi-backend amd64 1.11.5-1 [63.4 kB]
Get:63 [Link] bionic/main amd64
python-crypto amd64 2.6.1-8ubuntu2 [244 kB]
Get:64 [Link] bionic/main amd64
python-enum34 all 1.1.6-2 [34.8 kB]
Get:65 [Link] bionic/main amd64
python-idna all 2.6-1 [32.4 kB]
Get:66 [Link] bionic/main amd64
python-ipaddress all 1.0.17-1 [18.2 kB]
Get:67 [Link] bionic/main amd64
python-six all 1.11.0-2 [11.3 kB]
Get:68 [Link] bionic-updates/main
amd64 python-cryptography amd64 2.1.4-1ubuntu1.2 [221 kB]
Get:69 [Link] bionic/main amd64
python-dbus amd64 1.2.6-1 [90.2 kB]
Get:70 [Link] bionic-updates/main
amd64 python-gi amd64 3.26.1-2ubuntu1 [197 kB]
Get:71 [Link] bionic/main amd64
python-secretstorage all 2.3.1-2 [11.8 kB]
Get:72 [Link] bionic/main amd64
python-keyring all 10.6.0-1 [30.6 kB]
Get:73 [Link] bionic/main amd64
[Link] all 3.0-1 [16.7 kB]
Get:74 [Link] bionic-
updates/universe amd64 python-pip-whl all 9.0.1-2.3~ubuntu1 [1652
kB]
Get:75 [Link] bionic-
updates/universe amd64 python-pip all 9.0.1-2.3~ubuntu1 [151 kB]
Get:76 [Link] bionic/main amd64
python-pkg-resources all 39.0.1-2 [128 kB]
Get:77 [Link] bionic/main amd64
python-setuptools all 39.0.1-2 [329 kB]
Get:78 [Link] bionic/universe
amd64 python-sqlite amd64 1.0.1-12 [20.9 kB]
Get:79 [Link] bionic/universe
amd64 python-wheel all 0.30.0-0.2 [36.4 kB]
Get:80 [Link] bionic/universe
amd64 python-xdg all 0.25-4ubuntu1 [31.3 kB]
Get:81 [Link] bionic/universe
amd64 sqlite amd64 2.8.17-14fakesync1 [15.9 kB]
Get:82 [Link] bionic/main amd64
sqlite3 amd64 3.22.0-1 [751 kB]
Fetched 75.6 MB in 3s (26.7 MB/s)
Extracting templates from packages: 100%
Selecting previously unselected package libpython2.7-
minimal:amd64.
(Reading database ... 61146 files and directories currently
installed.)
Preparing to unpack .../0-libpython2.7-minimal_2.7.15~rc1-
1ubuntu0.1_amd64.deb ...
Unpacking libpython2.7-minimal:amd64 (2.7.15~rc1-1ubuntu0.1) ...
Selecting previously unselected package python2.7-minimal.
Preparing to unpack .../1-python2.7-minimal_2.7.15~rc1-
1ubuntu0.1_amd64.deb ...
Unpacking python2.7-minimal (2.7.15~rc1-1ubuntu0.1) ...
Selecting previously unselected package python-minimal.
Preparing to unpack .../2-python-minimal_2.7.15~rc1-
1_amd64.deb ...
Unpacking python-minimal (2.7.15~rc1-1) ...
Selecting previously unselected package libpython2.7-stdlib:amd64.
Preparing to unpack .../3-libpython2.7-stdlib_2.7.15~rc1-
1ubuntu0.1_amd64.deb ...
Unpacking libpython2.7-stdlib:amd64 (2.7.15~rc1-1ubuntu0.1) ...
Selecting previously unselected package python2.7.
Preparing to unpack .../4-python2.7_2.7.15~rc1-
1ubuntu0.1_amd64.deb ...
Unpacking python2.7 (2.7.15~rc1-1ubuntu0.1) ...
Selecting previously unselected package libpython-stdlib:amd64.
Preparing to unpack .../5-libpython-stdlib_2.7.15~rc1-
1_amd64.deb ...
Unpacking libpython-stdlib:amd64 (2.7.15~rc1-1) ...
Setting up libpython2.7-minimal:amd64 (2.7.15~rc1-1ubuntu0.1) ...
Setting up python2.7-minimal (2.7.15~rc1-1ubuntu0.1) ...
Linking and byte-compiling packages for runtime python2.7...
Setting up python-minimal (2.7.15~rc1-1) ...
Selecting previously unselected package python.
(Reading database ... 61893 files and directories currently
installed.)
Preparing to unpack .../python_2.7.15~rc1-1_amd64.deb ...
Unpacking python (2.7.15~rc1-1) ...
Preparing to unpack .../gcc-8-base_8.3.0-
6ubuntu1~18.04_amd64.deb ...
Unpacking gcc-8-base:amd64 (8.3.0-6ubuntu1~18.04) over (8.2.0-
1ubuntu2~18.04) ...
Setting up gcc-8-base:amd64 (8.3.0-6ubuntu1~18.04) ...
(Reading database ... 61948 files and directories currently
installed.)
Preparing to unpack .../libstdc++6_8.3.0-
6ubuntu1~18.04_amd64.deb ...
Unpacking libstdc++6:amd64 (8.3.0-6ubuntu1~18.04) over (8.2.0-
1ubuntu2~18.04) ...
Setting up libstdc++6:amd64 (8.3.0-6ubuntu1~18.04) ...
(Reading database ... 61948 files and directories currently
installed.)
Preparing to unpack .../libgcc1_1%3a8.3.0-6ubuntu1~18.04_amd64.deb
...
Unpacking libgcc1:amd64 (1:8.3.0-6ubuntu1~18.04) over (1:8.2.0-
1ubuntu2~18.04) ...
Setting up libgcc1:amd64 (1:8.3.0-6ubuntu1~18.04) ...
Selecting previously unselected package binutils-common:amd64.
(Reading database ... 61948 files and directories currently
installed.)
Preparing to unpack .../00-binutils-common_2.30-
21ubuntu1~18.04.1_amd64.deb ...
Unpacking binutils-common:amd64 (2.30-21ubuntu1~18.04.1) ...
Selecting previously unselected package libbinutils:amd64.
Preparing to unpack .../01-libbinutils_2.30-
21ubuntu1~18.04.1_amd64.deb ...
Unpacking libbinutils:amd64 (2.30-21ubuntu1~18.04.1) ...
Selecting previously unselected package binutils-x86-64-linux-gnu.
Preparing to unpack .../02-binutils-x86-64-linux-gnu_2.30-
21ubuntu1~18.04.1_amd64.deb ...
Unpacking binutils-x86-64-linux-gnu (2.30-21ubuntu1~18.04.1) ...
Selecting previously unselected package binutils.
Preparing to unpack .../03-binutils_2.30-
21ubuntu1~18.04.1_amd64.deb ...
Unpacking binutils (2.30-21ubuntu1~18.04.1) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../04-libc-dev-bin_2.27-
3ubuntu1_amd64.deb ...
Unpacking libc-dev-bin (2.27-3ubuntu1) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../05-linux-libc-dev_4.15.0-
48.51_amd64.deb ...
Unpacking linux-libc-dev:amd64 (4.15.0-48.51) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../06-libc6-dev_2.27-3ubuntu1_amd64.deb ...
Unpacking libc6-dev:amd64 (2.27-3ubuntu1) ...
Selecting previously unselected package gcc-7-base:amd64.
Preparing to unpack .../07-gcc-7-base_7.4.0-
1ubuntu1~18.04_amd64.deb ...
Unpacking gcc-7-base:amd64 (7.4.0-1ubuntu1~18.04) ...
Selecting previously unselected package libisl19:amd64.
Preparing to unpack .../08-libisl19_0.19-1_amd64.deb ...
Unpacking libisl19:amd64 (0.19-1) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../09-libmpc3_1.1.0-1_amd64.deb ...
Unpacking libmpc3:amd64 (1.1.0-1) ...
Selecting previously unselected package cpp-7.
Preparing to unpack .../10-cpp-7_7.4.0-
1ubuntu1~18.04_amd64.deb ...
Unpacking cpp-7 (7.4.0-1ubuntu1~18.04) ...
Selecting previously unselected package cpp.
Preparing to unpack .../11-cpp_4%3a7.4.0-1ubuntu2.2_amd64.deb ...
Unpacking cpp (4:7.4.0-1ubuntu2.2) ...
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack .../12-libcc1-0_8.3.0-6ubuntu1~18.04_amd64.deb
...
Unpacking libcc1-0:amd64 (8.3.0-6ubuntu1~18.04) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../13-libgomp1_8.3.0-6ubuntu1~18.04_amd64.deb
...
Unpacking libgomp1:amd64 (8.3.0-6ubuntu1~18.04) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../14-libitm1_8.3.0-
6ubuntu1~18.04_amd64.deb ...
Unpacking libitm1:amd64 (8.3.0-6ubuntu1~18.04) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../15-libatomic1_8.3.0-
6ubuntu1~18.04_amd64.deb ...
Unpacking libatomic1:amd64 (8.3.0-6ubuntu1~18.04) ...
Selecting previously unselected package libasan4:amd64.
Preparing to unpack .../16-libasan4_7.4.0-1ubuntu1~18.04_amd64.deb
...
Unpacking libasan4:amd64 (7.4.0-1ubuntu1~18.04) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../17-liblsan0_8.3.0-6ubuntu1~18.04_amd64.deb
...
Unpacking liblsan0:amd64 (8.3.0-6ubuntu1~18.04) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../18-libtsan0_8.3.0-6ubuntu1~18.04_amd64.deb
...
Unpacking libtsan0:amd64 (8.3.0-6ubuntu1~18.04) ...
Selecting previously unselected package libubsan0:amd64.
Preparing to unpack .../19-libubsan0_7.4.0-
1ubuntu1~18.04_amd64.deb ...
Unpacking libubsan0:amd64 (7.4.0-1ubuntu1~18.04) ...
Selecting previously unselected package libcilkrts5:amd64.
Preparing to unpack .../20-libcilkrts5_7.4.0-
1ubuntu1~18.04_amd64.deb ...
Unpacking libcilkrts5:amd64 (7.4.0-1ubuntu1~18.04) ...
Selecting previously unselected package libmpx2:amd64.
Preparing to unpack .../21-libmpx2_8.3.0-
6ubuntu1~18.04_amd64.deb ...
Unpacking libmpx2:amd64 (8.3.0-6ubuntu1~18.04) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../22-libquadmath0_8.3.0-
6ubuntu1~18.04_amd64.deb ...
Unpacking libquadmath0:amd64 (8.3.0-6ubuntu1~18.04) ...
Selecting previously unselected package libgcc-7-dev:amd64.
Preparing to unpack .../23-libgcc-7-dev_7.4.0-
1ubuntu1~18.04_amd64.deb ...
Unpacking libgcc-7-dev:amd64 (7.4.0-1ubuntu1~18.04) ...
Selecting previously unselected package gcc-7.
Preparing to unpack .../24-gcc-7_7.4.0-
1ubuntu1~18.04_amd64.deb ...
Unpacking gcc-7 (7.4.0-1ubuntu1~18.04) ...
Selecting previously unselected package gcc.
Preparing to unpack .../25-gcc_4%3a7.4.0-1ubuntu2.2_amd64.deb ...
Unpacking gcc (4:7.4.0-1ubuntu2.2) ...
Selecting previously unselected package libstdc++-7-dev:amd64.
Preparing to unpack .../26-libstdc++-7-dev_7.4.0-
1ubuntu1~18.04_amd64.deb ...
Unpacking libstdc++-7-dev:amd64 (7.4.0-1ubuntu1~18.04) ...
Selecting previously unselected package g++-7.
Preparing to unpack .../27-g++-7_7.4.0-
1ubuntu1~18.04_amd64.deb ...
Unpacking g++-7 (7.4.0-1ubuntu1~18.04) ...
Selecting previously unselected package g++.
Preparing to unpack .../28-g++_4%3a7.4.0-1ubuntu2.2_amd64.deb ...
Unpacking g++ (4:7.4.0-1ubuntu2.2) ...
Selecting previously unselected package make.
Preparing to unpack .../29-make_4.1-9.1ubuntu1_amd64.deb ...
Unpacking make (4.1-9.1ubuntu1) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../30-libdpkg-
perl_1.19.0.5ubuntu2.1_all.deb ...
Unpacking libdpkg-perl (1.19.0.5ubuntu2.1) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../31-dpkg-dev_1.19.0.5ubuntu2.1_all.deb ...
Unpacking dpkg-dev (1.19.0.5ubuntu2.1) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../32-build-
essential_12.4ubuntu1_amd64.deb ...
Unpacking build-essential (12.4ubuntu1) ...
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack .../33-libfakeroot_1.22-2ubuntu1_amd64.deb ...
Unpacking libfakeroot:amd64 (1.22-2ubuntu1) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../34-fakeroot_1.22-2ubuntu1_amd64.deb ...
Unpacking fakeroot (1.22-2ubuntu1) ...
Selecting previously unselected package libalgorithm-diff-perl.
Preparing to unpack .../35-libalgorithm-diff-perl_1.19.03-
1_all.deb ...
Unpacking libalgorithm-diff-perl (1.19.03-1) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Preparing to unpack .../36-libalgorithm-diff-xs-perl_0.04-
5_amd64.deb ...
Unpacking libalgorithm-diff-xs-perl (0.04-5) ...
Selecting previously unselected package libalgorithm-merge-perl.
Preparing to unpack .../37-libalgorithm-merge-perl_0.08-
3_all.deb ...
Unpacking libalgorithm-merge-perl (0.08-3) ...
Selecting previously unselected package libexpat1-dev:amd64.
Preparing to unpack .../38-libexpat1-dev_2.2.5-3_amd64.deb ...
Unpacking libexpat1-dev:amd64 (2.2.5-3) ...
Selecting previously unselected package libfile-fcntllock-perl.
Preparing to unpack .../39-libfile-fcntllock-perl_0.22-
3build2_amd64.deb ...
Unpacking libfile-fcntllock-perl (0.22-3build2) ...
Selecting previously unselected package libpython2.7:amd64.
Preparing to unpack .../40-libpython2.7_2.7.15~rc1-
1ubuntu0.1_amd64.deb ...
Unpacking libpython2.7:amd64 (2.7.15~rc1-1ubuntu0.1) ...
Selecting previously unselected package libpython2.7-dev:amd64.
Preparing to unpack .../41-libpython2.7-dev_2.7.15~rc1-
1ubuntu0.1_amd64.deb ...
Unpacking libpython2.7-dev:amd64 (2.7.15~rc1-1ubuntu0.1) ...
Selecting previously unselected package libpython-dev:amd64.
Preparing to unpack .../42-libpython-dev_2.7.15~rc1-
1_amd64.deb ...
Unpacking libpython-dev:amd64 (2.7.15~rc1-1) ...
Selecting previously unselected package libpython-all-dev:amd64.
Preparing to unpack .../43-libpython-all-dev_2.7.15~rc1-
1_amd64.deb ...
Unpacking libpython-all-dev:amd64 (2.7.15~rc1-1) ...
Selecting previously unselected package libsqlite0.
Preparing to unpack .../44-libsqlite0_2.8.17-14fakesync1_amd64.deb
...
Unpacking libsqlite0 (2.8.17-14fakesync1) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../45-manpages-dev_4.15-1_all.deb ...
Unpacking manpages-dev (4.15-1) ...
Selecting previously unselected package python-all.
Preparing to unpack .../46-python-all_2.7.15~rc1-1_amd64.deb ...
Unpacking python-all (2.7.15~rc1-1) ...
Selecting previously unselected package python2.7-dev.
Preparing to unpack .../47-python2.7-dev_2.7.15~rc1-
1ubuntu0.1_amd64.deb ...
Unpacking python2.7-dev (2.7.15~rc1-1ubuntu0.1) ...
Selecting previously unselected package python-dev.
Preparing to unpack .../48-python-dev_2.7.15~rc1-1_amd64.deb ...
Unpacking python-dev (2.7.15~rc1-1) ...
Selecting previously unselected package python-all-dev.
Preparing to unpack .../49-python-all-dev_2.7.15~rc1-
1_amd64.deb ...
Unpacking python-all-dev (2.7.15~rc1-1) ...
Selecting previously unselected package python-asn1crypto.
Preparing to unpack .../50-python-asn1crypto_0.24.0-1_all.deb ...
Unpacking python-asn1crypto (0.24.0-1) ...
Selecting previously unselected package python-cffi-backend.
Preparing to unpack .../51-python-cffi-backend_1.11.5-
1_amd64.deb ...
Unpacking python-cffi-backend (1.11.5-1) ...
Selecting previously unselected package python-crypto.
Preparing to unpack .../52-python-crypto_2.6.1-
8ubuntu2_amd64.deb ...
Unpacking python-crypto (2.6.1-8ubuntu2) ...
Selecting previously unselected package python-enum34.
Preparing to unpack .../53-python-enum34_1.1.6-2_all.deb ...
Unpacking python-enum34 (1.1.6-2) ...
Selecting previously unselected package python-idna.
Preparing to unpack .../54-python-idna_2.6-1_all.deb ...
Unpacking python-idna (2.6-1) ...
Selecting previously unselected package python-ipaddress.
Preparing to unpack .../55-python-ipaddress_1.0.17-1_all.deb ...
Unpacking python-ipaddress (1.0.17-1) ...
Selecting previously unselected package python-six.
Preparing to unpack .../56-python-six_1.11.0-2_all.deb ...
Unpacking python-six (1.11.0-2) ...
Selecting previously unselected package python-cryptography.
Preparing to unpack .../57-python-cryptography_2.1.4-
1ubuntu1.2_amd64.deb ...
Unpacking python-cryptography (2.1.4-1ubuntu1.2) ...
Selecting previously unselected package python-dbus.
Preparing to unpack .../58-python-dbus_1.2.6-1_amd64.deb ...
Unpacking python-dbus (1.2.6-1) ...
Selecting previously unselected package python-gi.
Preparing to unpack .../59-python-gi_3.26.1-2ubuntu1_amd64.deb ...
Unpacking python-gi (3.26.1-2ubuntu1) ...
Selecting previously unselected package python-secretstorage.
Preparing to unpack .../60-python-secretstorage_2.3.1-
2_all.deb ...
Unpacking python-secretstorage (2.3.1-2) ...
Selecting previously unselected package python-keyring.
Preparing to unpack .../61-python-keyring_10.6.0-1_all.deb ...
Unpacking python-keyring (10.6.0-1) ...
Selecting previously unselected package [Link].
Preparing to unpack .../62-python-keyrings.alt_3.0-1_all.deb ...
Unpacking [Link] (3.0-1) ...
Selecting previously unselected package python-pip-whl.
Preparing to unpack .../63-python-pip-whl_9.0.1-
2.3~ubuntu1_all.deb ...
Unpacking python-pip-whl (9.0.1-2.3~ubuntu1) ...
Selecting previously unselected package python-pip.
Preparing to unpack .../64-python-pip_9.0.1-
2.3~ubuntu1_all.deb ...
Unpacking python-pip (9.0.1-2.3~ubuntu1) ...
Selecting previously unselected package python-pkg-resources.
Preparing to unpack .../65-python-pkg-resources_39.0.1-
2_all.deb ...
Unpacking python-pkg-resources (39.0.1-2) ...
Selecting previously unselected package python-setuptools.
Preparing to unpack .../66-python-setuptools_39.0.1-2_all.deb ...
Unpacking python-setuptools (39.0.1-2) ...
Selecting previously unselected package python-sqlite.
Preparing to unpack .../67-python-sqlite_1.0.1-12_amd64.deb ...
Unpacking python-sqlite (1.0.1-12) ...
Selecting previously unselected package python-wheel.
Preparing to unpack .../68-python-wheel_0.30.0-0.2_all.deb ...
Unpacking python-wheel (0.30.0-0.2) ...
Selecting previously unselected package python-xdg.
Preparing to unpack .../69-python-xdg_0.25-4ubuntu1_all.deb ...
Unpacking python-xdg (0.25-4ubuntu1) ...
Selecting previously unselected package sqlite.
Preparing to unpack .../70-sqlite_2.8.17-14fakesync1_amd64.deb ...
Unpacking sqlite (2.8.17-14fakesync1) ...
Selecting previously unselected package sqlite3.
Preparing to unpack .../71-sqlite3_3.22.0-1_amd64.deb ...
Unpacking sqlite3 (3.22.0-1) ...
Setting up libquadmath0:amd64 (8.3.0-6ubuntu1~18.04) ...
Setting up libgomp1:amd64 (8.3.0-6ubuntu1~18.04) ...
Setting up libatomic1:amd64 (8.3.0-6ubuntu1~18.04) ...
Setting up python-pip-whl (9.0.1-2.3~ubuntu1) ...
Setting up libcc1-0:amd64 (8.3.0-6ubuntu1~18.04) ...
Setting up make (4.1-9.1ubuntu1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Setting up libtsan0:amd64 (8.3.0-6ubuntu1~18.04) ...
Setting up linux-libc-dev:amd64 (4.15.0-48.51) ...
Setting up libdpkg-perl (1.19.0.5ubuntu2.1) ...
Setting up sqlite3 (3.22.0-1) ...
Setting up liblsan0:amd64 (8.3.0-6ubuntu1~18.04) ...
Setting up gcc-7-base:amd64 (7.4.0-1ubuntu1~18.04) ...
Setting up binutils-common:amd64 (2.30-21ubuntu1~18.04.1) ...
Setting up libfile-fcntllock-perl (0.22-3build2) ...
Setting up libmpx2:amd64 (8.3.0-6ubuntu1~18.04) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Setting up libfakeroot:amd64 (1.22-2ubuntu1) ...
Setting up libalgorithm-diff-perl (1.19.03-1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Setting up libmpc3:amd64 (1.1.0-1) ...
Setting up libc-dev-bin (2.27-3ubuntu1) ...
Setting up manpages-dev (4.15-1) ...
Setting up libc6-dev:amd64 (2.27-3ubuntu1) ...
Setting up libsqlite0 (2.8.17-14fakesync1) ...
Setting up libitm1:amd64 (8.3.0-6ubuntu1~18.04) ...
Setting up libpython2.7-stdlib:amd64 (2.7.15~rc1-1ubuntu0.1) ...
Setting up libisl19:amd64 (0.19-1) ...
Setting up libasan4:amd64 (7.4.0-1ubuntu1~18.04) ...
Setting up libbinutils:amd64 (2.30-21ubuntu1~18.04.1) ...
Setting up libcilkrts5:amd64 (7.4.0-1ubuntu1~18.04) ...
Setting up libubsan0:amd64 (7.4.0-1ubuntu1~18.04) ...
Setting up python2.7 (2.7.15~rc1-1ubuntu0.1) ...
Setting up fakeroot (1.22-2ubuntu1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide
/usr/bin/fakeroot (fakeroot) in auto mode
Setting up libgcc-7-dev:amd64 (7.4.0-1ubuntu1~18.04) ...
Setting up cpp-7 (7.4.0-1ubuntu1~18.04) ...
Setting up libstdc++-7-dev:amd64 (7.4.0-1ubuntu1~18.04) ...
Setting up libpython-stdlib:amd64 (2.7.15~rc1-1) ...
Setting up libalgorithm-merge-perl (0.08-3) ...
Setting up libalgorithm-diff-xs-perl (0.04-5) ...
Setting up sqlite (2.8.17-14fakesync1) ...
Setting up libpython2.7:amd64 (2.7.15~rc1-1ubuntu0.1) ...
Setting up libexpat1-dev:amd64 (2.2.5-3) ...
Setting up libpython2.7-dev:amd64 (2.7.15~rc1-1ubuntu0.1) ...
Setting up python2.7-dev (2.7.15~rc1-1ubuntu0.1) ...
Setting up python (2.7.15~rc1-1) ...
Setting up python-xdg (0.25-4ubuntu1) ...
Setting up binutils-x86-64-linux-gnu (2.30-21ubuntu1~18.04.1) ...
Setting up python-idna (2.6-1) ...
Setting up cpp (4:7.4.0-1ubuntu2.2) ...
Setting up libpython-dev:amd64 (2.7.15~rc1-1) ...
Setting up python-asn1crypto (0.24.0-1) ...
Setting up python-crypto (2.6.1-8ubuntu2) ...
Setting up python-dev (2.7.15~rc1-1) ...
Setting up python-wheel (0.30.0-0.2) ...
Setting up libpython-all-dev:amd64 (2.7.15~rc1-1) ...
Setting up python-pkg-resources (39.0.1-2) ...
Setting up python-cffi-backend (1.11.5-1) ...
Setting up python-gi (3.26.1-2ubuntu1) ...
Setting up python-six (1.11.0-2) ...
Setting up python-sqlite (1.0.1-12) ...
Setting up python-enum34 (1.1.6-2) ...
Setting up binutils (2.30-21ubuntu1~18.04.1) ...
Setting up python-dbus (1.2.6-1) ...
Setting up python-ipaddress (1.0.17-1) ...
Setting up python-pip (9.0.1-2.3~ubuntu1) ...
Setting up python-all (2.7.15~rc1-1) ...
Setting up python-setuptools (39.0.1-2) ...
Setting up gcc-7 (7.4.0-1ubuntu1~18.04) ...
Setting up g++-7 (7.4.0-1ubuntu1~18.04) ...
Setting up gcc (4:7.4.0-1ubuntu2.2) ...
Setting up [Link] (3.0-1) ...
Setting up dpkg-dev (1.19.0.5ubuntu2.1) ...
Setting up python-all-dev (2.7.15~rc1-1) ...
Setting up python-cryptography (2.1.4-1ubuntu1.2) ...
Setting up g++ (4:7.4.0-1ubuntu2.2) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++
(c++) in auto mode
Setting up python-secretstorage (2.3.1-2) ...
Setting up python-keyring (10.6.0-1) ...
Setting up build-essential (12.4ubuntu1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
dinar@ubuntu-test:~$
(Success)
9. install virtualenv
dinar@ubuntu-test:~$ sudo pip install virtualenv virtualenvwrapper
The directory '/home/dinar/.cache/pip/http' or its parent
directory is not owned by the current user and the cache has been
disabled. Please check the permissions and owner of that
directory. If executing pip with sudo, you may want sudo's -H
flag.
The directory '/home/dinar/.cache/pip' or its parent directory is
not owned by the current user and caching wheels has been
disabled. check the permissions and owner of that directory. If
executing pip with sudo, you may want sudo's -H flag.
Collecting virtualenv
Downloading
[Link]
7f19fcb1764c26cc6a9a31af05778f7c2383eadb/virtualenv-16.5.0-
[Link] (2.0MB)
100% |████████████████████████████████| 2.0MB 394kB/s
Collecting virtualenvwrapper
Downloading
[Link]
90d3783a0034c26afa534a4a95ad5f1178d61191/virtualenvwrapper-
[Link] (334kB)
100% |████████████████████████████████| 337kB 2.5MB/s
Collecting stevedore (from virtualenvwrapper)
Downloading
[Link]
30b693e6060d62ec8c4a3ec9a287bac1c1a8d8c9/stevedore-1.30.1-py2.py3-
[Link] (42kB)
100% |████████████████████████████████| 51kB 10.1MB/s
Collecting virtualenv-clone (from virtualenvwrapper)
Downloading
[Link]
b9d9a31f37c988c99acd4e8dedd720b7b8d4011d/virtualenv_clone-0.5.3-
[Link]
Collecting pbr!=2.1.0,>=2.0.0 (from stevedore->virtualenvwrapper)
Downloading
[Link]
0c54359aeb5fa7ea60df46180143a3ea13d45f29/pbr-5.2.0-py2.py3-none-
[Link] (107kB)
100% |████████████████████████████████| 112kB 7.3MB/s
Requirement already satisfied: six>=1.10.0 in
/usr/lib/python2.7/dist-packages (from stevedore-
>virtualenvwrapper)
Installing collected packages: virtualenv, pbr, stevedore,
virtualenv-clone, virtualenvwrapper
Running [Link] install for virtualenvwrapper ... done
Successfully installed pbr-5.2.0 stevedore-1.30.1 virtualenv-
16.5.0 virtualenv-clone-0.5.3 virtualenvwrapper-4.8.4
dinar@ubuntu-test:~$
(success)
10. fix file permissions
in the result above, the system indicates a problem with the file/ directories
The directory '/home/dinar/.cache/pip/http' or its parent
directory is not owned by the current user and the cache has been
disabled. Please check the permissions and owner of that
directory. If executing pip with sudo, you may want sudo's -H
flag.
The directory '/home/dinar/.cache/pip' or its parent directory is
not owned by the current user and caching wheels has been
disabled. check the permissions and owner of that directory. If
executing pip with sudo, you may want sudo's -H flag.
It says that that dir doesn’t belong to me (user dinar) and need to be fixed
The command bellow is my solution
dinar@ubuntu-test:~$ chown -R dinar:dinar /home/dinar
dinar@ubuntu-test:~$
(success)
11. Setting up virtualenv and virtualenv wrapper
dinar@ubuntu-test:~$ echo "export WORKON_HOME=~/Env" >> ~/.bashrc
dinar@ubuntu-test:~$ echo "source /usr/local/bin/[Link]" >>
~/.bashrc
dinar@ubuntu-test:~$ source ~/.bashrc
virtualenvwrapper.user_scripts creating /home/dinar/Env/premkproject
virtualenvwrapper.user_scripts creating /home/dinar/Env/postmkproject
virtualenvwrapper.user_scripts creating /home/dinar/Env/initialize
virtualenvwrapper.user_scripts creating /home/dinar/Env/premkvirtualenv
virtualenvwrapper.user_scripts creating /home/dinar/Env/postmkvirtualenv
virtualenvwrapper.user_scripts creating /home/dinar/Env/prermvirtualenv
virtualenvwrapper.user_scripts creating /home/dinar/Env/postrmvirtualenv
virtualenvwrapper.user_scripts creating /home/dinar/Env/predeactivate
virtualenvwrapper.user_scripts creating /home/dinar/Env/postdeactivate
virtualenvwrapper.user_scripts creating /home/dinar/Env/preactivate
virtualenvwrapper.user_scripts creating /home/dinar/Env/postactivate
virtualenvwrapper.user_scripts creating /home/dinar/Env/get_env_details
dinar@ubuntu-test:~$
(success)
12. Install uwsgi
dinar@ubuntu-test:~$ sudo pip install uwsgi
[sudo] password for dinar:
The directory '/home/dinar/.cache/pip/http' or its parent directory is
not owned by the current user and the cache has been disabled. Please
check the permissions and owner of that directory. If executing pip with
sudo, you may want sudo's -H flag.
The directory '/home/dinar/.cache/pip' or its parent directory is not
owned by the current user and caching wheels has been disabled. check
the permissions and owner of that directory. If executing pip with sudo,
you may want sudo's -H flag.
Collecting uwsgi
Downloading
[Link]
29d5e342bb3055e2001b2e5340aaefae7a/[Link] (801kB)
100% |████████████████████████████████| 808kB 1.0MB/s
Installing collected packages: uwsgi
Running [Link] install for uwsgi ... done
Successfully installed uwsgi-2.0.18
dinar@ubuntu-test:~$
(success)
13. setup django workspace
dinar@ubuntu-test:~$ mkdir django
dinar@ubuntu-test:~$ cd /home/dinar/django && mkvirtualenv sample
New python executable in /home/dinar/Env/sample/bin/python
Installing setuptools, pip, wheel...
done.
virtualenvwrapper.user_scripts creating
/home/dinar/Env/sample/bin/predeactivate
virtualenvwrapper.user_scripts creating
/home/dinar/Env/sample/bin/postdeactivate
virtualenvwrapper.user_scripts creating
/home/dinar/Env/sample/bin/preactivate
virtualenvwrapper.user_scripts creating
/home/dinar/Env/sample/bin/postactivate
virtualenvwrapper.user_scripts creating
/home/dinar/Env/sample/bin/get_env_details
(sample) dinar@ubuntu-test:~/django$
(success)
14. install django
dinar@ubuntu-test:~$ pip install Django
Collecting Django
Downloading
[Link]
b25a399a18ef573077e3350acdf5da3743ff7da1/Django-1.11.20-py2.py3-
[Link] (6.9MB)
100% |████████████████████████████████| 7.0MB 130kB/s
Collecting pytz (from Django)
Downloading
[Link]
382b16fbb761409f532c56bdcc514bf7b6262bb6/pytz-2019.1-py2.py3-none-
[Link] (510kB)
100% |████████████████████████████████| 512kB 2.1MB/s
Installing collected packages: pytz, Django
Successfully installed Django-1.11.20 pytz-2019.1
dinar@ubuntu-test:~$
(success)
15. install django-python pkg
(sample) dinar@ubuntu-test:~/django$ sudo apt install python-django-
common
[sudo] password for dinar:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer
required:
grub-pc-bin
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
javascript-common libjs-jquery
The following NEW packages will be installed:
javascript-common libjs-jquery python-django-common
0 upgraded, 3 newly installed, 0 to remove and 48 not upgraded.
Need to get 1679 kB of archives.
After this operation, 17.2 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 [Link] bionic/main amd64
javascript-common all 11 [6066 B]
Get:2 [Link] bionic/main amd64 libjs-
jquery all 3.2.1-1 [152 kB]
Get:3 [Link] bionic-updates/main amd64
python-django-common all 1:1.11.11-1ubuntu1.3 [1521 kB]
Fetched 1679 kB in 0s (13.9 MB/s)
Selecting previously unselected package javascript-common.
(Reading database ... 68484 files and directories currently installed.)
Preparing to unpack .../javascript-common_11_all.deb ...
Unpacking javascript-common (11) ...
Selecting previously unselected package libjs-jquery.
Preparing to unpack .../libjs-jquery_3.2.1-1_all.deb ...
Unpacking libjs-jquery (3.2.1-1) ...
Selecting previously unselected package python-django-common.
Preparing to unpack .../python-django-common_1%3a1.11.11-
1ubuntu1.3_all.deb ...
Unpacking python-django-common (1:1.11.11-1ubuntu1.3) ...
Setting up libjs-jquery (3.2.1-1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Setting up javascript-common (11) ...
Setting up python-django-common (1:1.11.11-1ubuntu1.3) ...
(sample) dinar@ubuntu-test:~/django$
(success)
16.