Задача: обновить в СКСД ПО VMware, актуальное на апрель 2019

Список файлов обновлений:

  • VMware-vRealize-Log-Insight-4.8.0-13036238.pak
  • VMware-vRealize-Log-Insight-4.8.0-13036238_OVF10.ova
  • VMware-Log-Insight-Importer-4.8.0-13020979.msi
  • VMware-Log-Insight-Agent-4.8.0-13020979.msi 
  • APUAT-7.5.0.13176775.pak
  • vRealize_Operations_Manager-VA-OS-7.5.0.13165947.pak
  • vRealize_Operations_Manager-VA-7.5.0.13165947.pak
  • vRealize-Operations-Manager-Appliance-7.5.0.13165949_OVF10.ova
  • vRealize-Application-Remote-Collector-7.5.0.13122748.ova 
  • vRealize-Endpoint-Operations-Management-Agent-x86-64-win-7.5.0-13055136.exe
  • VMware-viclient-all-5.5.0-6357090.exe
  • VMware-VMvisor-Installer-201512001-3248547.x86_64.iso
  • ESXi550-201512001.zip
  • VMware-viclient-all-5.5.0-3237766.exe
  • VMware-ESXi-5.5U3-RollupISO1.iso

Текущее состояние: vCenter - 5.5.xxx, vSphere Hypervisor - 5.5.xxx, vROPS - 7.0, vRLI - 4.3

Целевое состояние: vCenter - 5.5.0.9911217, vSphere Hypervisor - 5.5.3248547, vROPS 7.5, vRLI - 4.8

Порядок обновления: vROPS, vRLI, vCenter, vSphere Hypervisor.

1 1 1 1 1 1 1 1 1 1 Rating 0.00 (0 Votes)

Источник: Начальная настройка сервера Ubuntu 18.04

root@iabzalov:~# adduser aiv
Adding user `aiv' ...
Adding new group `aiv' (1002) ...
Adding new user `aiv' (1002) with group `aiv' ...
Creating home directory `/home/aiv' ...
Copying files from `/etc/skel' ...
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Changing the user information for aiv
Enter the new value, or press ENTER for the default
Full Name []: Igor
Room Number []: 65
Work Phone []: +7 3852 388735
Home Phone []: +7 963 502 1357
Other []:
Is the information correct? [Y/n] y
root@iabzalov:~# adduser sdv
Adding user `sdv' ...
Adding new group `sdv' (1003) ...
Adding new user `sdv' (1003) with group `sdv' ...
Creating home directory `/home/sdv' ...
Copying files from `/etc/skel' ...
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Changing the user information for sdv
Enter the new value, or press ENTER for the default
Full Name []: Denis Saigashev
Room Number []:
Work Phone []:
Home Phone []: +7 902 998 4093
Other []:
Is the information correct? [Y/n] y
root@iabzalov:~# usermod -aG sudo aiv
root@iabzalov:~# usermod -aG sudo sdv
root@iabzalov:~# ufw app list
Available applications:
Apache
Apache Full
Apache Secure
Bind9
Dovecot IMAP
Dovecot POP3
Dovecot Secure IMAP
Dovecot Secure POP3
OpenSSH
root@iabzalov:~# ufw status
Status: inactive
root@iabzalov:~# ufw allow OpenSSH
Rules updated
Rules updated (v6)
root@iabzalov:~# ufw enable
Command may disrupt existing ssh connections. Proceed with operation (y|n)? y
Firewall is active and enabled on system startup
root@iabzalov:~# ufw status
Status: active

To Action From
-- ------ ----
OpenSSH ALLOW Anywhere
OpenSSH (v6) ALLOW Anywhere (v6)

aiv@iabzalov:~$ sudo ufw allow http
aiv@iabzalov:~$ sudo ufw allow https
aiv@iabzalov:~$ sudo ufw allow from 5.166.76.6/24 to any port 8083

aiv@iabzalov:~$ sudo ufw status
Status: active

To Action From
-- ------ ----
OpenSSH ALLOW Anywhere
80/tcp ALLOW Anywhere
443/tcp ALLOW Anywhere
8083 ALLOW 5.166.76.0/24
OpenSSH (v6) ALLOW Anywhere (v6)
80/tcp (v6) ALLOW Anywhere (v6)
443/tcp (v6) ALLOW Anywhere (v6)

aiv@iabzalov:~$ sudo systemctl status apache2
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
└─apache2-systemd.conf
Active: active (running) since Wed 2019-04-17 03:32:17 +07; 1h 19min ago
Main PID: 1026 (apache2)
Tasks: 9 (limit: 919)
CGroup: /system.slice/apache2.service
├─ 1026 /usr/sbin/apache2 -k start
├─ 1030 /usr/sbin/apache2 -k start
├─ 1044 /usr/sbin/apache2 -k start
├─ 1045 /usr/sbin/apache2 -k start
├─ 1049 /usr/sbin/apache2 -k start
├─ 1050 /usr/sbin/apache2 -k start
├─ 1055 /usr/sbin/apache2 -k start
├─ 1538 /usr/sbin/apache2 -k start
└─22982 /usr/sbin/apache2 -k start

Apr 17 03:32:15 iabzalov.site systemd[1]: Starting The Apache HTTP Server...
Apr 17 03:32:16 iabzalov.site apachectl[858]: AH00558: apache2: Could not reliably determine the server's fully qualifie
Apr 17 03:32:17 iabzalov.site systemd[1]: Started The Apache HTTP Server.

aiv@iabzalov:~$ sudo find / -name apache2-systemd.conf
/lib/systemd/system/apache2.service.d/apache2-systemd.conf

1 1 1 1 1 1 1 1 1 1 Rating 0.00 (0 Votes)

Для изучения возможностей современных open source программных продуктов арендовал у моего хостинг-провайдера BeGet.com виртуальный сервер под ОС Ubuntu Server. Будет доступен по адресу http://iabzalov.site - для этого купил на год второй домен, зарегистрировал в DNS через Beget. Хочу попробовать возможности Zabbix и подобные проекты. Ход работ буду отражать в этой заметке.

Начинается всё просто - арендовал сервер в режиме VPS (о том, что это такое пишет мой провайдер - VPS) по минимальному тарифу (330 руб/месяц). Аренда домена iabzalov.site также не дорогая. Регистрация домена занимает не более 5 минут. Домен SITE выбран исходя из минимальной цены, для желающих есть другие DNS-домены верхнего уровня (описаны Регистрация домена).

Что такое ОС Ubunt Server описано на сайтах ubuntu.com  и ubuntu.ru. Начал изучение с этой ОС потому, что её по какой-то причине выбрал сам провайдер beget.com для установки на свои железные серверы. Причины выясняю :) 

Вначале необходимо в DNS сообщить миру, что iabzalov.site = IP-адресу моего нового сервера. Делается просто, в консоли управления cp.beget.com - необходимо поправить A-запись, соответствующую домену.

Сервер пишет про себя так

Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-47-generic x86_64)

* Documentation: https://help.ubuntu.com 
* Management: https://landscape.canonical.com 
* Support: https://ubuntu.com/advantage 

System information as of Fri Apr 12 11:52:24 UTC 2019

System load: 0.0 Processes: 86
Usage of /: 12.1% of 14.37GB Users logged in: 0
Memory usage: 24% IP address for eth0: 45.67.56.142
Swap usage: 0% IP address for docker0: 172.17.0.1

* Ubuntu's Kubernetes 1.14 distributions can bypass Docker and use containerd
directly, see https://bit.ly/ubuntu-containerd or try it now with

snap install microk8s --classic

Get cloud support with Ubuntu Advantage Cloud Guest:
http://www.ubuntu.com/business/services/cloud

* Canonical Livepatch is available for installation.
- Reduce system reboots and improve kernel security. Activate at:
https://ubuntu.com/livepatch

9 packages can be updated.
0 updates are security updates.

root@iabzalov:~# ifconfig
docker0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
ether 02:42:ea:a0:9b:66 txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 45.67.56.142 netmask 255.255.255.0 broadcast 45.67.56.255
inet6 fe80::298:33ff:fef5:eab2 prefixlen 64 scopeid 0x20<link>
ether 00:98:33:f5:ea:b2 txqueuelen 1000 (Ethernet)
RX packets 13293026 bytes 1302770567 (1.3 GB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 46453 bytes 4280005 (4.2 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 34 bytes 7818 (7.8 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 34 bytes 7818 (7.8 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

У сервера сейчас 3 сетевых интерфейса - lo,eth0,docker0. В Интернет сервер доступен через интерфейс eth0.

root@iabzalov:~# nslookup iabzalov.site
Server: 8.8.8.8
Address: 8.8.8.8#53

Non-authoritative answer:
Name: iabzalov.site
Address: 45.67.56.142

В DNS Интернета сайту iabzalov.site сейчас соответствует IP-адрес сервера по интерфейсу eth0.

root@iabzalov:~# whois 8.8.8.8

#
# ARIN WHOIS data and services are subject to the Terms of Use
# available at: https://www.arin.net/resources/registry/whois/tou/
#
# If you see inaccuracies in the results, please report at
# https://www.arin.net/resources/registry/whois/inaccuracy_reporting/
#
# Copyright 1997-2019, American Registry for Internet Numbers, Ltd.
#

# start

NetRange: 8.0.0.0 - 8.127.255.255
CIDR: 8.0.0.0/9
NetName: LVLT-ORG-8-8
NetHandle: NET-8-0-0-0-1
Parent: NET8 (NET-8-0-0-0-0)
NetType: Direct Allocation
OriginAS:
Organization: Level 3 Parent, LLC (LPL-141)
RegDate: 1992-12-01
Updated: 2018-04-23
Ref: https://rdap.arin.net/registry/ip/8.0.0.0

OrgName: Level 3 Parent, LLC
OrgId: LPL-141
Address: 100 CenturyLink Drive
City: Monroe
StateProv: LA
PostalCode: 71203
Country: US
RegDate: 2018-02-06
Updated: 2018-02-22
Ref: https://rdap.arin.net/registry/entity/LPL-141


OrgAbuseHandle: IPADD5-ARIN
OrgAbuseName: ipaddressing
OrgAbusePhone: +1-877-453-8353
OrgAbuseEmail: Адрес электронной почты защищен от спам-ботов. Для просмотра адреса в вашем браузере должен быть включен Javascript.
OrgAbuseRef: https://rdap.arin.net/registry/entity/IPADD5-ARIN

OrgTechHandle: IPADD5-ARIN
OrgTechName: ipaddressing
OrgTechPhone: +1-877-453-8353
OrgTechEmail: Адрес электронной почты защищен от спам-ботов. Для просмотра адреса в вашем браузере должен быть включен Javascript.
OrgTechRef: https://rdap.arin.net/registry/entity/IPADD5-ARIN

# end


# start

NetRange: 8.8.8.0 - 8.8.8.255
CIDR: 8.8.8.0/24
NetName: LVLT-GOGL-8-8-8
NetHandle: NET-8-8-8-0-1
Parent: LVLT-ORG-8-8 (NET-8-0-0-0-1)
NetType: Reallocated
OriginAS:
Organization: Google LLC (GOGL)

DNS-сервер 8.8.8.8 - принадлежит компании Google.

root@iabzalov:~# whois iabzalov.site
Domain Name: IABZALOV.SITE
Registry Domain ID: D99646369-CNIC
Registrar WHOIS Server: https://beget.com/en/domain-register
Registrar URL: https://beget.com
Updated Date: 2019-04-11T22:25:37.0Z
Creation Date: 2019-04-11T22:25:36.0Z
Registry Expiry Date: 2020-04-11T23:59:59.0Z
Registrar: Beget LLC
Registrar IANA ID: 3806
Domain Status: serverTransferProhibited https://icann.org/epp#serverTransferProhibited
Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited
Domain Status: addPeriod https://icann.org/epp#addPeriod
Registrant Organization: Not Applicable
Registrant State/Province: Altajskij kraj
Registrant Country: RU
Registrant Email: Please query the RDDS service of the Registrar of Record identified in this output for information on how to contact the Registrant, Admin, or Tech contact of the queried domain name.
Admin Email: Please query the RDDS service of the Registrar of Record identified in this output for information on how to contact the Registrant, Admin, or Tech contact of the queried domain name.
Tech Email: Please query the RDDS service of the Registrar of Record identified in this output for information on how to contact the Registrant, Admin, or Tech contact of the queried domain name.
Name Server: NS2.BEGET.PRO
Name Server: NS2.BEGET.COM
Name Server: NS1.BEGET.PRO
Name Server: NS1.BEGET.COM
DNSSEC: unsigned
Billing Email: Please query the RDDS service of the Registrar of Record identified in this output for information on how to contact the Registrant, Admin, or Tech contact of the queried domain name.
Registrar Abuse Contact Email: Адрес электронной почты защищен от спам-ботов. Для просмотра адреса в вашем браузере должен быть включен Javascript.
Registrar Abuse Contact Phone: +7.8124494053
URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/
>>> Last update of WHOIS database: 2019-04-12T15:01:42.0Z <<<

For more information on Whois status codes, please visit https://icann.org/epp

>>> IMPORTANT INFORMATION ABOUT THE DEPLOYMENT OF RDAP: please visit
https://www.centralnic.com/support/rdap <<<

The Whois and RDAP services are provided by CentralNic, and contain
information pertaining to Internet domain names registered by our
our customers. By using this service you are agreeing (1) not to use any
information presented here for any purpose other than determining
ownership of domain names, (2) not to store or reproduce this data in
any way, (3) not to use any high-volume, automated, electronic processes
to obtain data from this service. Abuse of this service is monitored and
actions in contravention of these terms will result in being permanently
blacklisted. All data is (c) CentralNic Ltd (https://www.centralnic.com)

Access to the Whois and RDAP services is rate limited. For more
information, visit https://registrar-console.centralnic.com/pub/whois_guidance.

root@iabzalov:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
udev 457968 0 457968 0% /dev
tmpfs 94176 688 93488 1% /run
/dev/vda1 15064500 1824192 13223924 13% /
tmpfs 470876 0 470876 0% /dev/shm
tmpfs 5120 0 5120 0% /run/lock
tmpfs 470876 0 470876 0% /sys/fs/cgroup
/dev/vda15 106858 3668 103190 4% /boot/efi
tmpfs 94172 0 94172 0% /run/user/0

Проверка открытых портов на сервере - утилита NMAP

Starting Nmap 7.70 ( https://nmap.org ) at 2019-04-12 22:15 RTZ 6 (ceia) 
NSE: Loaded 148 scripts for scanning.
NSE: Script Pre-scanning.
Initiating NSE at 22:15
Completed NSE at 22:15, 0.00s elapsed
Initiating NSE at 22:15
Completed NSE at 22:15, 0.00s elapsed
Initiating Ping Scan at 22:15
Scanning iabzalov.site (45.67.56.142) [4 ports]
Completed Ping Scan at 22:15, 0.30s elapsed (1 total hosts)
Initiating Parallel DNS resolution of 1 host. at 22:15
Completed Parallel DNS resolution of 1 host. at 22:15, 1.09s elapsed
Initiating SYN Stealth Scan at 22:15
Scanning iabzalov.site (45.67.56.142) [1000 ports]
Discovered open port 22/tcp on 45.67.56.142
Completed SYN Stealth Scan at 22:15, 2.05s elapsed (1000 total ports)
Initiating Service scan at 22:15
Scanning 1 service on iabzalov.site (45.67.56.142)
Completed Service scan at 22:15, 0.12s elapsed (1 service on 1 host)
Initiating OS detection (try #1) against iabzalov.site (45.67.56.142)
Retrying OS detection (try #2) against iabzalov.site (45.67.56.142)
Initiating Traceroute at 22:15
Completed Traceroute at 22:15, 3.02s elapsed
Initiating Parallel DNS resolution of 5 hosts. at 22:15
Completed Parallel DNS resolution of 5 hosts. at 22:15, 1.08s elapsed
NSE: Script scanning 45.67.56.142.
Initiating NSE at 22:15
Completed NSE at 22:15, 1.62s elapsed
Initiating NSE at 22:15
Completed NSE at 22:15, 0.00s elapsed
Nmap scan report for iabzalov.site (45.67.56.142)
Host is up (0.052s latency).
Not shown: 995 closed ports
PORT STATE SERVICE VERSION
22/tcp open ssh OpenSSH 7.6p1 Ubuntu 4ubuntu0.3 (Ubuntu Linux; protocol 2.0)
| ssh-hostkey:
| 2048 8f:fa:88:bc:83:14:62:3f:58:fe:47:3a:dd:2b:2e:90 (RSA)
| 256 87:07:4c:9a:c6:be:12:bb:fc:f3:5e:c2:77:7d:5c:ab (ECDSA)
|_ 256 cd:d2:fc:2e:cc:51:af:fd:d2:e9:00:a7:8e:a6:53:12 (ED25519)
111/tcp filtered rpcbind
135/tcp filtered msrpc
139/tcp filtered netbios-ssn
445/tcp filtered microsoft-ds
Aggressive OS guesses: Linux 4.4 (95%), Linux 4.9 (94%), Linux 3.10 - 3.12 (94%), Linux 4.0 (92%), Linux 2.6.32 (92%), Linux 3.10 (92%), Linux 3.10 - 3.16 (92%), Linux 3.11 - 4.1 (91%), Linux 2.6.32 or 3.10 (91%), Linux 3.4 (91%)
No exact OS matches for host (test conditions non-ideal).
Uptime guess: 0.030 days (since Fri Apr 12 21:32:00 2019)
Network Distance: 6 hops
TCP Sequence Prediction: Difficulty=259 (Good luck!)
IP ID Sequence Generation: All zeros
Service Info: OS: Linux; CPE: cpe:/o:linux:linux_kernel

TRACEROUTE (using port 25/tcp)
HOP RTT ADDRESS
1 3.00 ms 192.168.0.1 (192.168.0.1)
2 ...
3 4.00 ms lag-3-437.bgw01.barnaul.ertelecom.ru (109.195.40.26)
4 45.00 ms ertelecom.w-ix.net (193.106.112.151)
5 53.00 ms beget.w-ix.net (193.106.112.76)
6 52.00 ms 45.67.56.142

NSE: Script Post-scanning.
Initiating NSE at 22:15
Completed NSE at 22:15, 0.00s elapsed
Initiating NSE at 22:15
Completed NSE at 22:15, 0.00s elapsed
Read data files from: C:\Program Files (x86)\Nmap
OS and Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 17.14 seconds
Raw packets sent: 1083 (49.528KB) | Rcvd: 1106 (48.245KB)

Автоматическое подключение к серверу по SSH

1. Утилитой PuTTYgen сгенерируем публичный и приватный ключ
c:\ssh\iabzalov.site.ppk - приватный ключ,
c:\ssh\iabzalov.site - публичный ключ.

2. По окончании процесса генерации, утилита предоставит Вам сгенерированный приватный и публичный ключ. 

Публичный, нужно занести в файл authorized_keys, который находится в папке .ssh в корне Вашего аккаунта на сервере, а приватный ключ сохраняем себе на компьютер. Для этого нажимаем на кнопку Save private key.

Подключение к графическому интерфейсу сервера

Настройка xdrp

Действия на сервере:

apt-get -y update
apt-get -y install xrdp
apt-get -y install xfce4
echo xfce4-session >~/.xsession
nano /etc/xrdp/startwm.sh

#!/bin/sh
if [ -r /etc/default/locale ]; then
. /etc/default/locale
export LANG LANGUAGE
fi
startxfce4

Создание пользователя для входа на сервер
useradd -m имя_пользователя
passwd
имя_пользователя

Установка Zabbix

Проверка открытых портов

PORT STATE SERVICE VERSION 
22/tcp open ssh OpenSSH 7.6p1 Ubuntu 4ubuntu0.3 (Ubuntu Linux; protocol 2.0)
| ssh-hostkey:
| 2048 8f:fa:88:bc:83:14:62:3f:58:fe:47:3a:dd:2b:2e:90 (RSA)
| 256 87:07:4c:9a:c6:be:12:bb:fc:f3:5e:c2:77:7d:5c:ab (ECDSA)
|_ 256 cd:d2:fc:2e:cc:51:af:fd:d2:e9:00:a7:8e:a6:53:12 (ED25519)
80/tcp open http Apache httpd 2.4.29 ((Ubuntu))
| http-methods:
|_ Supported Methods: HEAD GET POST OPTIONS
|_http-server-header: Apache/2.4.29 (Ubuntu)
|_http-title: Apache2 Ubuntu Default Page: It works
111/tcp filtered rpcbind
135/tcp filtered msrpc
139/tcp filtered netbios-ssn
445/tcp filtered microsoft-ds
3389/tcp open ms-wbt-server xrdp

Задача: обновление сервера с ОС Ubuntu Server в сети без доступа к Интернет.

 Основные команды Ubuntu Server

APT-GET(8) APT APT-GET(8)

NAME
apt-get - APT package handling utility -- command-line interface

SYNOPSIS
apt-get [-asqdyfmubV] [-o=config_string] [-c=config_file] [-t=target_release] [-a=architecture] {update | upgrade |
dselect-upgrade | dist-upgrade | install pkg [{=pkg_version_number | /target_release}]... | remove pkg... |
purge pkg... | source pkg [{=pkg_version_number | /target_release}]... |
build-dep pkg [{=pkg_version_number | /target_release}]... |
download pkg [{=pkg_version_number | /target_release}]... | check | clean | autoclean | autoremove |
{-v | --version} | {-h | --help}}

DESCRIPTION
apt-get is the command-line tool for handling packages, and may be considered the user's "back-end" to other tools using
the APT library. Several "front-end" interfaces exist, such as aptitude(8), synaptic(8) and wajig(1).

Unless the -h, or --help option is given, one of the commands below must be present.

update
update is used to resynchronize the package index files from their sources. The indexes of available packages are
fetched from the location(s) specified in /etc/apt/sources.list. For example, when using a Debian archive, this
command retrieves and scans the Packages.gz files, so that information about new and updated packages is available.
An update should always be performed before an upgrade or dist-upgrade. Please be aware that the overall progress
meter will be incorrect as the size of the package files cannot be known in advance.

root@iabzalov:~# apt-get -y update
Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:5 http://repo.zabbix.com/zabbix/4.2/ubuntu bionic InRelease
Reading package lists... Done

 

root@iabzalov:~# apt-get -y install xrdp
Reading package lists... Done
Building dependency tree
Reading state information... Done
xrdp is already the newest version (0.9.5-2).
The following package was automatically installed and is no longer required:
grub-pc-bin
Use 'apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.


 root@iabzalov:~# apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
grub-pc-bin
0 upgraded, 0 newly installed, 1 to remove and 10 not upgraded.
After this operation, 2,987 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 114537 files and directories currently installed.)
Removing grub-pc-bin (2.02-2ubuntu8.12) ...

root@iabzalov:~# apt-get -y install xfce4
Reading package lists... Done
Building dependency tree
Reading state information... Done
xfce4 is already the newest version (4.12.4).
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.

root@iabzalov:~# find / -name startxfce4
/usr/bin/startxfce4


root@iabzalov:~# apt-get remove xrdp
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
xrdp
0 upgraded, 0 newly installed, 1 to remove and 10 not upgraded.
After this operation, 2,851 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 114239 files and directories currently installed.)
Removing xrdp (0.9.5-2) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...

root@iabzalov:~# apt-get remove xfce4
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
exo-utils gconf-service gconf-service-backend gconf2 gconf2-common greybird-gtk-theme gtk2-engines-murrine gtk2-engines-xfce
libart-2.0-2 libavahi-glib1 libbonobo2-0 libbonobo2-common libbonoboui2-0 libbonoboui2-common libegl1-mesa libevdev2 libexif12
libexo-1-0 libexo-2-0 libexo-common libexo-helpers libgarcon-1-0 libgarcon-common libgconf-2-4 libglade2-0 libglu1-mesa
libgnome-2-0 libgnome-keyring-common libgnome-keyring0 libgnome2-common libgnomecanvas2-0 libgnomecanvas2-common libgnomeui-0
libgnomeui-common libgnomevfs2-0 libgnomevfs2-common libical3 libimobiledevice6 libinput-bin libinput10 libjpeg-turbo-progs
libkeybinder-3.0-0 libmtdev1 liborbit-2-0 libplist3 libpoppler-glib8 libpoppler73 libthunarx-2-0 libtumbler-1-0 libupower-glib3
libusbmuxd4 libwacom-bin libwacom-common libwacom2 libwnck-3-0 libwnck-3-common libwnck-common libwnck22 libxatracker2
libxfce4ui-utils libxfont2 libxkbfile1 libxklavier16 libxres1 libxss1 libxvmc1 orage poppler-data tango-icon-theme thunar
thunar-data thunar-volman tumbler tumbler-common upower usbmuxd x11-apps x11-session-utils x11-xkb-utils x11-xserver-utils
xfce4-appfinder xfce4-panel xfce4-pulseaudio-plugin xfce4-session xfce4-settings xfdesktop4 xfdesktop4-data xfonts-base
xfonts-encodings xfonts-scalable xfonts-utils xfwm4 xinit xinput xorg xorg-docs-core xorgxrdp xscreensaver xscreensaver-data
xserver-common xserver-xorg xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-libinput xserver-xorg-input-wacom
xserver-xorg-legacy xserver-xorg-video-all xserver-xorg-video-amdgpu xserver-xorg-video-ati xserver-xorg-video-fbdev
xserver-xorg-video-intel xserver-xorg-video-nouveau xserver-xorg-video-qxl xserver-xorg-video-radeon xserver-xorg-video-vesa
xserver-xorg-video-vmware xubuntu-icon-theme
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
xfce4
0 upgraded, 0 newly installed, 1 to remove and 10 not upgraded.
After this operation, 16.4 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 114165 files and directories currently installed.)
Removing xfce4 (4.12.4) ...

Использование Microsoft Windows 10 Pro позволяет установить приложение Ubuntu 18.04 LTS и использовать десктоп в качестве клиента Ubuntu server. Для установки приложения необходимо предварительно в "Панель управления \ Программы \ Включение или отключение компонентов Windows" включить компоненту "Подсистема Windows для Liniux":

 

 

abzalov@home2018:~$ mkdir ~/.ssh
mkdir: cannot create directory ‘/home/abzalov/.ssh’: File exists
abzalov@home2018:~$ ssh-keygen -t rsa -q -N '' -f ~/.ssh/id_rsa
abzalov@home2018:~$ ssh-copy-id -i ~/.ssh/id_rsa.pub Адрес электронной почты защищен от спам-ботов. Для просмотра адреса в вашем браузере должен быть включен Javascript.
/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/home/abzalov/.ssh/id_rsa.pub"
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
Адрес электронной почты защищен от спам-ботов. Для просмотра адреса в вашем браузере должен быть включен Javascript.'s password:

Number of key(s) added: 1

Now try logging into the machine, with: "ssh Адрес электронной почты защищен от спам-ботов. Для просмотра адреса в вашем браузере должен быть включен Javascript.'"
and check to make sure that only the key(s) you wanted were added.

abzalov@home2018:~$ ssh Адрес электронной почты защищен от спам-ботов. Для просмотра адреса в вашем браузере должен быть включен Javascript.'
Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-47-generic x86_64)

* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage

System information as of Sun Apr 14 20:44:52 UTC 2019

System load: 0.04 Processes: 119
Usage of /: 26.9% of 14.37GB Users logged in: 0
Memory usage: 44% IP address for eth0: 45.67.56.142
Swap usage: 1%

* Ubuntu's Kubernetes 1.14 distributions can bypass Docker and use containerd
directly, see https://bit.ly/ubuntu-containerd or try it now with

snap install microk8s --classic

Get cloud support with Ubuntu Advantage Cloud Guest:
http://www.ubuntu.com/business/services/cloud

* Canonical Livepatch is available for installation.
- Reduce system reboots and improve kernel security. Activate at:
https://ubuntu.com/livepatch

0 packages can be updated.
0 updates are security updates.


Last login: Sun Apr 14 20:12:59 2019 from 5.166.76.6
root@iabzalov:~# uname -a
Linux iabzalov.site 4.15.0-47-generic #50-Ubuntu SMP Wed Mar 13 10:44:52 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

1 1 1 1 1 1 1 1 1 1 Rating 0.00 (0 Votes)

Задача: обновить планшет до последней официальной версии Android, при которой планшет работает с приемлемой скоростью.

Порядок обновления

Журнал обновления

Скачать 6.0.1 (MOB30X) 54635e458810390fd33145fb2f162816530274510d8444aa6502c724c8e4972a

Q: Как зайти в bootloader оно же режим fastboot?
A: Зажать кнопку громкость -, затем нажать кнопку включения.

Перейти в Recovery Mode

Q: Как зайти в режим APX?
A: Зажать кнопку громкость +, затем нажать кнопку включения.

Выбрать Apply update from ADB

C:\android\platform-tools_r28.0.2-windows\platform-tools>adb devices
List of devices attached
015d2a503e63fa18 sideload

C:\android\platform-tools_r28.0.2-windows\platform-tools>adb sideload C:\Users\1\Downloads\razor-ota-mob30x-54635e45.zip
adb: sideload connection failed: closed
adb: trying pre-KitKat sideload method...
sending: 'C:\Users\1\Downloads\razor-ota-mob30x-54635e45.zip' 100%

После сброса планшета удалось обновить версию Android до 4.4.2! До этого планшет писал о невозможности обновления из-за недостатка места на диске.

4.4.3 накатилась без проблем. 
4.4.4 последняя версия из 4.x

5.0.2 - обновление посерьезнее, поменяли major-номер версии! Показалось, что планшет стал тормозить на этой версии.
5.1 - 101,9 МБ
5.1.1 - 10 МБ

Как откатить до версии 4.4.4? Старый путь не работает. Выдаётся ошибка при загрузке образа

 

C:\android\platform-tools_r28.0.2-windows\platform-tools>fastboot oem lock

1 1 1 1 1 1 1 1 1 1 Rating 0.00 (0 Votes)