(SSH Client, X-Server and Networking Tools) : Root 192.168.179.4
(SSH Client, X-Server and Networking Tools) : Root 192.168.179.4
4's password:
┌────────────────────────────────────────────────────────────────────┐
│ • MobaXterm 10.0 • │
│ (SSH client, X-server and networking tools) │
│ │
│ → SSH session to [email protected] │
│ • SSH compression : v │
│ • SSH-browser : v │
│ • X11-forwarding : x (disabled or not supported by server) │
│ • DISPLAY : 192.168.95.84:0.0 │
│ │
│ → For more info, ctrl+click on help or visit our website │
└────────────────────────────────────────────────────────────────────┘
Usage: unzip [-Z] [-opts[modifiers]] file[.zip] [list] [-x xlist] [-d exdir]
Default action is to extract files in list, except those in xlist, to exdir;
file[.zip] may be a wildcard. -Z => ZipInfo mode ("unzip -Z" for usage).
Mandatory arguments to long options are mandatory for short options too.
Startup:
-V, --version display the version of Wget and exit.
-h, --help print this help.
-b, --background go to background after startup.
-e, --execute=COMMAND execute a `.wgetrc'-style command.
Download:
-t, --tries=NUMBER set number of retries to NUMBER (0 unlimits).
--retry-connrefused retry even if connection is refused.
-O, --output-document=FILE write documents to FILE.
-nc, --no-clobber skip downloads that would download to
existing files (overwriting them).
-c, --continue resume getting a partially-downloaded file.
--progress=TYPE select progress gauge type.
-N, --timestamping don't re-retrieve files unless newer than
local.
--no-use-server-timestamps don't set the local file's timestamp by
the one on the server.
-S, --server-response print server response.
--spider don't download anything.
-T, --timeout=SECONDS set all timeout values to SECONDS.
--dns-timeout=SECS set the DNS lookup timeout to SECS.
--connect-timeout=SECS set the connect timeout to SECS.
--read-timeout=SECS set the read timeout to SECS.
-w, --wait=SECONDS wait SECONDS between retrievals.
--waitretry=SECONDS wait 1..SECONDS between retries of a retrieval.
--random-wait wait from 0.5*WAIT...1.5*WAIT secs between
retrievals.
--no-proxy explicitly turn off proxy.
-Q, --quota=NUMBER set retrieval quota to NUMBER.
--bind-address=ADDRESS bind to ADDRESS (hostname or IP) on local host.
--limit-rate=RATE limit download rate to RATE.
--no-dns-cache disable caching DNS lookups.
--restrict-file-names=OS restrict chars in file names to ones OS allows.
--ignore-case ignore case when matching files/directories.
-4, --inet4-only connect only to IPv4 addresses.
-6, --inet6-only connect only to IPv6 addresses.
--prefer-family=FAMILY connect first to addresses of specified family,
one of IPv6, IPv4, or none.
--user=USER set both ftp and http user to USER.
--password=PASS set both ftp and http password to PASS.
--ask-password prompt for passwords.
--no-iri turn off IRI support.
--local-encoding=ENC use ENC as the local encoding for IRIs.
--remote-encoding=ENC use ENC as the default remote encoding.
--unlink remove file before clobber.
Directories:
-nd, --no-directories don't create directories.
-x, --force-directories force creation of directories.
-nH, --no-host-directories don't create host directories.
--protocol-directories use protocol name in directories.
-P, --directory-prefix=PREFIX save files to PREFIX/...
--cut-dirs=NUMBER ignore NUMBER remote directory components.
HTTP options:
--http-user=USER set http user to USER.
--http-password=PASS set http password to PASS.
--no-cache disallow server-cached data.
--default-page=NAME Change the default page name (normally
this is `index.html'.).
-E, --adjust-extension save HTML/CSS documents with proper extensions.
--ignore-length ignore `Content-Length' header field.
--header=STRING insert STRING among the headers.
--max-redirect maximum redirections allowed per page.
--proxy-user=USER set USER as proxy username.
--proxy-password=PASS set PASS as proxy password.
--referer=URL include `Referer: URL' header in HTTP request.
--save-headers save the HTTP headers to file.
-U, --user-agent=AGENT identify as AGENT instead of Wget/VERSION.
--no-http-keep-alive disable HTTP keep-alive (persistent connections).
--no-cookies don't use cookies.
--load-cookies=FILE load cookies from FILE before session.
--save-cookies=FILE save cookies to FILE after session.
--keep-session-cookies load and save session (non-permanent) cookies.
--post-data=STRING use the POST method; send STRING as the data.
--post-file=FILE use the POST method; send contents of FILE.
--content-disposition honor the Content-Disposition header when
choosing local file names (EXPERIMENTAL).
--content-on-error output the received content on server errors.
--auth-no-challenge send Basic HTTP authentication information
without first waiting for the server's
challenge.
FTP options:
--ftp-user=USER set ftp user to USER.
--ftp-password=PASS set ftp password to PASS.
--no-remove-listing don't remove `.listing' files.
--no-glob turn off FTP file name globbing.
--no-passive-ftp disable the "passive" transfer mode.
--preserve-permissions preserve remote file permissions.
--retr-symlinks when recursing, get linked-to files (not dir).
WARC options:
--warc-file=FILENAME save request/response data to a .warc.gz file.
--warc-header=STRING insert STRING into the warcinfo record.
--warc-max-size=NUMBER set maximum size of WARC files to NUMBER.
--warc-cdx write CDX index files.
--warc-dedup=FILENAME do not store records listed in this CDX file.
--no-warc-compression do not compress WARC files with GZIP.
--no-warc-digests do not calculate SHA1 digests.
--no-warc-keep-log do not store the log file in a WARC record.
--warc-tempdir=DIRECTORY location for temporary files created by the
WARC writer.
Recursive download:
-r, --recursive specify recursive download.
-l, --level=NUMBER maximum recursion depth (inf or 0 for infinite).
--delete-after delete files locally after downloading them.
-k, --convert-links make links in downloaded HTML or CSS point to
local files.
--backups=N before writing file X, rotate up to N backup files.
-K, --backup-converted before converting file X, back up as X.orig.
-m, --mirror shortcut for -N -r -l inf --no-remove-listing.
-p, --page-requisites get all images, etc. needed to display HTML page.
--strict-comments turn on strict (SGML) handling of HTML comments.
Recursive accept/reject:
-A, --accept=LIST comma-separated list of accepted extensions.
-R, --reject=LIST comma-separated list of rejected extensions.
--accept-regex=REGEX regex matching accepted URLs.
--reject-regex=REGEX regex matching rejected URLs.
--regex-type=TYPE regex type (posix|pcre).
-D, --domains=LIST comma-separated list of accepted domains.
--exclude-domains=LIST comma-separated list of rejected domains.
--follow-ftp follow FTP links from HTML documents.
--follow-tags=LIST comma-separated list of followed HTML tags.
--ignore-tags=LIST comma-separated list of ignored HTML tags.
-H, --span-hosts go to foreign hosts when recursive.
-L, --relative follow relative links only.
-I, --include-directories=LIST list of allowed directories.
--trust-server-names use the name specified by the redirection
url last component.
-X, --exclude-directories=LIST list of excluded directories.
-np, --no-parent don't ascend to the parent directory.
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
mysql-community-libs x86_64 8.0.27-1.el7 mysql80-community 4.7 M
replacing mariadb-libs.x86_64 1:5.5.56-2.el7
mysql-community-libs-compat x86_64 8.0.27-1.el7 mysql80-community 1.2 M
replacing mariadb-libs.x86_64 1:5.5.56-2.el7
Installing for dependencies:
mysql-community-client-plugins x86_64 8.0.27-1.el7 mysql80-community 5.7 M
mysql-community-common x86_64 8.0.27-1.el7 mysql80-community 627 k
Transaction Summary
================================================================================
Install 2 Packages (+2 Dependent packages)
Installed:
mysql-community-libs.x86_64 0:8.0.27-1.el7
mysql-community-libs-compat.x86_64 0:8.0.27-1.el7
Dependency Installed:
mysql-community-client-plugins.x86_64 0:8.0.27-1.el7
mysql-community-common.x86_64 0:8.0.27-1.el7
Replaced:
mariadb-libs.x86_64 1:5.5.56-2.el7
Complete!
[root@niska media]#
[root@niska media]#
[root@niska media]# yum install perl
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
: manager
This system is not registered with an entitlement server. You can use subscripti
on-manager to register.
Repository InstallMedia is listed more than once in the configuration
Nothing to do
[root@niska media]# yum install net-tools
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
: manager
This system is not registered with an entitlement server. You can use subscripti
on-manager to register.
Repository InstallMedia is listed more than once in the configuration
Nothing to do
[root@niska media]# mount -o loop rhel-server-7.4-x86_64-dvd.iso /mnt/disc
mount: /media/rhel-server-7.4-x86_64-dvd.iso is already mounted
[root@niska media]#
[root@niska media]# yum install perl
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-
manager to register.
Repository InstallMedia is listed more than once in the configuration
Nothing to do
[root@niska media]# yum clean all
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-
manager to register.
Repository InstallMedia is listed more than once in the configuration
Cleaning repos: InstallMedia mysql-connectors-community mysql-tools-community mysql80-
community
Cleaning up everything
Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data
from disabled or removed repos
[root@niska media]# yum repolist enabled
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-
manager to register.
Repository InstallMedia is listed more than once in the configuration
mysql-connectors-community
| 2.6 kB 00:00:00
mysql-tools-community
| 2.6 kB 00:00:00
mysql80-community
| 2.6 kB 00:00:00
(1/3): mysql-tools-community/x86_64/primary_db
| 92 kB 00:00:06
(2/3): mysql-connectors-community/x86_64/primary_db
| 87 kB 00:00:06
(3/3): mysql80-community/x86_64/primary_db
| 188 kB 00:00:06
repo id repo name
status
mysql-connectors-community/x86_64 MySQL Connectors
Community 221
mysql-tools-community/x86_64 MySQL Tools
Community 135
mysql80-community/x86_64 MySQL 8.0
Community Server 301
repolist: 657
[root@niska media]# yum update
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-
manager to register.
Repository InstallMedia is listed more than once in the configuration
No packages marked for update
[root@niska media]# yum install perl
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-
manager to register.
Repository InstallMedia is listed more than once in the configuration
Nothing to do
[root@niska media]# ls
mysql-commercial-backup-8.0.21-1.1.el7.x86_64.rpm mysql-commercial-server-
8.0.21-1.1.el7.x86_64.rpm
mysql-commercial-client-8.0.21-1.1.el7.x86_64.rpm mysql-commercial-test-
8.0.21-1.1.el7.x86_64.rpm
mysql-commercial-common-8.0.21-1.1.el7.x86_64.rpm mysql-router-commercial-
8.0.21-1.1.el7.x86_64.rpm
mysql-commercial-devel-8.0.21-1.1.el7.x86_64.rpm README.txt
mysql-commercial-embedded-compat-8.0.21-1.1.el7.x86_64.rpm rhel-server-7.4-x86_64-
dvd.iso
mysql-commercial-libs-8.0.21-1.1.el7.x86_64.rpm V999317-01.zip
mysql-commercial-libs-compat-8.0.21-1.1.el7.x86_64.rpm V999535-01.zip
[root@niska media]# cd /mnt/disc/
[root@niska disc]# ls
addons EULA GPL isolinux media.repo repodata RPM-
GPG-KEY-redhat-release
EFI extra_files.json images LiveOS Packages RPM-GPG-KEY-redhat-beta
TRANS.TBL
[root@niska disc]# cd
[root@niska ~]# history
1 ifconfig
2 dhclient enp0s3
3 dhclient enp0s8
4 ifconfig
5 service network restart
6 ifconfig
7 dhclient enp0s8
8 reboot now
9 cd /media
10 ls
11 unzip --help
12 cd /etc/yum.repos.d
13 ls
14 yum repolis
15 yum repolist
16 wget --help
17 cd /media
18 ls
19 unzip V999317-01.zip
20 ls
21 yum install mysql-community-{server,client,common,libs}-*
22 yum repolist all
23 subscription-manager repos --enable
24 rpm -Ivh mysql-commercial-devel-8.0.21-1.1.el7.x86_64.rpm
25 rpm -Uvh mysql-commercial-devel-8.0.21-1.1.el7.x86_64.rpm
26 rpm -Uvh mysql-commercial-libs-8.0.21-1.1.el7.x86_64.rpm
27 subscription-manager repos --enable /etc/yum.repos.d/redhat.repo
28 ls /etc/yum.repos.d/redhat.repo
29 subscription-manager repos --list
30 rpm -Uvh https://repo.mysql.com/mysql80-community-release-el7-3.noarch.rpm
31 mkdir -p /mnt/disc
32 mount /dev/sr0 /mnt/dsc
33 mount /dev/sr0 /mnt/disc
34 mkdir -p /mnt/disc
35*
36 mount /dev/sr0 /mnt/dsc
37 cd /mnt/disc
38 mount -o loop /media/rhel-server-7.4-x86_64-dvd.iso
39 cd /media
40 mount -o loop /media/rhel-server-7.4-x86_64-dvd.iso /mnt/disc
41 mount -o loop rhel-server-7.4-x86_64-dvd.iso /mnt/disc
42 cp /mnt/disc/media.repo /etc/yum.repos.d/rhel17dvd.repo
43 chmod 644 /etc/yum.repos.d/rhel17dvd.repo
44 vi /etc/yum.repos.d/rhel7dvd.repo
45 mount -o loop rhel-server-7.4-x86_64-dvd.iso /mnt/disc
46 vi /etc/yum/repos.d/rhel7dvd.repo
47 vi /etc/yum.repos.d/rhel7dvd.repo
48 yum clean all
49 vi /etc/yum.repos.d/rhel7dvd.repo
50 yum clean all
51 yum repolist enabled
52 yum update
53*
54 yum install net-tools
55 mount -o loop rhel-server-7.4-x86_64-dvd.iso /mnt/disc
56 yum install perl
57 yum clean all
58 yum repolist enabled
59 yum update
60 yum install perl
61 ls
62 cd /mnt/disc/
63 ls
64 cd
65 history
[root@niska ~]#
[root@niska ~]#
[root@niska ~]# yum install perl
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-
manager to register.
Repository InstallMedia is listed more than once in the configuration
Nothing to do
[root@niska ~]# vi /etc/yum.repos.d/rhel7dvd.repo
[root@niska ~]#
[root@niska ~]#
[root@niska ~]# subscription-manager repos --enable
Usage: subscription-manager repos [OPTIONS]