Install Microsoft SQL Server 2019 Express on Centos 8 [root@thermalite ~]# sudo curl https://packages.microsoft.com/config/rhel/8/mssql-server-2019.repo -o /etc/yum.repos.d/mssql-server-2019.repo % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 231 100 231 0 0 639 0 --:--:-- --:--:-- --:--:-- 638 [root@thermalite ~]# sudo curl https://packages.microsoft.com/config/rhel/8/prod.repo -o /etc/yum.repos.d/msprod.repo % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 192 100 192 0 0 611 0 --:--:-- --:--:-- --:--:-- 609 [root@thermalite ~]# sudo dnf -y install mssql-server Repository packages-microsoft-com-prod is listed more than once in the configuration Repository packages-microsoft-com-prod is listed more than once in the configuration packages-microsoft-com-mssql-server-2019 3.0 MB/s | 4.0 MB 00:01 Last metadata expiration check: 0:00:02 ago on Sat 12 Jun 2021 12:28:51 PM EDT. Dependencies resolved. ================================================================================================================================================================================================================= Package Architecture Version Repository Size ================================================================================================================================================================================================================= Installing: mssql-server x86_64 15.0.4138.2-1 packages-microsoft-com-mssql-server-2019 232 M Installing dependencies: cyrus-sasl x86_64 2.1.27-5.el8 baseos 96 k Transaction Summary ================================================================================================================================================================================================================= Install 2 Packages Total download size: 232 M Installed size: 1.1 G Downloading Packages: (1/2): cyrus-sasl-2.1.27-5.el8.x86_64.rpm 160 kB/s | 96 kB 00:00 (2/2): mssql-server-15.0.4138.2-1.x86_64.rpm 9.0 MB/s | 232 MB 00:25 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 8.9 MB/s | 232 MB 00:25 warning: /var/cache/dnf/packages-microsoft-com-mssql-server-2019-e6d048b9178d6297/packages/mssql-server-15.0.4138.2-1.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID be1229cf: NOKEY packages-microsoft-com-mssql-server-2019 2.9 kB/s | 983 B 00:00 Importing GPG key 0xBE1229CF: Userid : "Microsoft (Release signing)" Fingerprint: BC52 8686 B50D 79E3 39D3 721C EB3E 94AD BE12 29CF From : https://packages.microsoft.com/keys/microsoft.asc Key imported successfully Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Running scriptlet: cyrus-sasl-2.1.27-5.el8.x86_64 1/2 Installing : cyrus-sasl-2.1.27-5.el8.x86_64 1/2 Running scriptlet: cyrus-sasl-2.1.27-5.el8.x86_64 1/2 Running scriptlet: mssql-server-15.0.4138.2-1.x86_64 2/2 Installing : mssql-server-15.0.4138.2-1.x86_64 2/2 Running scriptlet: mssql-server-15.0.4138.2-1.x86_64 2/2 +--------------------------------------------------------------+ Please run 'sudo /opt/mssql/bin/mssql-conf setup' to complete the setup of Microsoft SQL Server +--------------------------------------------------------------+ Verifying : cyrus-sasl-2.1.27-5.el8.x86_64 1/2 Verifying : mssql-server-15.0.4138.2-1.x86_64 2/2 Installed: cyrus-sasl-2.1.27-5.el8.x86_64 mssql-server-15.0.4138.2-1.x86_64 Complete! [root@thermalite ~]# [root@thermalite ~]# rpm -qi mssql-server Name : mssql-server Version : 15.0.4138.2 Release : 1 Architecture: x86_64 Install Date: Sat 12 Jun 2021 12:29:49 PM EDT Group : Unspecified Size : 1162993815 License : Commercial Signature : RSA/SHA256, Sat 29 May 2021 05:51:25 AM EDT, Key ID eb3e94adbe1229cf Source RPM : mssql-server-15.0.4138.2-1.src.rpm Build Date : Sat 29 May 2021 03:54:07 AM EDT Build Host : hls-rhel8-1-prod-build-rhel8-03 Relocations : (not relocatable) Summary : Microsoft SQL Server Relational Database Engine Description : The mssql-server package contains the Microsoft SQL Server Relational Database Engine. [root@thermalite ~]# /opt/mssql/bin/mssql-conf setup usermod: no changes Choose an edition of SQL Server: 1) Evaluation (free, no production use rights, 180-day limit) 2) Developer (free, no production use rights) 3) Express (free) 4) Web (PAID) 5) Standard (PAID) 6) Enterprise (PAID) - CPU Core utilization restricted to 20 physical/40 hyperthreaded 7) Enterprise Core (PAID) - CPU Core utilization up to Operating System Maximum 8) I bought a license through a retail sales channel and have a product key to enter. Details about editions can be found at https://go.microsoft.com/fwlink/?LinkId=2109348&clcid=0x409 Use of PAID editions of this software requires separate licensing through a Microsoft Volume Licensing program. By choosing a PAID edition, you are verifying that you have the appropriate number of licenses in place to install and run this software. Enter your edition(1-8): 3 The license terms for this product can be found in /usr/share/doc/mssql-server or downloaded from: https://go.microsoft.com/fwlink/?LinkId=2104294&clcid=0x409 The privacy statement can be viewed at: https://go.microsoft.com/fwlink/?LinkId=853010&clcid=0x409 Do you accept the license terms? [Yes/No]:yes Enter the SQL Server system administrator password: my_msql_server_pass The licensing PID was successfully processed. The new edition is [Express Edition]. ForceFlush is enabled for this instance. ForceFlush feature is enabled for log durability. Created symlink /etc/systemd/system/multi-user.target.wants/mssql-server.service → /usr/lib/systemd/system/mssql-server.service. Setup has completed successfully. SQL Server is now starting. [root@thermalite ~]# systemctl status mssql-server.service ● mssql-server.service - Microsoft SQL Server Database Engine Loaded: loaded (/usr/lib/systemd/system/mssql-server.service; enabled; vendor preset: disabled) Active: active (running) since Sat 2021-06-12 12:48:29 EDT; 1min 11s ago Docs: https://docs.microsoft.com/en-us/sql/linux Main PID: 1433420 (sqlservr) Tasks: 149 Memory: 661.0M CGroup: /system.slice/mssql-server.service ├─1433420 /opt/mssql/bin/sqlservr └─1433443 /opt/mssql/bin/sqlservr Jun 12 12:48:32 thermalite.localdomain sqlservr[1433420]: [145B blob data] Jun 12 12:48:33 thermalite.localdomain sqlservr[1433420]: [158B blob data] Jun 12 12:48:33 thermalite.localdomain sqlservr[1433420]: [155B blob data] Jun 12 12:48:33 thermalite.localdomain sqlservr[1433420]: [61B blob data] Jun 12 12:48:33 thermalite.localdomain sqlservr[1433420]: [96B blob data] Jun 12 12:48:33 thermalite.localdomain sqlservr[1433420]: [66B blob data] Jun 12 12:48:33 thermalite.localdomain sqlservr[1433420]: [96B blob data] Jun 12 12:48:33 thermalite.localdomain sqlservr[1433420]: [100B blob data] Jun 12 12:48:33 thermalite.localdomain sqlservr[1433420]: [71B blob data] Jun 12 12:48:33 thermalite.localdomain sqlservr[1433420]: [124B blob data] [root@thermalite ~]# The licensing PID was successfully processed. The new edition is [Express Edition]. ForceFlush is enabled for this instance. ForceFlush feature is enabled for log durability. Created symlink /etc/systemd/system/multi-user.target.wants/mssql-server.service → /usr/lib/systemd/system/mssql-server.service. Setup has completed successfully. SQL Server is now starting. [root@thermalite ~]# systemctl status mssql-server.service ● mssql-server.service - Microsoft SQL Server Database Engine Loaded: loaded (/usr/lib/systemd/system/mssql-server.service; enabled; vendor preset: disabled) Active: active (running) since Sat 2021-06-12 12:48:29 EDT; 1min 11s ago Docs: https://docs.microsoft.com/en-us/sql/linux Main PID: 1433420 (sqlservr) Tasks: 149 Memory: 661.0M CGroup: /system.slice/mssql-server.service ├─1433420 /opt/mssql/bin/sqlservr └─1433443 /opt/mssql/bin/sqlservr Jun 12 12:48:32 thermalite.localdomain sqlservr[1433420]: [145B blob data] Jun 12 12:48:33 thermalite.localdomain sqlservr[1433420]: [158B blob data] Jun 12 12:48:33 thermalite.localdomain sqlservr[1433420]: [155B blob data] Jun 12 12:48:33 thermalite.localdomain sqlservr[1433420]: [61B blob data] Jun 12 12:48:33 thermalite.localdomain sqlservr[1433420]: [96B blob data] Jun 12 12:48:33 thermalite.localdomain sqlservr[1433420]: [66B blob data] Jun 12 12:48:33 thermalite.localdomain sqlservr[1433420]: [96B blob data] Jun 12 12:48:33 thermalite.localdomain sqlservr[1433420]: [100B blob data] Jun 12 12:48:33 thermalite.localdomain sqlservr[1433420]: [71B blob data] Jun 12 12:48:33 thermalite.localdomain sqlservr[1433420]: [124B blob data] [root@thermalite ~]# echo 'export PATH=$PATH:/opt/mssql/bin:/opt/mssql-tools/bin' | sudo tee /etc/profile.d/mssql.sh export PATH=$PATH:/opt/mssql/bin:/opt/mssql-tools/bin [root@thermalite ~]# source /etc/profile.d/mssql.sh [root@thermalite ~]# sudo firewall-cmd --add-port=1433/tcp --permanent success [root@thermalite ~]# sudo firewall-cmd --reload success # install sql oracle driver for ms sql server http://www.snapdba.com/2013/10/using-sql-developer-to-connect-to-sql-server-databases/#.YMTipvlKiUl http://sourceforge.net/projects/jtds/files https://sourceforge.net/projects/jtds/files/jtds/1.3.1/jtds-1.3.1-dist.zip/download # test connection on sql developer # Oracle SQL Developer Connection Details Username: SA Password: my_msql_server_pass Hostname: 192.168.1.80 Port: 1433
Saturday, June 12, 2021
Install Microsoft SQL Server 2019 Express on Centos 8
Install MySQL server on Centos 8
Install MySQL server on Centos 8 # install mysql-server [root@thermalite ~]# rpm -qa | grep mysql [root@thermalite ~]# dnf install mysql-server Last metadata expiration check: 1:42:40 ago on Sat 12 Jun 2021 08:58:09 AM EDT. Dependencies resolved. ================================================================================================================================================================================================================= Package Architecture Version Repository Size ================================================================================================================================================================================================================= Installing: mysql-server x86_64 8.0.21-1.module_el8.2.0+493+63b41e36 appstream 22 M Installing dependencies: mariadb-connector-c-config noarch 3.1.11-2.el8_3 appstream 15 k mecab x86_64 0.996-1.module_el8.2.0+493+63b41e36.9 appstream 393 k mysql x86_64 8.0.21-1.module_el8.2.0+493+63b41e36 appstream 12 M mysql-common x86_64 8.0.21-1.module_el8.2.0+493+63b41e36 appstream 148 k mysql-errmsg x86_64 8.0.21-1.module_el8.2.0+493+63b41e36 appstream 581 k protobuf-lite x86_64 3.5.0-13.el8 appstream 149 k Enabling module streams: mysql 8.0 Transaction Summary ================================================================================================================================================================================================================= Install 7 Packages Total download size: 35 M Installed size: 182 M Is this ok [y/N]: y Downloading Packages: (1/7): mariadb-connector-c-config-3.1.11-2.el8_3.noarch.rpm 258 kB/s | 15 kB 00:00 (2/7): mysql-common-8.0.21-1.module_el8.2.0+493+63b41e36.x86_64.rpm 3.4 MB/s | 148 kB 00:00 (3/7): mecab-0.996-1.module_el8.2.0+493+63b41e36.9.x86_64.rpm 3.6 MB/s | 393 kB 00:00 (4/7): mysql-errmsg-8.0.21-1.module_el8.2.0+493+63b41e36.x86_64.rpm 5.8 MB/s | 581 kB 00:00 (5/7): protobuf-lite-3.5.0-13.el8.x86_64.rpm 9.4 MB/s | 149 kB 00:00 (6/7): mysql-8.0.21-1.module_el8.2.0+493+63b41e36.x86_64.rpm 23 MB/s | 12 MB 00:00 (7/7): mysql-server-8.0.21-1.module_el8.2.0+493+63b41e36.x86_64.rpm 33 MB/s | 22 MB 00:00 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 36 MB/s | 35 MB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : mariadb-connector-c-config-3.1.11-2.el8_3.noarch 1/7 Installing : mysql-common-8.0.21-1.module_el8.2.0+493+63b41e36.x86_64 2/7 Installing : mysql-8.0.21-1.module_el8.2.0+493+63b41e36.x86_64 3/7 Installing : mysql-errmsg-8.0.21-1.module_el8.2.0+493+63b41e36.x86_64 4/7 Installing : protobuf-lite-3.5.0-13.el8.x86_64 5/7 Installing : mecab-0.996-1.module_el8.2.0+493+63b41e36.9.x86_64 6/7 Running scriptlet: mecab-0.996-1.module_el8.2.0+493+63b41e36.9.x86_64 6/7 Running scriptlet: mysql-server-8.0.21-1.module_el8.2.0+493+63b41e36.x86_64 7/7 Installing : mysql-server-8.0.21-1.module_el8.2.0+493+63b41e36.x86_64 7/7 Running scriptlet: mysql-server-8.0.21-1.module_el8.2.0+493+63b41e36.x86_64 7/7 ValueError: File context for /var/log/mysql(/.*)? already defined [/usr/lib/tmpfiles.d/pesign.conf:1] Line references path below legacy directory /var/run/, updating /var/run/pesign → /run/pesign; please update the tmpfiles.d/ drop-in file accordingly. [/usr/lib/tmpfiles.d/postgresql.conf:1] Line references path below legacy directory /var/run/, updating /var/run/postgresql → /run/postgresql; please update the tmpfiles.d/ drop-in file accordingly. Verifying : mariadb-connector-c-config-3.1.11-2.el8_3.noarch 1/7 Verifying : mecab-0.996-1.module_el8.2.0+493+63b41e36.9.x86_64 2/7 Verifying : mysql-8.0.21-1.module_el8.2.0+493+63b41e36.x86_64 3/7 Verifying : mysql-common-8.0.21-1.module_el8.2.0+493+63b41e36.x86_64 4/7 Verifying : mysql-errmsg-8.0.21-1.module_el8.2.0+493+63b41e36.x86_64 5/7 Verifying : mysql-server-8.0.21-1.module_el8.2.0+493+63b41e36.x86_64 6/7 Verifying : protobuf-lite-3.5.0-13.el8.x86_64 7/7 Installed: mariadb-connector-c-config-3.1.11-2.el8_3.noarch mecab-0.996-1.module_el8.2.0+493+63b41e36.9.x86_64 mysql-8.0.21-1.module_el8.2.0+493+63b41e36.x86_64 mysql-common-8.0.21-1.module_el8.2.0+493+63b41e36.x86_64 mysql-errmsg-8.0.21-1.module_el8.2.0+493+63b41e36.x86_64 mysql-server-8.0.21-1.module_el8.2.0+493+63b41e36.x86_64 protobuf-lite-3.5.0-13.el8.x86_64 Complete! [root@thermalite ~]# # setup the mysql service [root@thermalite ~]# systemctl start mysqld.service [root@thermalite ~]# systemctl status mysqld.service ● mysqld.service - MySQL 8.0 database server Loaded: loaded (/usr/lib/systemd/system/mysqld.service; disabled; vendor preset: disabled) Active: active (running) since Sat 2021-06-12 10:42:47 EDT; 5s ago Process: 1429927 ExecStartPost=/usr/libexec/mysql-check-upgrade (code=exited, status=0/SUCCESS) Process: 1429800 ExecStartPre=/usr/libexec/mysql-prepare-db-dir mysqld.service (code=exited, status=0/SUCCESS) Process: 1429775 ExecStartPre=/usr/libexec/mysql-check-socket (code=exited, status=0/SUCCESS) Main PID: 1429883 (mysqld) Status: "Server is operational" Tasks: 39 (limit: 49085) Memory: 428.1M CGroup: /system.slice/mysqld.service └─1429883 /usr/libexec/mysqld --basedir=/usr Jun 12 10:42:12 thermalite.localdomain systemd[1]: Starting MySQL 8.0 database server... Jun 12 10:42:12 thermalite.localdomain mysql-prepare-db-dir[1429800]: Initializing MySQL database Jun 12 10:42:47 thermalite.localdomain systemd[1]: Started MySQL 8.0 database server. [root@thermalite ~]# systemctl restart mysqld.service [root@thermalite ~]# systemctl status mysqld.service ● mysqld.service - MySQL 8.0 database server Loaded: loaded (/usr/lib/systemd/system/mysqld.service; disabled; vendor preset: disabled) Active: active (running) since Sat 2021-06-12 10:43:06 EDT; 3s ago Process: 1429965 ExecStopPost=/usr/libexec/mysql-wait-stop (code=exited, status=0/SUCCESS) Process: 1430100 ExecStartPost=/usr/libexec/mysql-check-upgrade (code=exited, status=0/SUCCESS) Process: 1430019 ExecStartPre=/usr/libexec/mysql-prepare-db-dir mysqld.service (code=exited, status=0/SUCCESS) Process: 1429992 ExecStartPre=/usr/libexec/mysql-check-socket (code=exited, status=0/SUCCESS) Main PID: 1430056 (mysqld) Status: "Server is operational" Tasks: 39 (limit: 49085) Memory: 335.1M CGroup: /system.slice/mysqld.service └─1430056 /usr/libexec/mysqld --basedir=/usr Jun 12 10:43:05 thermalite.localdomain systemd[1]: Starting MySQL 8.0 database server... Jun 12 10:43:06 thermalite.localdomain systemd[1]: Started MySQL 8.0 database server. [root@thermalite ~]# systemctl enable mysqld Created symlink /etc/systemd/system/multi-user.target.wants/mysqld.service → /usr/lib/systemd/system/mysqld.service. [root@thermalite ~]# # configure the firewall setting [root@thermalite ~]# sudo firewall-cmd --add-service=mysql --permanent success [root@thermalite ~]# sudo firewall-cmd --reload success # Verify the changes with the ss utility: [root@thermalite ~]# ss -nlt | grep 3306 LISTEN 0 128 0.0.0.0:3306 0.0.0.0:* LISTEN 0 70 *:33060 *:* [root@thermalite ~]# # setup the Oracle SQL Developer Connection Name: thermalitedb Username: dbuser Password: my_mysql_password Hostname: 10.10.1.80 Port: 3306 # secure the mysql installation [root@thermalite ~]# mysql_secure_installation Securing the MySQL server deployment. Connecting to MySQL using a blank password. VALIDATE PASSWORD COMPONENT can be used to test passwords and improve security. It checks the strength of password and allows the users to set only those passwords which are secure enough. Would you like to setup VALIDATE PASSWORD component? Press y|Y for Yes, any other key for No: y There are three levels of password validation policy: LOW Length >= 8 MEDIUM Length >= 8, numeric, mixed case, and special characters STRONG Length >= 8, numeric, mixed case, special characters and dictionary file Please enter 0 = LOW, 1 = MEDIUM and 2 = STRONG: 2 Please set the password for root here. New password: my_very_hard_password Re-enter new password: my_very_hard_password Estimated strength of the password: 100 Do you wish to continue with the password provided?(Press y|Y for Yes, any other key for No) : y By default, a MySQL installation has an anonymous user, allowing anyone to log into MySQL without having to have a user account created for them. This is intended only for testing, and to make the installation go a bit smoother. You should remove them before moving into a production environment. Remove anonymous users? (Press y|Y for Yes, any other key for No) : y Success. Normally, root should only be allowed to connect from 'localhost'. This ensures that someone cannot guess at the root password from the network. Disallow root login remotely? (Press y|Y for Yes, any other key for No) : y Success. By default, MySQL comes with a database named 'test' that anyone can access. This is also intended only for testing, and should be removed before moving into a production environment. Remove test database and access to it? (Press y|Y for Yes, any other key for No) : n ... skipping. Reloading the privilege tables will ensure that all changes made so far will take effect immediately. Reload privilege tables now? (Press y|Y for Yes, any other key for No) : y Success. All done! [root@thermalite ~]# exit logout # check installation [malex@thermalite ~]$ mysqladmin -u root -p version Enter password: mysqladmin Ver 8.0.21 for Linux on x86_64 (Source distribution) Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Server version 8.0.21 Protocol version 10 Connection Localhost via UNIX socket UNIX socket /var/lib/mysql/mysql.sock Uptime: 5 min 7 sec Threads: 2 Questions: 12 Slow queries: 0 Opens: 127 Flush tables: 3 Open tables: 48 Queries per second avg: 0.039 [malex@thermalite ~]$ # setup the user and the database access [malex@thermalite ~]$ mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 11 Server version: 8.0.21 Source distribution Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> CREATE USER 'dbuser'@'%' IDENTIFIED BY 'my_mysql_password'; Query OK, 0 rows affected (0.04 sec) mysql> create database thermalitedb; Query OK, 1 row affected (0.05 sec) mysql> grant all on thermalitedb.* to 'dbuser'@'%'; Query OK, 0 rows affected (0.03 sec) mysql>
Monday, June 7, 2021
Install PostgreSQL Server on EC2 instance
Install PSQL client on EC2 instance 1. We need to first add the pgdg repository in Amazon Linux $ amazon-linux-extras install postgresql10 vim epel 2. Now, install postgresql 10 $ yum install -y postgresql-server postgresql-devel /usr/bin/postgresql-setup –-initdb 4. Start the postgres service systemctl enable postgresql systemctl start postgresql 5. To check if the postgres service is running or not systemctl status postgresql Now we are all good to connect to our database cluster using psql client tool Fire the below command to connect to the rds cluster [root@ip-172-31-81-123 ~]# amazon-linux-extras install postgresql10 vim epel Installing vim-minimal, epel-release, postgresql, vim-enhanced Loaded plugins: extras_suggestions, langpacks, priorities, update-motd Cleaning repos: AmazonCorretto amzn2-core amzn2extra-docker amzn2extra-epel amzn2extra-postgresql10 amzn2extra-vim epel epel-apache-maven 27 metadata files removed 12 sqlite files removed 0 metadata files removed Loaded plugins: extras_suggestions, langpacks, priorities, update-motd AmazonCorretto | 2.9 kB 00:00:00 amzn2-core | 3.7 kB 00:00:00 amzn2extra-docker | 3.0 kB 00:00:00 amzn2extra-epel | 3.0 kB 00:00:00 amzn2extra-postgresql10 | 3.0 kB 00:00:00 amzn2extra-vim | 3.0 kB 00:00:00 epel/x86_64/metalink | 15 kB 00:00:00 epel | 4.7 kB 00:00:00 epel-apache-maven | 3.3 kB 00:00:00 (1/16): AmazonCorretto/x86_64/primary_db | 27 kB 00:00:00 (2/16): amzn2-core/2/x86_64/group_gz | 2.5 kB 00:00:00 (3/16): amzn2-core/2/x86_64/updateinfo | 373 kB 00:00:00 (4/16): amzn2extra-epel/2/x86_64/primary_db | 1.8 kB 00:00:00 (5/16): amzn2extra-postgresql10/2/x86_64/updateinfo | 76 B 00:00:00 (6/16): amzn2extra-postgresql10/2/x86_64/primary_db | 43 kB 00:00:00 (7/16): amzn2extra-vim/2/x86_64/updateinfo | 76 B 00:00:00 (8/16): amzn2extra-vim/2/x86_64/primary_db | 13 kB 00:00:00 (9/16): amzn2extra-docker/2/x86_64/updateinfo | 76 B 00:00:00 (10/16): amzn2extra-epel/2/x86_64/updateinfo | 76 B 00:00:00 (11/16): amzn2extra-docker/2/x86_64/primary_db | 78 kB 00:00:00 (12/16): epel/x86_64/group_gz | 96 kB 00:00:00 (13/16): epel/x86_64/updateinfo | 1.0 MB 00:00:00 (14/16): epel-apache-maven/x86_64/primary_db | 5.0 kB 00:00:00 (15/16): epel/x86_64/primary_db | 6.9 MB 00:00:00 (16/16): amzn2-core/2/x86_64/primary_db | 53 MB 00:00:02 221 packages excluded due to repository priority protections Package epel-release-7-11.noarch already installed and latest version Package 2:vim-enhanced-8.1.1602-1.amzn2.x86_64 already installed and latest version Package 2:vim-minimal-8.1.1602-1.amzn2.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package postgresql.x86_64 0:10.16-1.amzn2.0.2 will be installed --> Processing Dependency: postgresql-libs(x86-64) = 10.16-1.amzn2.0.2 for package: postgresql-10.16-1.amzn2.0.2.x86_64 --> Processing Dependency: libpq.so.5()(64bit) for package: postgresql-10.16-1.amzn2.0.2.x86_64 --> Running transaction check ---> Package postgresql-libs.x86_64 0:10.16-1.amzn2.0.2 will be installed --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================================================================================================= Package Arch Version Repository Size ============================================================================================================================================================================================================================================= Installing: postgresql x86_64 10.16-1.amzn2.0.2 amzn2extra-postgresql10 1.5 M Installing for dependencies: postgresql-libs x86_64 10.16-1.amzn2.0.2 amzn2extra-postgresql10 293 k Transaction Summary ============================================================================================================================================================================================================================================= Install 1 Package (+1 Dependent package) Total download size: 1.7 M Installed size: 6.1 M Is this ok [y/d/N]: y Is this ok [y/d/N]: y Downloading packages: (1/2): postgresql-libs-10.16-1.amzn2.0.2.x86_64.rpm | 293 kB 00:00:00 (2/2): postgresql-10.16-1.amzn2.0.2.x86_64.rpm | 1.5 MB 00:00:00 --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 7.9 MB/s | 1.7 MB 00:00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : postgresql-libs-10.16-1.amzn2.0.2.x86_64 1/2 Installing : postgresql-10.16-1.amzn2.0.2.x86_64 2/2 Verifying : postgresql-libs-10.16-1.amzn2.0.2.x86_64 1/2 Verifying : postgresql-10.16-1.amzn2.0.2.x86_64 2/2 Installed: postgresql.x86_64 0:10.16-1.amzn2.0.2 Dependency Installed: postgresql-libs.x86_64 0:10.16-1.amzn2.0.2 Complete! 0 ansible2 available \ [ =2.4.2 =2.4.6 =2.8 =stable ] 2 httpd_modules available [ =1.0 =stable ] 3 memcached1.5 available \ [ =1.5.1 =1.5.16 =1.5.17 ] 5 postgresql9.6 available \ [ =9.6.6 =9.6.8 =stable ] 6 postgresql10=latest enabled [ =10 =stable ] 9 R3.4 available [ =3.4.3 =stable ] 10 rust1 available \ [ =1.22.1 =1.26.0 =1.26.1 =1.27.2 =1.31.0 =1.38.0 =stable ] 11 vim=latest enabled [ =8.0 =stable ] 15 php7.2 available \ [ =7.2.0 =7.2.4 =7.2.5 =7.2.8 =7.2.11 =7.2.13 =7.2.14 =7.2.16 =7.2.17 =7.2.19 =7.2.21 =7.2.22 =7.2.23 =7.2.24 =7.2.26 =stable ] 17 lamp-mariadb10.2-php7.2 available \ [ =10.2.10_7.2.0 =10.2.10_7.2.4 =10.2.10_7.2.5 =10.2.10_7.2.8 =10.2.10_7.2.11 =10.2.10_7.2.13 =10.2.10_7.2.14 =10.2.10_7.2.16 =10.2.10_7.2.17 =10.2.10_7.2.19 =10.2.10_7.2.22 =10.2.10_7.2.23 =10.2.10_7.2.24 =stable ] 18 libreoffice available \ [ =5.0.6.2_15 =5.3.6.1 =stable ] 19 gimp available [ =2.8.22 ] 20 docker=latest enabled \ [ =17.12.1 =18.03.1 =18.06.1 =18.09.9 =stable ] 21 mate-desktop1.x available \ [ =1.19.0 =1.20.0 =stable ] 22 GraphicsMagick1.3 available \ [ =1.3.29 =1.3.32 =1.3.34 =stable ] 23 tomcat8.5 available \ [ =8.5.31 =8.5.32 =8.5.38 =8.5.40 =8.5.42 =8.5.50 =stable ] 24 epel=latest enabled [ =7.11 =stable ] 25 testing available [ =1.0 =stable ] 26 ecs available [ =stable ] 27 corretto8 available \ [ =1.8.0_192 =1.8.0_202 =1.8.0_212 =1.8.0_222 =1.8.0_232 =1.8.0_242 =stable ] 28 firecracker available [ =0.11 =stable ] 29 golang1.11 available \ [ =1.11.3 =1.11.11 =1.11.13 =stable ] 30 squid4 available [ =4 =stable ] 31 php7.3 available \ [ =7.3.2 =7.3.3 =7.3.4 =7.3.6 =7.3.8 =7.3.9 =7.3.10 =7.3.11 =7.3.13 =stable ] 32 lustre2.10 available \ [ =2.10.5 =2.10.8 =stable ] 33 java-openjdk11 available [ =11 =stable ] 34 lynis available [ =stable ] 35 kernel-ng available [ =stable ] 36 BCC available [ =0.x =stable ] 37 mono available [ =5.x =stable ] 38 nginx1 available [ =stable ] 39 ruby2.6 available [ =2.6 =stable ] 40 mock available [ =stable ] 41 postgresql11 available [ =11 =stable ] 42 php7.4 available [ =stable ] 43 livepatch available [ =stable ] 44 python3.8 available [ =stable ] 45 haproxy2 available [ =stable ] 46 collectd available [ =stable ] 47 aws-nitro-enclaves-cli available [ =stable ] 48 R4 available [ =stable ] 49 kernel-5.4 available [ =stable ] 50 selinux-ng available [ =stable ] 51 php8.0 available [ =stable ] 52 tomcat9 available [ =stable ] 53 unbound1.13 available [ =stable ] 54 mariadb10.5 available [ =stable ] 55 kernel-5.10 available [ =stable ] 56 redis6 available [ =stable ] [root@ip-172-31-81-123 ~]# [root@ip-172-31-81-123 ~]# yum install -y postgresql-server postgresql-devel yum install -y postgresql-server postgresql-devel Loaded plugins: extras_suggestions, langpacks, priorities, update-motd 221 packages excluded due to repository priority protections Resolving Dependencies --> Running transaction check ---> Package postgresql-devel.x86_64 0:10.16-1.amzn2.0.2 will be installed ---> Package postgresql-server.x86_64 0:10.16-1.amzn2.0.2 will be installed --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================================================================================================= Package Arch Version Repository Size ============================================================================================================================================================================================================================================= Installing: postgresql-devel x86_64 10.16-1.amzn2.0.2 amzn2extra-postgresql10 1.3 M postgresql-server x86_64 10.16-1.amzn2.0.2 amzn2extra-postgresql10 4.8 M Transaction Summary ============================================================================================================================================================================================================================================= Install 2 Packages Total download size: 6.1 M Installed size: 25 M Downloading packages: (1/2): postgresql-devel-10.16-1.amzn2.0.2.x86_64.rpm | 1.3 MB 00:00:00 (2/2): postgresql-server-10.16-1.amzn2.0.2.x86_64.rpm | 4.8 MB 00:00:00 --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 16 MB/s | 6.1 MB 00:00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : postgresql-devel-10.16-1.amzn2.0.2.x86_64 1/2 Installing : postgresql-server-10.16-1.amzn2.0.2.x86_64 2/2 Verifying : postgresql-server-10.16-1.amzn2.0.2.x86_64 1/2 Verifying : postgresql-devel-10.16-1.amzn2.0.2.x86_64 2/2 Installed: postgresql-devel.x86_64 0:10.16-1.amzn2.0.2 postgresql-server.x86_64 0:10.16-1.amzn2.0.2 Complete! [root@ip-172-31-81-123 ~]# [ec2-user@ip-172-31-81-123 myapp]$ sudo yum install postgresql-contrib Loaded plugins: extras_suggestions, langpacks, priorities, update-motd 221 packages excluded due to repository priority protections Resolving Dependencies --> Running transaction check ---> Package postgresql-contrib.x86_64 0:10.16-1.amzn2.0.2 will be installed --> Processing Dependency: libossp-uuid.so.16()(64bit) for package: postgresql-contrib-10.16-1.amzn2.0.2.x86_64 --> Running transaction check ---> Package uuid.x86_64 0:1.6.2-26.amzn2.0.1 will be installed --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================================================================================================= Package Arch Version Repository Size ============================================================================================================================================================================================================================================= Installing: postgresql-contrib x86_64 10.16-1.amzn2.0.2 amzn2extra-postgresql10 778 k Installing for dependencies: uuid x86_64 1.6.2-26.amzn2.0.1 amzn2-core 56 k Transaction Summary ============================================================================================================================================================================================================================================= Install 1 Package (+1 Dependent package) Total download size: 834 k Installed size: 2.5 M Is this ok [y/d/N]: y Downloading packages: (1/2): uuid-1.6.2-26.amzn2.0.1.x86_64.rpm | 56 kB 00:00:00 (2/2): postgresql-contrib-10.16-1.amzn2.0.2.x86_64.rpm | 778 kB 00:00:00 --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 3.4 MB/s | 834 kB 00:00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : uuid-1.6.2-26.amzn2.0.1.x86_64 1/2 Installing : postgresql-contrib-10.16-1.amzn2.0.2.x86_64 2/2 Verifying : postgresql-contrib-10.16-1.amzn2.0.2.x86_64 1/2 Verifying : uuid-1.6.2-26.amzn2.0.1.x86_64 2/2 Installed: postgresql-contrib.x86_64 0:10.16-1.amzn2.0.2 Dependency Installed: uuid.x86_64 0:1.6.2-26.amzn2.0.1 Complete! [ec2-user@ip-172-31-81-123 myapp]$ [root@ip-172-31-81-123 ~]# /usr/bin/postgresql-setup initdb WARNING: using obsoleted argument syntax, try --help WARNING: arguments transformed to: postgresql-setup --initdb --unit postgresql * Initializing database in '/var/lib/pgsql/data' * Initialized, logs are in /var/lib/pgsql/initdb_postgresql.log [root@ip-172-31-81-123 ~]# [ec2-user@ip-172-31-81-123 myapp]$ sudo su - sudo su - Last login: Tue Jun 8 00:48:18 UTC 2021 on pts/1 [root@ip-172-31-81-123 ~]# which postgresql-setup /usr/bin/postgresql-setup [root@ip-172-31-81-123 ~]# /usr/bin/postgresql-setup initdb WARNING: using obsoleted argument syntax, try --help WARNING: arguments transformed to: postgresql-setup --initdb --unit postgresql * Initializing database in '/var/lib/pgsql/data' * Initialized, logs are in /var/lib/pgsql/initdb_postgresql.log [root@ip-172-31-81-123 ~]# systemctl enable --now postgresql Created symlink from /etc/systemd/system/multi-user.target.wants/postgresql.service to /usr/lib/systemd/system/postgresql.service. [root@ip-172-31-81-123 ~]# exit logout [ec2-user@ip-172-31-81-123 myapp]$ sudo -u postgres psql -c "SELECT version();" could not change directory to "/home/ec2-user/myapp": Permission denied version ------------------------------------------------------------------------------------------------------------ PostgreSQL 10.16 on x86_64-koji-linux-gnu, compiled by gcc (GCC) 7.3.1 20180712 (Red Hat 7.3.1-12), 64-bit (1 row) [ec2-user@ip-172-31-81-123 myapp]$ [root@ip-172-31-81-123 ~]# /usr/bin/postgresql-setup initdb WARNING: using obsoleted argument syntax, try --help WARNING: arguments transformed to: postgresql-setup --initdb --unit postgresql * Initializing database in '/var/lib/pgsql/data' * Initialized, logs are in /var/lib/pgsql/initdb_postgresql.log [root@ip-172-31-81-123 ~]# systemctl enable --now postgresql Created symlink from /etc/systemd/system/multi-user.target.wants/postgresql.service to /usr/lib/systemd/system/postgresql.service. [root@ip-172-31-81-123 ~]# exit logout [ec2-user@ip-172-31-81-123 myapp]$ sudo -u postgres psql -c "SELECT version();" could not change directory to "/home/ec2-user/myapp": Permission denied version ------------------------------------------------------------------------------------------------------------ PostgreSQL 10.16 on x86_64-koji-linux-gnu, compiled by gcc (GCC) 7.3.1 20180712 (Red Hat 7.3.1-12), 64-bit (1 row) [ec2-user@ip-172-31-81-123 myapp]$ sudo systemctl start postgresql [ec2-user@ip-172-31-81-123 myapp]$ sudo systemctl status postgresql ● postgresql.service - PostgreSQL database server Loaded: loaded (/usr/lib/systemd/system/postgresql.service; enabled; vendor preset: disabled) Active: active (running) since Tue 2021-06-08 00:59:33 UTC; 2min 55s ago Process: 6635 ExecStartPre=/usr/libexec/postgresql-check-db-dir %N (code=exited, status=0/SUCCESS) Main PID: 6637 (postmaster) CGroup: /system.slice/postgresql.service ├─6637 /usr/bin/postmaster -D /var/lib/pgsql/data ├─6640 postgres: logger process ├─6642 postgres: checkpointer process ├─6643 postgres: writer process ├─6644 postgres: wal writer process ├─6645 postgres: autovacuum launcher process ├─6646 postgres: stats collector process └─6647 postgres: bgworker: logical replication launcher Jun 08 00:59:33 ip-172-31-81-123.ec2.internal systemd[1]: Starting PostgreSQL database server... Jun 08 00:59:33 ip-172-31-81-123.ec2.internal postmaster[6637]: 2021-06-08 00:59:33.319 UTC [6637] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 08 00:59:33 ip-172-31-81-123.ec2.internal postmaster[6637]: 2021-06-08 00:59:33.321 UTC [6637] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 08 00:59:33 ip-172-31-81-123.ec2.internal postmaster[6637]: 2021-06-08 00:59:33.324 UTC [6637] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 08 00:59:33 ip-172-31-81-123.ec2.internal postmaster[6637]: 2021-06-08 00:59:33.335 UTC [6637] LOG: redirecting log output to logging collector process Jun 08 00:59:33 ip-172-31-81-123.ec2.internal postmaster[6637]: 2021-06-08 00:59:33.335 UTC [6637] HINT: Future log output will appear in directory "log". Jun 08 00:59:33 ip-172-31-81-123.ec2.internal systemd[1]: Started PostgreSQL database server. [ec2-user@ip-172-31-81-123 myapp]$ Configure to be accessible anywhere [root@thermalite data]# cat postgresql.conf | sed '/^$/d' | sed -e 's/^[[:space:]]*//' | grep -v "^#" listen_addresses = '*' port = 5432 # (change requires restart) max_connections = 100 # (change requires restart) shared_buffers = 128MB # min 128kB dynamic_shared_memory_type = posix # the default is the first option logging_collector = on # Enable capturing of stderr and csvlog log_filename = 'postgresql-%a.log' # log file name pattern, log_truncate_on_rotation = on # If on, an existing log file with the log_rotation_age = 1d # Automatic rotation of logfiles will log_rotation_size = 0 # Automatic rotation of logfiles will log_timezone = 'America/New_York' datestyle = 'iso, mdy' timezone = 'America/New_York' lc_messages = 'en_US.UTF-8' # locale for system error message lc_monetary = 'en_US.UTF-8' # locale for monetary formatting lc_numeric = 'en_US.UTF-8' # locale for number formatting lc_time = 'en_US.UTF-8' # locale for time formatting default_text_search_config = 'pg_catalog.english' [root@thermalite data]# [root@thermalite data]# cat pg_hba.conf | sed '/^$/d' | sed -e 's/^[[:space:]]*//' | grep -v "^#" local all all trust host all all 127.0.0.1/32 trust host all all ::1/128 ident local replication all peer host replication all 127.0.0.1/32 ident host replication all ::1/128 ident host all all 0.0.0.0/0 md5 host all all ::/0 md5 host all all 192.168.1.0/24 md5 host all all 192.168.1.0/16 ident map=thermalite [root@thermalite data]# [root@thermalite data]# vi pg_hba.conf # Put your actual configuration here # ---------------------------------- # # If you want to allow non-local connections, you need to add more # "host" records. In that case you will also need to make PostgreSQL # listen on a non-local interface via the listen_addresses # configuration parameter, or via the -i or -h command line switches. # TYPE DATABASE USER ADDRESS METHOD # "local" is for Unix domain socket connections only #local all all peer local all all trust # IPv4 local connections: #host all all 127.0.0.1/32 ident host all all 127.0.0.1/32 trust # IPv6 local connections: host all all ::1/128 ident # Allow replication connections from localhost, by a user with the # replication privilege. local replication all peer host replication all 127.0.0.1/32 ident host replication all ::1/128 ident # Accept from anywhere host all all 0.0.0.0/0 md5 host all all ::/0 md5 # Accept from trusted subnet host all all 192.168.1.0/24 md5 # Allow users from 192.168.1.x hosts to connect to any database, if # they pass the ident check. If, for example, ident says the user is # "malex" and he requests to connect as PostgreSQL user "dbuser", the # connection is allowed if there is an entry in pg_ident.conf for map # "thermalite" that says "malex" is allowed to connect as "dbuser". # # TYPE DATABASE USER ADDRESS METHOD host all all 192.168.1.0/16 ident map=thermalite [root@thermalite data]# vi pg_ident.conf # Put your actual configuration here # ---------------------------------- # MAPNAME SYSTEM-USERNAME PG-USERNAME thermalite malex dbuser thermalite malex postgres [root@thermalite data]# cat pg_ident.conf | sed '/^$/d' | sed -e 's/^[[:space:]]*//' | grep -v "^#" thermalite malex dbuser thermalite malex postgres [root@thermalite data]#
How to clone a GitLab repository after enabling 2FA
Reference: https://dev.to/fpeluso/how-to-clone-a-gitlab-repository-after-enabling-2fa-6oc [ec2-user@ip-172-31-81-123 myapp]$ git clone https://oauth2:WFodfsf3TKJCqdrgh676684WxRkV2KDXC@gitlab.com/username/hello-world.git Cloning into 'hello-world'... remote: Enumerating objects: 24, done. remote: Counting objects: 100% (24/24), done. remote: Compressing objects: 100% (13/13), done. remote: Total 24 (delta 0), reused 0 (delta 0), pack-reused 0 Unpacking objects: 100% (24/24), done. [ec2-user@ip-172-31-81-123 myapp]$ ls -l
Install git on EC2
[ec2-user@ip-172-31-81-123 myapp]$ sudo yum update -y Loaded plugins: extras_suggestions, langpacks, priorities, update-motd amzn2-core | 3.7 kB 00:00:00 No packages marked for update [ec2-user@ip-172-31-81-123 myapp]$ sudo yum install git -y Loaded plugins: extras_suggestions, langpacks, priorities, update-motd Resolving Dependencies --> Running transaction check ---> Package git.x86_64 0:2.23.4-1.amzn2.0.1 will be installed --> Processing Dependency: perl-Git = 2.23.4-1.amzn2.0.1 for package: git-2.23.4-1.amzn2.0.1.x86_64 --> Processing Dependency: git-core-doc = 2.23.4-1.amzn2.0.1 for package: git-2.23.4-1.amzn2.0.1.x86_64 --> Processing Dependency: git-core = 2.23.4-1.amzn2.0.1 for package: git-2.23.4-1.amzn2.0.1.x86_64 --> Processing Dependency: emacs-filesystem >= 25.3 for package: git-2.23.4-1.amzn2.0.1.x86_64 --> Processing Dependency: perl(Term::ReadKey) for package: git-2.23.4-1.amzn2.0.1.x86_64 --> Processing Dependency: perl(Git::I18N) for package: git-2.23.4-1.amzn2.0.1.x86_64 --> Processing Dependency: perl(Git) for package: git-2.23.4-1.amzn2.0.1.x86_64 --> Processing Dependency: libsecret-1.so.0()(64bit) for package: git-2.23.4-1.amzn2.0.1.x86_64 --> Running transaction check ---> Package emacs-filesystem.noarch 1:25.3-3.amzn2.0.2 will be installed ---> Package git-core.x86_64 0:2.23.4-1.amzn2.0.1 will be installed ---> Package git-core-doc.noarch 0:2.23.4-1.amzn2.0.1 will be installed ---> Package libsecret.x86_64 0:0.18.5-2.amzn2.0.2 will be installed ---> Package perl-Git.noarch 0:2.23.4-1.amzn2.0.1 will be installed --> Processing Dependency: perl(Error) for package: perl-Git-2.23.4-1.amzn2.0.1.noarch ---> Package perl-TermReadKey.x86_64 0:2.30-20.amzn2.0.2 will be installed --> Running transaction check ---> Package perl-Error.noarch 1:0.17020-2.amzn2 will be installed --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================================================================================================= Package Arch Version Repository Size ============================================================================================================================================================================================================================================= Installing: git x86_64 2.23.4-1.amzn2.0.1 amzn2-core 135 k Installing for dependencies: emacs-filesystem noarch 1:25.3-3.amzn2.0.2 amzn2-core 64 k git-core x86_64 2.23.4-1.amzn2.0.1 amzn2-core 5.0 M git-core-doc noarch 2.23.4-1.amzn2.0.1 amzn2-core 2.4 M libsecret x86_64 0.18.5-2.amzn2.0.2 amzn2-core 153 k perl-Error noarch 1:0.17020-2.amzn2 amzn2-core 32 k perl-Git noarch 2.23.4-1.amzn2.0.1 amzn2-core 47 k perl-TermReadKey x86_64 2.30-20.amzn2.0.2 amzn2-core 31 k Transaction Summary ============================================================================================================================================================================================================================================= Install 1 Package (+7 Dependent packages) Total download size: 7.9 M Installed size: 41 M Downloading packages: (1/8): emacs-filesystem-25.3-3.amzn2.0.2.noarch.rpm | 64 kB 00:00:00 (2/8): git-2.23.4-1.amzn2.0.1.x86_64.rpm | 135 kB 00:00:00 (3/8): git-core-doc-2.23.4-1.amzn2.0.1.noarch.rpm | 2.4 MB 00:00:00 (4/8): libsecret-0.18.5-2.amzn2.0.2.x86_64.rpm | 153 kB 00:00:00 (5/8): git-core-2.23.4-1.amzn2.0.1.x86_64.rpm | 5.0 MB 00:00:00 (6/8): perl-Error-0.17020-2.amzn2.noarch.rpm | 32 kB 00:00:00 (7/8): perl-Git-2.23.4-1.amzn2.0.1.noarch.rpm | 47 kB 00:00:00 (8/8): perl-TermReadKey-2.30-20.amzn2.0.2.x86_64.rpm | 31 kB 00:00:00 --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 29 MB/s | 7.9 MB 00:00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : git-core-2.23.4-1.amzn2.0.1.x86_64 1/8 Installing : git-core-doc-2.23.4-1.amzn2.0.1.noarch 2/8 Installing : 1:emacs-filesystem-25.3-3.amzn2.0.2.noarch 3/8 Installing : 1:perl-Error-0.17020-2.amzn2.noarch 4/8 Installing : perl-TermReadKey-2.30-20.amzn2.0.2.x86_64 5/8 Installing : libsecret-0.18.5-2.amzn2.0.2.x86_64 6/8 Installing : perl-Git-2.23.4-1.amzn2.0.1.noarch 7/8 Installing : git-2.23.4-1.amzn2.0.1.x86_64 8/8 Verifying : libsecret-0.18.5-2.amzn2.0.2.x86_64 1/8 Verifying : perl-TermReadKey-2.30-20.amzn2.0.2.x86_64 2/8 Verifying : git-2.23.4-1.amzn2.0.1.x86_64 3/8 Verifying : git-core-doc-2.23.4-1.amzn2.0.1.noarch 4/8 Verifying : perl-Git-2.23.4-1.amzn2.0.1.noarch 5/8 Verifying : git-core-2.23.4-1.amzn2.0.1.x86_64 6/8 Verifying : 1:perl-Error-0.17020-2.amzn2.noarch 7/8 Verifying : 1:emacs-filesystem-25.3-3.amzn2.0.2.noarch 8/8 Installed: git.x86_64 0:2.23.4-1.amzn2.0.1 Dependency Installed: emacs-filesystem.noarch 1:25.3-3.amzn2.0.2 git-core.x86_64 0:2.23.4-1.amzn2.0.1 git-core-doc.noarch 0:2.23.4-1.amzn2.0.1 libsecret.x86_64 0:0.18.5-2.amzn2.0.2 perl-Error.noarch 1:0.17020-2.amzn2 perl-Git.noarch 0:2.23.4-1.amzn2.0.1 perl-TermReadKey.x86_64 0:2.30-20.amzn2.0.2 Complete! [ec2-user@ip-172-31-81-123 myapp]$
Create a test Springboot Application on EC2
[ec2-user@ip-172-31-81-123 myapp]$ clear [ec2-user@ip-172-31-81-123 myapp]$ ls -l total 0 drwxrwxr-x 3 ec2-user ec2-user 32 Jun 7 22:24 webpring-buxvue [ec2-user@ip-172-31-81-123 myapp]$ ls -l webpring-buxvue/ total 4 -rw-rw-r-- 1 ec2-user ec2-user 654 Jun 7 22:24 pom.xml drwxrwxr-x 4 ec2-user ec2-user 30 Jun 7 22:24 src [ec2-user@ip-172-31-81-123 myapp]$ bash [ec2-user@ip-172-31-81-123 myapp]$ vi pom.xml [ec2-user@ip-172-31-81-123 myapp]$ ls -l total 0 drwxrwxr-x 3 ec2-user ec2-user 32 Jun 7 22:24 webpring-buxvue [ec2-user@ip-172-31-81-123 myapp]$ cd webpring-buxvue/ [ec2-user@ip-172-31-81-123 webpring-buxvue]$ ls -l total 4 -rw-rw-r-- 1 ec2-user ec2-user 654 Jun 7 22:24 pom.xml drwxrwxr-x 4 ec2-user ec2-user 30 Jun 7 22:24 src [ec2-user@ip-172-31-81-123 webpring-buxvue]$ vi pom.xml [ec2-user@ip-172-31-81-123 webpring-buxvue]$ ls -l src/ main/ test/ [ec2-user@ip-172-31-81-123 webpring-buxvue]$ ls -l src/ main/ test/ [ec2-user@ip-172-31-81-123 webpring-buxvue]$ ls -l src/main/java/com/example/App.java -rw-rw-r-- 1 ec2-user ec2-user 174 Jun 7 22:24 src/main/java/com/example/App.java [ec2-user@ip-172-31-81-123 webpring-buxvue]$ vi src/main/java/com/example/App.java [ec2-user@ip-172-31-81-123 webpring-buxvue]$ cat src/main/java/com/example/App.java [ec2-user@ip-172-31-81-123 webpring-buxvue]$ cat src/main/java/com/example/App.java package com.example; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; @SpringBootApplication @RestController public class App { public static void main(String[] args) { SpringApplication.run(App.class, args); } @GetMapping("/") public String hello(@RequestParam(value = "name", defaultValue = "World") String name) { return String.format("Hello %s!", name); } } [ec2-user@ip-172-31-81-123 webpring-buxvue]$ [ec2-user@ip-172-31-81-123 webpring-buxvue]$ mkdir -p src/main/java/resources [ec2-user@ip-172-31-81-123 webpring-buxvue]$ mkdir -p src/main/resources [ec2-user@ip-172-31-81-123 webpring-buxvue]$ rm -rf src/main/java/resources [ec2-user@ip-172-31-81-123 webpring-buxvue]$ vi src/main/resources/application.properties [ec2-user@ip-172-31-81-123 webpring-buxvue]$ cat src/main/resources/application.properties [ec2-user@ip-172-31-81-123 webpring-buxvue]$ cat src/main/resources/application.properties server.port=8080 [ec2-user@ip-172-31-81-123 webpring-buxvue]$ [ec2-user@ip-172-31-81-123 webpring-buxvue]$ pwd /home/ec2-user/myapp/webpring-buxvue [ec2-user@ip-172-31-81-123 webpring-buxvue]$ [ec2-user@ip-172-31-81-123 webpring-buxvue]$ mvn clean install -DskipTests -X dependency:tree -Dorgs.slf4j.simpleLogger.showDateTime=true -Dorgs.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss,SSS -Dverbose [DEBUG] org.springframework:spring-web:jar:5.3.7:compile (version managed from 5.3.7) [DEBUG] org.springframework:spring-beans:jar:5.3.7:compile (version managed from 5.3.7) [DEBUG] org.springframework:spring-webmvc:jar:5.3.7:compile (version managed from 5.3.7) [DEBUG] org.springframework:spring-aop:jar:5.3.7:compile (version managed from 5.3.7) [DEBUG] org.springframework:spring-context:jar:5.3.7:compile (version managed from 5.3.7) [DEBUG] org.springframework:spring-expression:jar:5.3.7:compile (version managed from 5.3.7) [INFO] com.example:webpring-buxvue:jar:1.0-SNAPSHOT [INFO] +- junit:junit:jar:3.8.1:test [INFO] \- org.springframework.boot:spring-boot-starter-web:jar:2.5.0:compile [INFO] +- org.springframework.boot:spring-boot-starter:jar:2.5.0:compile [INFO] | +- org.springframework.boot:spring-boot:jar:2.5.0:compile [INFO] | +- org.springframework.boot:spring-boot-autoconfigure:jar:2.5.0:compile [INFO] | +- org.springframework.boot:spring-boot-starter-logging:jar:2.5.0:compile [INFO] | | +- ch.qos.logback:logback-classic:jar:1.2.3:compile [INFO] | | | +- ch.qos.logback:logback-core:jar:1.2.3:compile [INFO] | | | \- org.slf4j:slf4j-api:jar:1.7.30:compile [INFO] | | +- org.apache.logging.log4j:log4j-to-slf4j:jar:2.14.1:compile [INFO] | | | \- org.apache.logging.log4j:log4j-api:jar:2.14.1:compile [INFO] | | \- org.slf4j:jul-to-slf4j:jar:1.7.30:compile [INFO] | +- jakarta.annotation:jakarta.annotation-api:jar:1.3.5:compile [INFO] | +- org.springframework:spring-core:jar:5.3.7:compile [INFO] | | \- org.springframework:spring-jcl:jar:5.3.7:compile [INFO] | \- org.yaml:snakeyaml:jar:1.28:compile [INFO] +- org.springframework.boot:spring-boot-starter-json:jar:2.5.0:compile [INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.12.3:compile [INFO] | | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.12.3:compile [INFO] | | \- com.fasterxml.jackson.core:jackson-core:jar:2.12.3:compile [INFO] | +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.12.3:compile [INFO] | +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.12.3:compile [INFO] | \- com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.12.3:compile [INFO] +- org.springframework.boot:spring-boot-starter-tomcat:jar:2.5.0:compile [INFO] | +- org.apache.tomcat.embed:tomcat-embed-core:jar:9.0.46:compile [INFO] | +- org.apache.tomcat.embed:tomcat-embed-el:jar:9.0.46:compile [INFO] | \- org.apache.tomcat.embed:tomcat-embed-websocket:jar:9.0.46:compile [INFO] +- org.springframework:spring-web:jar:5.3.7:compile [INFO] | \- org.springframework:spring-beans:jar:5.3.7:compile [INFO] \- org.springframework:spring-webmvc:jar:5.3.7:compile [INFO] +- org.springframework:spring-aop:jar:5.3.7:compile [INFO] +- org.springframework:spring-context:jar:5.3.7:compile [INFO] \- org.springframework:spring-expression:jar:5.3.7:compile [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 17.846 s [INFO] Finished at: 2021-06-07T22:40:23Z [INFO] Final Memory: 39M/151M [INFO] ------------------------------------------------------------------------ [ec2-user@ip-172-31-81-123 webpring-buxvue]$ [ec2-user@ip-172-31-81-123 webpring-buxvue]$ mvn spring-boot:run & [1] 4522 [ec2-user@ip-172-31-81-123 webpring-buxvue]$ [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building webpring-buxvue 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] >>> spring-boot-maven-plugin:2.5.0:run (default-cli) > test-compile @ webpring-buxvue >>> [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ webpring-buxvue --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] Copying 1 resource [INFO] Copying 0 resource [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ webpring-buxvue --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ webpring-buxvue --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/ec2-user/myapp/webpring-buxvue/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ webpring-buxvue --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] <<< spring-boot-maven-plugin:2.5.0:run (default-cli) < test-compile @ webpring-buxvue <<< [INFO] [INFO] [INFO] --- spring-boot-maven-plugin:2.5.0:run (default-cli) @ webpring-buxvue --- [INFO] Attaching agents: [] . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v2.5.0) 2021-06-07 22:42:12.425 INFO 4551 --- [ main] com.example.App : Starting App using Java 1.8.0_292 on ip-172-31-81-123.ec2.internal with PID 4551 (/home/ec2-user/myapp/webpring-buxvue/target/classes started by ec2-user in /home/ec2-user/myapp/webpring-buxvue) 2021-06-07 22:42:12.430 INFO 4551 --- [ main] com.example.App : No active profile set, falling back to default profiles: default 2021-06-07 22:42:13.523 INFO 4551 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) 2021-06-07 22:42:13.537 INFO 4551 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2021-06-07 22:42:13.538 INFO 4551 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.46] 2021-06-07 22:42:13.588 INFO 4551 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2021-06-07 22:42:13.589 INFO 4551 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1094 ms 2021-06-07 22:42:14.081 INFO 4551 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' 2021-06-07 22:42:14.092 INFO 4551 --- [ main] com.example.App : Started App in 2.244 seconds (JVM running for 2.863) 2021-06-07 22:42:14.094 INFO 4551 --- [ main] o.s.b.a.ApplicationAvailabilityBean : Application availability state LivenessState changed to CORRECT 2021-06-07 22:42:14.095 INFO 4551 --- [ main] o.s.b.a.ApplicationAvailabilityBean : Application availability state ReadinessState changed to ACCEPTING_TRAFFIC [ec2-user@ip-172-31-81-123 webpring-buxvue]$ curl http://localhost:8080/ 2021-06-07 22:42:42.430 INFO 4551 --- [nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' 2021-06-07 22:42:42.431 INFO 4551 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' 2021-06-07 22:42:42.432 INFO 4551 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms Hello World![ec2-user@ip-172-31-81-123 webpring-buxvue]$ Open a browser and point to URL: http://ec2-3-88-0-252.compute-1.amazonaws.com:8080/
Generate a project using maven command-line on EC2 Linux
Sample session (Truncated log) [ec2-user@ip-172-31-81-123 ~]$ mkdir myapp [ec2-user@ip-172-31-81-123 ~]$ cd myapp [ec2-user@ip-172-31-81-123 myapp]$ mvn archetype:generate -DgroupId=com.example -DartifactId=webpring-buxvue -DarchetypeArtifactId=maven-archetype-quickstart -Ddescription="Spring Boot Web Thymeleaf Example" -DinteractiveMode=false [INFO] Scanning for projects... Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.pom Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.pom (3.9 kB at 6.2 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/22/maven-plugins-22.pom Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/22/maven-plugins-22.pom (13 kB at 373 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/21/maven-parent-21.pom Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/21/maven-parent-21.pom (26 kB at 694 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/apache/apache/10/apache-10.pom Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/apache/10/apache-10.pom (15 kB at 643 kB/s)B at 1.8 MB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/apache/apache/13/apache-13.pom Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/apache/13/apache-13.pom (14 kB at 822 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site-plugin/3.3/maven-site-plugin-3.3.jar Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site-plugin/3.3/maven-site-plugin-3.3.jar (124 kB at 1.8 MB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.3/maven-antrun-plugin-1.3.pom Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/34/maven-parent-34.pom (43 kB at 1.5 MB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/apache/apache/23/apache-23.pom Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/apache/23/apache-23.pom (18 kB at 1.4 MB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-archetype-plugin/3.2.0/maven-archetype-plugin-3.2.0.jar Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-archetype-plugin/3.2.0/maven-archetype-plugin-3.2.0.jar (97 kB at 2.3 MB/s) [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Maven Stub Project (No POM) 1 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] >>> maven-archetype-plugin:3.2.0:generate (default-cli) > generate-sources @ standalone-pom >>> [INFO] [INFO] <<< maven-archetype-plugin:3.2.0:generate (default-cli) < generate-sources @ standalone-pom <<< [INFO] [INFO] [INFO] --- maven-archetype-plugin:3.2.0:generate (default-cli) @ standalone-pom --- Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-catalog/3.2.0/archetype-catalog-3.2.0.pom Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-catalog/3.2.0/archetype-catalog-3.2.0.pom (1.9 kB at 238 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-models/3.2.0/archetype-models-3.2.0.pom Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-models/3.2.0/archetype-models-3.2.0.pom (2.7 kB at 211 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.3.0/plexus-utils-3.3.0.pom Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.3.0/plexus-utils-3.3.0.pom (5.2 kB at 432 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/5.1/plexus-5.1.pom Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/5.1/plexus-5.1.pom (23 kB at 2.0 MB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-descriptor/3.2.0/archetype-descriptor-3.2.0.pom Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-descriptor/3.2.0/archetype-descriptor-3.2.0.pom (2.0 kB at 244 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-common/3.2.0/archetype-common-3.2.0.pom Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/archetype/archetype-common/3.2.0/archetype-common-3.2.0.pom (17 kB at 1.9 MB/s) kB at 75 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-utils/3.2.1/maven-shared-utils-3.2.1.jar Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-utils/3.2.1/maven-shared-utils-3.2.1.jar (167 kB at 380 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-interpolation/1.25/plexus-interpolation-1.25.jar Downloaded from central: https://repo.maven.apache.org/maven2/commons-lang/commons-lang/2.4/commons-lang-2.4.jar (262 kB at 564 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-archiver/4.2.1/plexus-archiver-4.2.1.jar Downloading from central: https://repo.maven.apache.org/maven2/org/apache/apache/3/apache-3.pom Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/apache/3/apache-3.pom (3.4 kB at 343 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/archetypes/maven-archetype-quickstart/1.0/maven-archetype-quickstart-1.0.jar Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/archetypes/maven-archetype-quickstart/1.0/maven-archetype-quickstart-1.0.jar (4.3 kB at 537 kB/s) [INFO] ---------------------------------------------------------------------------- [INFO] Using following parameters for creating project from Old (1.x) Archetype: maven-archetype-quickstart:1.0 [INFO] ---------------------------------------------------------------------------- [INFO] Parameter: basedir, Value: /home/ec2-user/myapp [INFO] Parameter: package, Value: com.example [INFO] Parameter: groupId, Value: com.example [INFO] Parameter: artifactId, Value: webpring-buxvue [INFO] Parameter: packageName, Value: com.example [INFO] Parameter: version, Value: 1.0-SNAPSHOT [INFO] project created from Old (1.x) Archetype in dir: /home/ec2-user/myapp/webpring-buxvue [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 8.491 s [INFO] Finished at: 2021-06-07T22:24:53Z [INFO] Final Memory: 15M/50M [INFO] ------------------------------------------------------------------------ [ec2-user@ip-172-31-81-123 myapp]$
Install maven on EC2 Linux using yum
sudo wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -O /etc/yum.repos.d/epel-apache-maven.repo sudo sed -i s/\$releasever/6/g /etc/yum.repos.d/epel-apache-maven.repo sudo yum install -y apache-maven mvn --version [ec2-user@ip-172-31-81-123 ~]$ sudo wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -O /etc/yum.repos.d/epel-apache-maven.repo --2021-06-07 22:20:02-- http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo Resolving repos.fedorapeople.org (repos.fedorapeople.org)... 152.19.134.199, 2610:28:3090:3001:5054:ff:fea7:9474 Connecting to repos.fedorapeople.org (repos.fedorapeople.org)|152.19.134.199|:80... connected. HTTP request sent, awaiting response... 302 Found Location: https://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo [following] --2021-06-07 22:20:03-- https://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo Connecting to repos.fedorapeople.org (repos.fedorapeople.org)|152.19.134.199|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 445 Saving to: ‘/etc/yum.repos.d/epel-apache-maven.repo’ 100%[===================================================================================================================================================================================================>] 445 --.-K/s in 0s 2021-06-07 22:20:03 (18.6 MB/s) - ‘/etc/yum.repos.d/epel-apache-maven.repo’ saved [445/445] [ec2-user@ip-172-31-81-123 ~]$ sudo sed -i s/\$releasever/6/g /etc/yum.repos.d/epel-apache-maven.repo [ec2-user@ip-172-31-81-123 ~]$ sudo yum install -y apache-maven Loaded plugins: extras_suggestions, langpacks, priorities, update-motd amzn2-core | 3.7 kB 00:00:00 epel-apache-maven | 3.3 kB 00:00:00 epel-apache-maven/x86_64/primary_db | 5.0 kB 00:00:00 Resolving Dependencies --> Running transaction check ---> Package apache-maven.noarch 0:3.5.2-1.el6 will be installed --> Processing Dependency: jpackage-utils for package: apache-maven-3.5.2-1.el6.noarch --> Processing Dependency: java-1.7.0-openjdk-devel for package: apache-maven-3.5.2-1.el6.noarch --> Running transaction check ---> Package java-1.7.0-openjdk-devel.x86_64 1:1.7.0.261-2.6.22.2.amzn2.0.1 will be installed --> Processing Dependency: java-1.7.0-openjdk = 1:1.7.0.261-2.6.22.2.amzn2.0.1 for package: 1:java-1.7.0-openjdk-devel-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 --> Processing Dependency: libX11.so.6()(64bit) for package: 1:java-1.7.0-openjdk-devel-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 ---> Package javapackages-tools.noarch 0:3.4.1-11.amzn2 will be installed --> Processing Dependency: python-javapackages = 3.4.1-11.amzn2 for package: javapackages-tools-3.4.1-11.amzn2.noarch --> Processing Dependency: libxslt for package: javapackages-tools-3.4.1-11.amzn2.noarch --> Running transaction check ---> Package java-1.7.0-openjdk.x86_64 1:1.7.0.261-2.6.22.2.amzn2.0.1 will be installed --> Processing Dependency: java-1.7.0-openjdk-headless = 1:1.7.0.261-2.6.22.2.amzn2.0.1 for package: 1:java-1.7.0-openjdk-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 --> Processing Dependency: xorg-x11-fonts-Type1 for package: 1:java-1.7.0-openjdk-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 --> Processing Dependency: libpulse.so.0(PULSE_0)(64bit) for package: 1:java-1.7.0-openjdk-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 --> Processing Dependency: libjvm.so(SUNWprivate_1.1)(64bit) for package: 1:java-1.7.0-openjdk-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 --> Processing Dependency: libjava.so(SUNWprivate_1.1)(64bit) for package: 1:java-1.7.0-openjdk-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 --> Processing Dependency: libasound.so.2(ALSA_0.9.0rc4)(64bit) for package: 1:java-1.7.0-openjdk-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 --> Processing Dependency: libasound.so.2(ALSA_0.9)(64bit) for package: 1:java-1.7.0-openjdk-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 --> Processing Dependency: libpulse.so.0()(64bit) for package: 1:java-1.7.0-openjdk-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 --> Processing Dependency: libpangoft2-1.0.so.0()(64bit) for package: 1:java-1.7.0-openjdk-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 --> Processing Dependency: libpangocairo-1.0.so.0()(64bit) for package: 1:java-1.7.0-openjdk-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 --> Processing Dependency: libpango-1.0.so.0()(64bit) for package: 1:java-1.7.0-openjdk-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 --> Processing Dependency: libjvm.so()(64bit) for package: 1:java-1.7.0-openjdk-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 --> Processing Dependency: libjava.so()(64bit) for package: 1:java-1.7.0-openjdk-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 --> Processing Dependency: libgtk-x11-2.0.so.0()(64bit) for package: 1:java-1.7.0-openjdk-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 --> Processing Dependency: libgif.so.4()(64bit) for package: 1:java-1.7.0-openjdk-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 --> Processing Dependency: libgdk_pixbuf-2.0.so.0()(64bit) for package: 1:java-1.7.0-openjdk-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 --> Processing Dependency: libgdk-x11-2.0.so.0()(64bit) for package: 1:java-1.7.0-openjdk-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 --> Processing Dependency: libfontconfig.so.1()(64bit) for package: 1:java-1.7.0-openjdk-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 --> Processing Dependency: libcups.so.2()(64bit) for package: 1:java-1.7.0-openjdk-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 --> Processing Dependency: libcairo.so.2()(64bit) for package: 1:java-1.7.0-openjdk-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 --> Processing Dependency: libatk-1.0.so.0()(64bit) for package: 1:java-1.7.0-openjdk-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 --> Processing Dependency: libasound.so.2()(64bit) for package: 1:java-1.7.0-openjdk-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 --> Processing Dependency: libXtst.so.6()(64bit) for package: 1:java-1.7.0-openjdk-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 --> Processing Dependency: libXrender.so.1()(64bit) for package: 1:java-1.7.0-openjdk-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 --> Processing Dependency: libXi.so.6()(64bit) for package: 1:java-1.7.0-openjdk-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 --> Processing Dependency: libXext.so.6()(64bit) for package: 1:java-1.7.0-openjdk-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 --> Processing Dependency: libXcomposite.so.1()(64bit) for package: 1:java-1.7.0-openjdk-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 ---> Package libX11.x86_64 0:1.6.7-3.amzn2 will be installed --> Processing Dependency: libX11-common >= 1.6.7-3.amzn2 for package: libX11-1.6.7-3.amzn2.x86_64 --> Processing Dependency: libxcb.so.1()(64bit) for package: libX11-1.6.7-3.amzn2.x86_64 ---> Package libxslt.x86_64 0:1.1.28-6.amzn2 will be installed ---> Package python-javapackages.noarch 0:3.4.1-11.amzn2 will be installed --> Processing Dependency: python-lxml for package: python-javapackages-3.4.1-11.amzn2.noarch --> Running transaction check ---> Package alsa-lib.x86_64 0:1.1.4.1-2.amzn2 will be installed ---> Package atk.x86_64 0:2.22.0-3.amzn2.0.2 will be installed ---> Package cairo.x86_64 0:1.15.12-4.amzn2 will be installed --> Processing Dependency: libpixman-1.so.0()(64bit) for package: cairo-1.15.12-4.amzn2.x86_64 --> Processing Dependency: libGL.so.1()(64bit) for package: cairo-1.15.12-4.amzn2.x86_64 --> Processing Dependency: libEGL.so.1()(64bit) for package: cairo-1.15.12-4.amzn2.x86_64 ---> Package cups-libs.x86_64 1:1.6.3-51.amzn2 will be installed --> Processing Dependency: libavahi-common.so.3()(64bit) for package: 1:cups-libs-1.6.3-51.amzn2.x86_64 --> Processing Dependency: libavahi-client.so.3()(64bit) for package: 1:cups-libs-1.6.3-51.amzn2.x86_64 ---> Package fontconfig.x86_64 0:2.13.0-4.3.amzn2 will be installed --> Processing Dependency: fontpackages-filesystem for package: fontconfig-2.13.0-4.3.amzn2.x86_64 --> Processing Dependency: dejavu-sans-fonts for package: fontconfig-2.13.0-4.3.amzn2.x86_64 ---> Package gdk-pixbuf2.x86_64 0:2.36.12-3.amzn2 will be installed --> Processing Dependency: libjasper.so.1()(64bit) for package: gdk-pixbuf2-2.36.12-3.amzn2.x86_64 ---> Package giflib.x86_64 0:4.1.6-9.amzn2.0.2 will be installed --> Processing Dependency: libSM.so.6()(64bit) for package: giflib-4.1.6-9.amzn2.0.2.x86_64 --> Processing Dependency: libICE.so.6()(64bit) for package: giflib-4.1.6-9.amzn2.0.2.x86_64 ---> Package gtk2.x86_64 0:2.24.31-1.amzn2.0.2 will be installed --> Processing Dependency: libXrandr >= 1.2.99.4-2 for package: gtk2-2.24.31-1.amzn2.0.2.x86_64 --> Processing Dependency: hicolor-icon-theme for package: gtk2-2.24.31-1.amzn2.0.2.x86_64 --> Processing Dependency: gtk-update-icon-cache for package: gtk2-2.24.31-1.amzn2.0.2.x86_64 --> Processing Dependency: libXrandr.so.2()(64bit) for package: gtk2-2.24.31-1.amzn2.0.2.x86_64 --> Processing Dependency: libXinerama.so.1()(64bit) for package: gtk2-2.24.31-1.amzn2.0.2.x86_64 --> Processing Dependency: libXfixes.so.3()(64bit) for package: gtk2-2.24.31-1.amzn2.0.2.x86_64 --> Processing Dependency: libXdamage.so.1()(64bit) for package: gtk2-2.24.31-1.amzn2.0.2.x86_64 --> Processing Dependency: libXcursor.so.1()(64bit) for package: gtk2-2.24.31-1.amzn2.0.2.x86_64 ---> Package java-1.7.0-openjdk-headless.x86_64 1:1.7.0.261-2.6.22.2.amzn2.0.1 will be installed --> Processing Dependency: copy-jdk-configs >= 3.3-9 for package: 1:java-1.7.0-openjdk-headless-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 --> Processing Dependency: tzdata-java for package: 1:java-1.7.0-openjdk-headless-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 --> Processing Dependency: libsctp.so.1(VERS_1)(64bit) for package: 1:java-1.7.0-openjdk-headless-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 --> Processing Dependency: libsctp.so.1()(64bit) for package: 1:java-1.7.0-openjdk-headless-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 --> Processing Dependency: libpcsclite.so.1()(64bit) for package: 1:java-1.7.0-openjdk-headless-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 --> Processing Dependency: libgconf-2.so.4()(64bit) for package: 1:java-1.7.0-openjdk-headless-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 ---> Package libX11-common.noarch 0:1.6.7-3.amzn2 will be installed ---> Package libXcomposite.x86_64 0:0.4.4-4.1.amzn2.0.2 will be installed ---> Package libXext.x86_64 0:1.3.3-3.amzn2.0.2 will be installed ---> Package libXi.x86_64 0:1.7.9-1.amzn2.0.2 will be installed ---> Package libXrender.x86_64 0:0.9.10-1.amzn2.0.2 will be installed ---> Package libXtst.x86_64 0:1.2.3-1.amzn2.0.2 will be installed ---> Package libxcb.x86_64 0:1.12-1.amzn2.0.2 will be installed --> Processing Dependency: libXau.so.6()(64bit) for package: libxcb-1.12-1.amzn2.0.2.x86_64 ---> Package pango.x86_64 0:1.42.4-4.amzn2 will be installed --> Processing Dependency: libthai(x86-64) >= 0.1.9 for package: pango-1.42.4-4.amzn2.x86_64 --> Processing Dependency: libXft(x86-64) >= 2.0.0 for package: pango-1.42.4-4.amzn2.x86_64 --> Processing Dependency: harfbuzz(x86-64) >= 1.4.2 for package: pango-1.42.4-4.amzn2.x86_64 --> Processing Dependency: fribidi(x86-64) >= 1.0 for package: pango-1.42.4-4.amzn2.x86_64 --> Processing Dependency: libthai.so.0(LIBTHAI_0.1)(64bit) for package: pango-1.42.4-4.amzn2.x86_64 --> Processing Dependency: libthai.so.0()(64bit) for package: pango-1.42.4-4.amzn2.x86_64 --> Processing Dependency: libharfbuzz.so.0()(64bit) for package: pango-1.42.4-4.amzn2.x86_64 --> Processing Dependency: libfribidi.so.0()(64bit) for package: pango-1.42.4-4.amzn2.x86_64 --> Processing Dependency: libXft.so.2()(64bit) for package: pango-1.42.4-4.amzn2.x86_64 ---> Package pulseaudio-libs.x86_64 0:10.0-3.amzn2.0.3 will be installed --> Processing Dependency: libsndfile.so.1(libsndfile.so.1.0)(64bit) for package: pulseaudio-libs-10.0-3.amzn2.0.3.x86_64 --> Processing Dependency: libsndfile.so.1()(64bit) for package: pulseaudio-libs-10.0-3.amzn2.0.3.x86_64 --> Processing Dependency: libasyncns.so.0()(64bit) for package: pulseaudio-libs-10.0-3.amzn2.0.3.x86_64 ---> Package python-lxml.x86_64 0:3.2.1-4.amzn2.0.2 will be installed ---> Package xorg-x11-fonts-Type1.noarch 0:7.5-9.amzn2 will be installed --> Processing Dependency: ttmkfdir for package: xorg-x11-fonts-Type1-7.5-9.amzn2.noarch --> Processing Dependency: ttmkfdir for package: xorg-x11-fonts-Type1-7.5-9.amzn2.noarch --> Processing Dependency: mkfontdir for package: xorg-x11-fonts-Type1-7.5-9.amzn2.noarch --> Processing Dependency: mkfontdir for package: xorg-x11-fonts-Type1-7.5-9.amzn2.noarch --> Running transaction check ---> Package GConf2.x86_64 0:3.2.6-8.amzn2.0.2 will be installed --> Processing Dependency: libpolkit-gobject-1.so.0()(64bit) for package: GConf2-3.2.6-8.amzn2.0.2.x86_64 --> Processing Dependency: libdbus-glib-1.so.2()(64bit) for package: GConf2-3.2.6-8.amzn2.0.2.x86_64 ---> Package avahi-libs.x86_64 0:0.6.31-20.amzn2 will be installed ---> Package copy-jdk-configs.noarch 0:3.3-10.amzn2 will be installed ---> Package dejavu-sans-fonts.noarch 0:2.33-6.amzn2 will be installed --> Processing Dependency: dejavu-fonts-common = 2.33-6.amzn2 for package: dejavu-sans-fonts-2.33-6.amzn2.noarch ---> Package fontpackages-filesystem.noarch 0:1.44-8.amzn2 will be installed ---> Package fribidi.x86_64 0:1.0.2-1.amzn2.1 will be installed ---> Package gtk-update-icon-cache.x86_64 0:3.22.30-3.amzn2 will be installed ---> Package harfbuzz.x86_64 0:1.7.5-2.amzn2 will be installed --> Processing Dependency: libgraphite2.so.3()(64bit) for package: harfbuzz-1.7.5-2.amzn2.x86_64 ---> Package hicolor-icon-theme.noarch 0:0.12-7.amzn2 will be installed ---> Package jasper-libs.x86_64 0:1.900.1-33.amzn2 will be installed ---> Package libICE.x86_64 0:1.0.9-9.amzn2.0.2 will be installed ---> Package libSM.x86_64 0:1.2.2-2.amzn2.0.2 will be installed ---> Package libXau.x86_64 0:1.0.8-2.1.amzn2.0.2 will be installed ---> Package libXcursor.x86_64 0:1.1.15-1.amzn2 will be installed ---> Package libXdamage.x86_64 0:1.1.4-4.1.amzn2.0.2 will be installed ---> Package libXfixes.x86_64 0:5.0.3-1.amzn2.0.2 will be installed ---> Package libXft.x86_64 0:2.3.2-2.amzn2.0.2 will be installed ---> Package libXinerama.x86_64 0:1.1.3-2.1.amzn2.0.2 will be installed ---> Package libXrandr.x86_64 0:1.5.1-2.amzn2.0.3 will be installed ---> Package libasyncns.x86_64 0:0.8-7.amzn2.0.2 will be installed ---> Package libglvnd-egl.x86_64 1:1.0.1-0.1.git5baa1e5.amzn2.0.1 will be installed --> Processing Dependency: libglvnd(x86-64) = 1:1.0.1-0.1.git5baa1e5.amzn2.0.1 for package: 1:libglvnd-egl-1.0.1-0.1.git5baa1e5.amzn2.0.1.x86_64 --> Processing Dependency: mesa-libEGL(x86-64) >= 13.0.4-1 for package: 1:libglvnd-egl-1.0.1-0.1.git5baa1e5.amzn2.0.1.x86_64 --> Processing Dependency: libGLdispatch.so.0()(64bit) for package: 1:libglvnd-egl-1.0.1-0.1.git5baa1e5.amzn2.0.1.x86_64 ---> Package libglvnd-glx.x86_64 1:1.0.1-0.1.git5baa1e5.amzn2.0.1 will be installed --> Processing Dependency: mesa-libGL(x86-64) >= 13.0.4-1 for package: 1:libglvnd-glx-1.0.1-0.1.git5baa1e5.amzn2.0.1.x86_64 ---> Package libsndfile.x86_64 0:1.0.25-12.amzn2 will be installed --> Processing Dependency: libvorbisenc.so.2()(64bit) for package: libsndfile-1.0.25-12.amzn2.x86_64 --> Processing Dependency: libvorbis.so.0()(64bit) for package: libsndfile-1.0.25-12.amzn2.x86_64 --> Processing Dependency: libogg.so.0()(64bit) for package: libsndfile-1.0.25-12.amzn2.x86_64 --> Processing Dependency: libgsm.so.1()(64bit) for package: libsndfile-1.0.25-12.amzn2.x86_64 --> Processing Dependency: libFLAC.so.8()(64bit) for package: libsndfile-1.0.25-12.amzn2.x86_64 ---> Package libthai.x86_64 0:0.1.14-9.amzn2.0.2 will be installed ---> Package lksctp-tools.x86_64 0:1.0.17-2.amzn2.0.2 will be installed ---> Package pcsc-lite-libs.x86_64 0:1.8.8-7.amzn2 will be installed ---> Package pixman.x86_64 0:0.34.0-1.amzn2.0.2 will be installed ---> Package ttmkfdir.x86_64 0:3.0.9-42.amzn2.0.2 will be installed ---> Package tzdata-java.noarch 0:2020d-2.amzn2 will be installed ---> Package xorg-x11-font-utils.x86_64 1:7.5-21.amzn2 will be installed --> Processing Dependency: libfontenc.so.1()(64bit) for package: 1:xorg-x11-font-utils-7.5-21.amzn2.x86_64 --> Running transaction check ---> Package dbus-glib.x86_64 0:0.100-7.2.amzn2 will be installed ---> Package dejavu-fonts-common.noarch 0:2.33-6.amzn2 will be installed ---> Package flac-libs.x86_64 0:1.3.0-5.amzn2.0.2 will be installed ---> Package graphite2.x86_64 0:1.3.10-1.amzn2.0.2 will be installed ---> Package gsm.x86_64 0:1.0.13-11.amzn2.0.2 will be installed ---> Package libfontenc.x86_64 0:1.1.3-3.amzn2.0.2 will be installed ---> Package libglvnd.x86_64 1:1.0.1-0.1.git5baa1e5.amzn2.0.1 will be installed ---> Package libogg.x86_64 2:1.3.0-7.amzn2.0.2 will be installed ---> Package libvorbis.x86_64 1:1.3.3-8.amzn2.0.2 will be installed ---> Package mesa-libEGL.x86_64 0:18.3.4-5.amzn2.0.1 will be installed --> Processing Dependency: mesa-libgbm = 18.3.4-5.amzn2.0.1 for package: mesa-libEGL-18.3.4-5.amzn2.0.1.x86_64 --> Processing Dependency: libxshmfence.so.1()(64bit) for package: mesa-libEGL-18.3.4-5.amzn2.0.1.x86_64 --> Processing Dependency: libwayland-server.so.0()(64bit) for package: mesa-libEGL-18.3.4-5.amzn2.0.1.x86_64 --> Processing Dependency: libwayland-client.so.0()(64bit) for package: mesa-libEGL-18.3.4-5.amzn2.0.1.x86_64 --> Processing Dependency: libglapi.so.0()(64bit) for package: mesa-libEGL-18.3.4-5.amzn2.0.1.x86_64 --> Processing Dependency: libgbm.so.1()(64bit) for package: mesa-libEGL-18.3.4-5.amzn2.0.1.x86_64 ---> Package mesa-libGL.x86_64 0:18.3.4-5.amzn2.0.1 will be installed --> Processing Dependency: libXxf86vm.so.1()(64bit) for package: mesa-libGL-18.3.4-5.amzn2.0.1.x86_64 ---> Package polkit.x86_64 0:0.112-26.amzn2 will be installed --> Processing Dependency: polkit-pkla-compat for package: polkit-0.112-26.amzn2.x86_64 --> Processing Dependency: libmozjs-17.0.so(mozjs_17.0)(64bit) for package: polkit-0.112-26.amzn2.x86_64 --> Processing Dependency: libmozjs-17.0.so()(64bit) for package: polkit-0.112-26.amzn2.x86_64 --> Running transaction check ---> Package libXxf86vm.x86_64 0:1.1.4-1.amzn2.0.2 will be installed ---> Package libwayland-client.x86_64 0:1.17.0-1.amzn2 will be installed ---> Package libwayland-server.x86_64 0:1.17.0-1.amzn2 will be installed ---> Package libxshmfence.x86_64 0:1.2-1.amzn2.0.2 will be installed ---> Package mesa-libgbm.x86_64 0:18.3.4-5.amzn2.0.1 will be installed ---> Package mesa-libglapi.x86_64 0:18.3.4-5.amzn2.0.1 will be installed ---> Package mozjs17.x86_64 0:17.0.0-20.amzn2.0.1 will be installed ---> Package polkit-pkla-compat.x86_64 0:0.1-4.amzn2.0.2 will be installed --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================================================================================================= Package Arch Version Repository Size ============================================================================================================================================================================================================================================= Installing: apache-maven noarch 3.5.2-1.el6 epel-apache-maven 8.1 M Installing for dependencies: GConf2 x86_64 3.2.6-8.amzn2.0.2 amzn2-core 1.0 M alsa-lib x86_64 1.1.4.1-2.amzn2 amzn2-core 425 k atk x86_64 2.22.0-3.amzn2.0.2 amzn2-core 258 k avahi-libs x86_64 0.6.31-20.amzn2 amzn2-core 61 k cairo x86_64 1.15.12-4.amzn2 amzn2-core 732 k copy-jdk-configs noarch 3.3-10.amzn2 amzn2-core 21 k cups-libs x86_64 1:1.6.3-51.amzn2 amzn2-core 356 k dbus-glib x86_64 0.100-7.2.amzn2 amzn2-core 103 k dejavu-fonts-common noarch 2.33-6.amzn2 amzn2-core 64 k dejavu-sans-fonts noarch 2.33-6.amzn2 amzn2-core 1.4 M flac-libs x86_64 1.3.0-5.amzn2.0.2 amzn2-core 168 k fontconfig x86_64 2.13.0-4.3.amzn2 amzn2-core 253 k fontpackages-filesystem noarch 1.44-8.amzn2 amzn2-core 10 k fribidi x86_64 1.0.2-1.amzn2.1 amzn2-core 79 k gdk-pixbuf2 x86_64 2.36.12-3.amzn2 amzn2-core 568 k giflib x86_64 4.1.6-9.amzn2.0.2 amzn2-core 40 k graphite2 x86_64 1.3.10-1.amzn2.0.2 amzn2-core 115 k gsm x86_64 1.0.13-11.amzn2.0.2 amzn2-core 30 k gtk-update-icon-cache x86_64 3.22.30-3.amzn2 amzn2-core 26 k gtk2 x86_64 2.24.31-1.amzn2.0.2 amzn2-core 3.4 M harfbuzz x86_64 1.7.5-2.amzn2 amzn2-core 279 k hicolor-icon-theme noarch 0.12-7.amzn2 amzn2-core 43 k jasper-libs x86_64 1.900.1-33.amzn2 amzn2-core 150 k java-1.7.0-openjdk x86_64 1:1.7.0.261-2.6.22.2.amzn2.0.1 amzn2-core 255 k java-1.7.0-openjdk-devel x86_64 1:1.7.0.261-2.6.22.2.amzn2.0.1 amzn2-core 9.2 M java-1.7.0-openjdk-headless x86_64 1:1.7.0.261-2.6.22.2.amzn2.0.1 amzn2-core 26 M javapackages-tools noarch 3.4.1-11.amzn2 amzn2-core 73 k libICE x86_64 1.0.9-9.amzn2.0.2 amzn2-core 67 k libSM x86_64 1.2.2-2.amzn2.0.2 amzn2-core 39 k libX11 x86_64 1.6.7-3.amzn2 amzn2-core 606 k libX11-common noarch 1.6.7-3.amzn2 amzn2-core 164 k libXau x86_64 1.0.8-2.1.amzn2.0.2 amzn2-core 29 k libXcomposite x86_64 0.4.4-4.1.amzn2.0.2 amzn2-core 22 k libXcursor x86_64 1.1.15-1.amzn2 amzn2-core 30 k libXdamage x86_64 1.1.4-4.1.amzn2.0.2 amzn2-core 20 k libXext x86_64 1.3.3-3.amzn2.0.2 amzn2-core 39 k libXfixes x86_64 5.0.3-1.amzn2.0.2 amzn2-core 18 k libXft x86_64 2.3.2-2.amzn2.0.2 amzn2-core 60 k libXi x86_64 1.7.9-1.amzn2.0.2 amzn2-core 41 k libXinerama x86_64 1.1.3-2.1.amzn2.0.2 amzn2-core 14 k libXrandr x86_64 1.5.1-2.amzn2.0.3 amzn2-core 27 k libXrender x86_64 0.9.10-1.amzn2.0.2 amzn2-core 26 k libXtst x86_64 1.2.3-1.amzn2.0.2 amzn2-core 20 k libXxf86vm x86_64 1.1.4-1.amzn2.0.2 amzn2-core 17 k libasyncns x86_64 0.8-7.amzn2.0.2 amzn2-core 26 k libfontenc x86_64 1.1.3-3.amzn2.0.2 amzn2-core 31 k libglvnd x86_64 1:1.0.1-0.1.git5baa1e5.amzn2.0.1 amzn2-core 89 k libglvnd-egl x86_64 1:1.0.1-0.1.git5baa1e5.amzn2.0.1 amzn2-core 43 k libglvnd-glx x86_64 1:1.0.1-0.1.git5baa1e5.amzn2.0.1 amzn2-core 125 k libogg x86_64 2:1.3.0-7.amzn2.0.2 amzn2-core 24 k libsndfile x86_64 1.0.25-12.amzn2 amzn2-core 149 k libthai x86_64 0.1.14-9.amzn2.0.2 amzn2-core 187 k libvorbis x86_64 1:1.3.3-8.amzn2.0.2 amzn2-core 204 k libwayland-client x86_64 1.17.0-1.amzn2 amzn2-core 34 k libwayland-server x86_64 1.17.0-1.amzn2 amzn2-core 40 k libxcb x86_64 1.12-1.amzn2.0.2 amzn2-core 216 k libxshmfence x86_64 1.2-1.amzn2.0.2 amzn2-core 7.2 k libxslt x86_64 1.1.28-6.amzn2 amzn2-core 240 k lksctp-tools x86_64 1.0.17-2.amzn2.0.2 amzn2-core 88 k mesa-libEGL x86_64 18.3.4-5.amzn2.0.1 amzn2-core 108 k mesa-libGL x86_64 18.3.4-5.amzn2.0.1 amzn2-core 162 k mesa-libgbm x86_64 18.3.4-5.amzn2.0.1 amzn2-core 38 k mesa-libglapi x86_64 18.3.4-5.amzn2.0.1 amzn2-core 45 k mozjs17 x86_64 17.0.0-20.amzn2.0.1 amzn2-core 1.4 M pango x86_64 1.42.4-4.amzn2 amzn2-core 280 k pcsc-lite-libs x86_64 1.8.8-7.amzn2 amzn2-core 35 k pixman x86_64 0.34.0-1.amzn2.0.2 amzn2-core 254 k polkit x86_64 0.112-26.amzn2 amzn2-core 170 k polkit-pkla-compat x86_64 0.1-4.amzn2.0.2 amzn2-core 39 k pulseaudio-libs x86_64 10.0-3.amzn2.0.3 amzn2-core 648 k python-javapackages noarch 3.4.1-11.amzn2 amzn2-core 31 k python-lxml x86_64 3.2.1-4.amzn2.0.2 amzn2-core 1.0 M ttmkfdir x86_64 3.0.9-42.amzn2.0.2 amzn2-core 50 k tzdata-java noarch 2020d-2.amzn2 amzn2-core 189 k xorg-x11-font-utils x86_64 1:7.5-21.amzn2 amzn2-core 103 k xorg-x11-fonts-Type1 noarch 7.5-9.amzn2 amzn2-core 521 k Transaction Summary ============================================================================================================================================================================================================================================= Install 1 Package (+76 Dependent packages) Total download size: 61 M Installed size: 203 M Downloading packages: (1/77): alsa-lib-1.1.4.1-2.amzn2.x86_64.rpm | 425 kB 00:00:00 (2/77): atk-2.22.0-3.amzn2.0.2.x86_64.rpm | 258 kB 00:00:00 (3/77): GConf2-3.2.6-8.amzn2.0.2.x86_64.rpm | 1.0 MB 00:00:00 (4/77): avahi-libs-0.6.31-20.amzn2.x86_64.rpm | 61 kB 00:00:00 (5/77): copy-jdk-configs-3.3-10.amzn2.noarch.rpm | 21 kB 00:00:00 (6/77): cairo-1.15.12-4.amzn2.x86_64.rpm | 732 kB 00:00:00 (7/77): cups-libs-1.6.3-51.amzn2.x86_64.rpm | 356 kB 00:00:00 (8/77): dbus-glib-0.100-7.2.amzn2.x86_64.rpm | 103 kB 00:00:00 (9/77): dejavu-fonts-common-2.33-6.amzn2.noarch.rpm | 64 kB 00:00:00 (10/77): dejavu-sans-fonts-2.33-6.amzn2.noarch.rpm | 1.4 MB 00:00:00 (11/77): flac-libs-1.3.0-5.amzn2.0.2.x86_64.rpm | 168 kB 00:00:00 (12/77): fontconfig-2.13.0-4.3.amzn2.x86_64.rpm | 253 kB 00:00:00 (13/77): fontpackages-filesystem-1.44-8.amzn2.noarch.rpm | 10 kB 00:00:00 (14/77): fribidi-1.0.2-1.amzn2.1.x86_64.rpm | 79 kB 00:00:00 (15/77): gdk-pixbuf2-2.36.12-3.amzn2.x86_64.rpm | 568 kB 00:00:00 (16/77): giflib-4.1.6-9.amzn2.0.2.x86_64.rpm | 40 kB 00:00:00 (17/77): gsm-1.0.13-11.amzn2.0.2.x86_64.rpm | 30 kB 00:00:00 (18/77): graphite2-1.3.10-1.amzn2.0.2.x86_64.rpm | 115 kB 00:00:00 (19/77): gtk-update-icon-cache-3.22.30-3.amzn2.x86_64.rpm | 26 kB 00:00:00 (20/77): harfbuzz-1.7.5-2.amzn2.x86_64.rpm | 279 kB 00:00:00 (21/77): hicolor-icon-theme-0.12-7.amzn2.noarch.rpm | 43 kB 00:00:00 (22/77): jasper-libs-1.900.1-33.amzn2.x86_64.rpm | 150 kB 00:00:00 (23/77): gtk2-2.24.31-1.amzn2.0.2.x86_64.rpm | 3.4 MB 00:00:00 (24/77): java-1.7.0-openjdk-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64.rpm | 255 kB 00:00:00 (25/77): apache-maven-3.5.2-1.el6.noarch.rpm | 8.1 MB 00:00:01 (26/77): java-1.7.0-openjdk-devel-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64.rpm | 9.2 MB 00:00:00 (27/77): javapackages-tools-3.4.1-11.amzn2.noarch.rpm | 73 kB 00:00:00 (28/77): libICE-1.0.9-9.amzn2.0.2.x86_64.rpm | 67 kB 00:00:00 (29/77): libSM-1.2.2-2.amzn2.0.2.x86_64.rpm | 39 kB 00:00:00 (30/77): libX11-1.6.7-3.amzn2.x86_64.rpm | 606 kB 00:00:00 (31/77): libX11-common-1.6.7-3.amzn2.noarch.rpm | 164 kB 00:00:00 (32/77): libXau-1.0.8-2.1.amzn2.0.2.x86_64.rpm | 29 kB 00:00:00 (33/77): libXcomposite-0.4.4-4.1.amzn2.0.2.x86_64.rpm | 22 kB 00:00:00 (34/77): libXcursor-1.1.15-1.amzn2.x86_64.rpm | 30 kB 00:00:00 (35/77): libXdamage-1.1.4-4.1.amzn2.0.2.x86_64.rpm | 20 kB 00:00:00 (36/77): libXext-1.3.3-3.amzn2.0.2.x86_64.rpm | 39 kB 00:00:00 (37/77): libXfixes-5.0.3-1.amzn2.0.2.x86_64.rpm | 18 kB 00:00:00 (38/77): libXft-2.3.2-2.amzn2.0.2.x86_64.rpm | 60 kB 00:00:00 (39/77): libXi-1.7.9-1.amzn2.0.2.x86_64.rpm | 41 kB 00:00:00 (40/77): libXinerama-1.1.3-2.1.amzn2.0.2.x86_64.rpm | 14 kB 00:00:00 (41/77): libXrandr-1.5.1-2.amzn2.0.3.x86_64.rpm | 27 kB 00:00:00 (42/77): libXrender-0.9.10-1.amzn2.0.2.x86_64.rpm | 26 kB 00:00:00 (43/77): libXtst-1.2.3-1.amzn2.0.2.x86_64.rpm | 20 kB 00:00:00 (44/77): libXxf86vm-1.1.4-1.amzn2.0.2.x86_64.rpm | 17 kB 00:00:00 (45/77): libasyncns-0.8-7.amzn2.0.2.x86_64.rpm | 26 kB 00:00:00 (46/77): java-1.7.0-openjdk-headless-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64.rpm | 26 MB 00:00:01 (47/77): libfontenc-1.1.3-3.amzn2.0.2.x86_64.rpm | 31 kB 00:00:00 (48/77): libglvnd-1.0.1-0.1.git5baa1e5.amzn2.0.1.x86_64.rpm | 89 kB 00:00:00 (49/77): libglvnd-egl-1.0.1-0.1.git5baa1e5.amzn2.0.1.x86_64.rpm | 43 kB 00:00:00 (50/77): libglvnd-glx-1.0.1-0.1.git5baa1e5.amzn2.0.1.x86_64.rpm | 125 kB 00:00:00 (51/77): libsndfile-1.0.25-12.amzn2.x86_64.rpm | 149 kB 00:00:00 (52/77): libogg-1.3.0-7.amzn2.0.2.x86_64.rpm | 24 kB 00:00:00 (53/77): libvorbis-1.3.3-8.amzn2.0.2.x86_64.rpm | 204 kB 00:00:00 (54/77): libwayland-client-1.17.0-1.amzn2.x86_64.rpm | 34 kB 00:00:00 (55/77): libthai-0.1.14-9.amzn2.0.2.x86_64.rpm | 187 kB 00:00:00 (56/77): libwayland-server-1.17.0-1.amzn2.x86_64.rpm | 40 kB 00:00:00 (57/77): libxshmfence-1.2-1.amzn2.0.2.x86_64.rpm | 7.2 kB 00:00:00 (58/77): libxcb-1.12-1.amzn2.0.2.x86_64.rpm | 216 kB 00:00:00 (59/77): lksctp-tools-1.0.17-2.amzn2.0.2.x86_64.rpm | 88 kB 00:00:00 (60/77): libxslt-1.1.28-6.amzn2.x86_64.rpm | 240 kB 00:00:00 (61/77): mesa-libEGL-18.3.4-5.amzn2.0.1.x86_64.rpm | 108 kB 00:00:00 (62/77): mesa-libGL-18.3.4-5.amzn2.0.1.x86_64.rpm | 162 kB 00:00:00 (63/77): mesa-libgbm-18.3.4-5.amzn2.0.1.x86_64.rpm | 38 kB 00:00:00 (64/77): mesa-libglapi-18.3.4-5.amzn2.0.1.x86_64.rpm | 45 kB 00:00:00 (65/77): pango-1.42.4-4.amzn2.x86_64.rpm | 280 kB 00:00:00 (66/77): pcsc-lite-libs-1.8.8-7.amzn2.x86_64.rpm | 35 kB 00:00:00 (67/77): mozjs17-17.0.0-20.amzn2.0.1.x86_64.rpm | 1.4 MB 00:00:00 (68/77): polkit-0.112-26.amzn2.x86_64.rpm | 170 kB 00:00:00 (69/77): pixman-0.34.0-1.amzn2.0.2.x86_64.rpm | 254 kB 00:00:00 (70/77): polkit-pkla-compat-0.1-4.amzn2.0.2.x86_64.rpm | 39 kB 00:00:00 (71/77): python-javapackages-3.4.1-11.amzn2.noarch.rpm | 31 kB 00:00:00 (72/77): pulseaudio-libs-10.0-3.amzn2.0.3.x86_64.rpm | 648 kB 00:00:00 (73/77): ttmkfdir-3.0.9-42.amzn2.0.2.x86_64.rpm | 50 kB 00:00:00 (74/77): python-lxml-3.2.1-4.amzn2.0.2.x86_64.rpm | 1.0 MB 00:00:00 (75/77): tzdata-java-2020d-2.amzn2.noarch.rpm | 189 kB 00:00:00 (76/77): xorg-x11-font-utils-7.5-21.amzn2.x86_64.rpm | 103 kB 00:00:00 (77/77): xorg-x11-fonts-Type1-7.5-9.amzn2.noarch.rpm | 521 kB 00:00:00 --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 26 MB/s | 61 MB 00:00:02 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : libICE-1.0.9-9.amzn2.0.2.x86_64 1/77 Installing : 2:libogg-1.3.0-7.amzn2.0.2.x86_64 2/77 Installing : mesa-libglapi-18.3.4-5.amzn2.0.1.x86_64 3/77 Installing : libSM-1.2.2-2.amzn2.0.2.x86_64 4/77 Installing : libxslt-1.1.28-6.amzn2.x86_64 5/77 Installing : atk-2.22.0-3.amzn2.0.2.x86_64 6/77 Installing : fontpackages-filesystem-1.44-8.amzn2.noarch 7/77 Installing : 1:libglvnd-1.0.1-0.1.git5baa1e5.amzn2.0.1.x86_64 8/77 Installing : libxshmfence-1.2-1.amzn2.0.2.x86_64 9/77 Installing : libwayland-server-1.17.0-1.amzn2.x86_64 10/77 Installing : mesa-libgbm-18.3.4-5.amzn2.0.1.x86_64 11/77 Installing : dejavu-fonts-common-2.33-6.amzn2.noarch 12/77 Installing : dejavu-sans-fonts-2.33-6.amzn2.noarch 13/77 Installing : fontconfig-2.13.0-4.3.amzn2.x86_64 14/77 Installing : python-lxml-3.2.1-4.amzn2.0.2.x86_64 15/77 Installing : python-javapackages-3.4.1-11.amzn2.noarch 16/77 Installing : javapackages-tools-3.4.1-11.amzn2.noarch 17/77 Installing : 1:libvorbis-1.3.3-8.amzn2.0.2.x86_64 18/77 Installing : flac-libs-1.3.0-5.amzn2.0.2.x86_64 19/77 Installing : mozjs17-17.0.0-20.amzn2.0.1.x86_64 20/77 Installing : polkit-0.112-26.amzn2.x86_64 21/77 Installing : polkit-pkla-compat-0.1-4.amzn2.0.2.x86_64 22/77 Installing : graphite2-1.3.10-1.amzn2.0.2.x86_64 23/77 Installing : harfbuzz-1.7.5-2.amzn2.x86_64 24/77 Installing : jasper-libs-1.900.1-33.amzn2.x86_64 25/77 Installing : copy-jdk-configs-3.3-10.amzn2.noarch 26/77 Installing : pcsc-lite-libs-1.8.8-7.amzn2.x86_64 27/77 Installing : fribidi-1.0.2-1.amzn2.1.x86_64 28/77 Installing : libwayland-client-1.17.0-1.amzn2.x86_64 29/77 Installing : lksctp-tools-1.0.17-2.amzn2.0.2.x86_64 30/77 Installing : libfontenc-1.1.3-3.amzn2.0.2.x86_64 31/77 Installing : 1:xorg-x11-font-utils-7.5-21.amzn2.x86_64 32/77 Installing : libasyncns-0.8-7.amzn2.0.2.x86_64 33/77 Installing : gsm-1.0.13-11.amzn2.0.2.x86_64 34/77 Installing : libsndfile-1.0.25-12.amzn2.x86_64 35/77 Installing : ttmkfdir-3.0.9-42.amzn2.0.2.x86_64 36/77 Installing : xorg-x11-fonts-Type1-7.5-9.amzn2.noarch 37/77 Installing : hicolor-icon-theme-0.12-7.amzn2.noarch 38/77 Installing : dbus-glib-0.100-7.2.amzn2.x86_64 39/77 Installing : GConf2-3.2.6-8.amzn2.0.2.x86_64 40/77 Installing : avahi-libs-0.6.31-20.amzn2.x86_64 41/77 Installing : 1:cups-libs-1.6.3-51.amzn2.x86_64 42/77 Installing : libthai-0.1.14-9.amzn2.0.2.x86_64 43/77 Installing : libXau-1.0.8-2.1.amzn2.0.2.x86_64 44/77 Installing : libxcb-1.12-1.amzn2.0.2.x86_64 45/77 Installing : alsa-lib-1.1.4.1-2.amzn2.x86_64 46/77 Installing : tzdata-java-2020d-2.amzn2.noarch 47/77 Installing : 1:java-1.7.0-openjdk-headless-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 48/77 Installing : libX11-common-1.6.7-3.amzn2.noarch 49/77 Installing : libX11-1.6.7-3.amzn2.x86_64 50/77 Installing : libXext-1.3.3-3.amzn2.0.2.x86_64 51/77 Installing : libXrender-0.9.10-1.amzn2.0.2.x86_64 52/77 Installing : libXfixes-5.0.3-1.amzn2.0.2.x86_64 53/77 Installing : libXi-1.7.9-1.amzn2.0.2.x86_64 54/77 Installing : gdk-pixbuf2-2.36.12-3.amzn2.x86_64 55/77 Installing : libXtst-1.2.3-1.amzn2.0.2.x86_64 56/77 Installing : libXdamage-1.1.4-4.1.amzn2.0.2.x86_64 57/77 Installing : libXcomposite-0.4.4-4.1.amzn2.0.2.x86_64 58/77 Installing : pulseaudio-libs-10.0-3.amzn2.0.3.x86_64 59/77 Installing : gtk-update-icon-cache-3.22.30-3.amzn2.x86_64 60/77 Installing : libXcursor-1.1.15-1.amzn2.x86_64 61/77 Installing : libXrandr-1.5.1-2.amzn2.0.3.x86_64 62/77 Installing : libXft-2.3.2-2.amzn2.0.2.x86_64 63/77 Installing : libXinerama-1.1.3-2.1.amzn2.0.2.x86_64 64/77 Installing : libXxf86vm-1.1.4-1.amzn2.0.2.x86_64 65/77 Installing : 1:libglvnd-glx-1.0.1-0.1.git5baa1e5.amzn2.0.1.x86_64 66/77 Installing : mesa-libGL-18.3.4-5.amzn2.0.1.x86_64 67/77 Installing : 1:libglvnd-egl-1.0.1-0.1.git5baa1e5.amzn2.0.1.x86_64 68/77 Installing : mesa-libEGL-18.3.4-5.amzn2.0.1.x86_64 69/77 Installing : giflib-4.1.6-9.amzn2.0.2.x86_64 70/77 Installing : pixman-0.34.0-1.amzn2.0.2.x86_64 71/77 Installing : cairo-1.15.12-4.amzn2.x86_64 72/77 Installing : pango-1.42.4-4.amzn2.x86_64 73/77 Installing : gtk2-2.24.31-1.amzn2.0.2.x86_64 74/77 Installing : 1:java-1.7.0-openjdk-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 75/77 Installing : 1:java-1.7.0-openjdk-devel-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 76/77 Installing : apache-maven-3.5.2-1.el6.noarch 77/77 Verifying : libSM-1.2.2-2.amzn2.0.2.x86_64 1/77 Verifying : 1:libvorbis-1.3.3-8.amzn2.0.2.x86_64 2/77 Verifying : GConf2-3.2.6-8.amzn2.0.2.x86_64 3/77 Verifying : libwayland-server-1.17.0-1.amzn2.x86_64 4/77 Verifying : flac-libs-1.3.0-5.amzn2.0.2.x86_64 5/77 Verifying : mesa-libglapi-18.3.4-5.amzn2.0.1.x86_64 6/77 Verifying : libxshmfence-1.2-1.amzn2.0.2.x86_64 7/77 Verifying : 1:xorg-x11-font-utils-7.5-21.amzn2.x86_64 8/77 Verifying : 1:libglvnd-1.0.1-0.1.git5baa1e5.amzn2.0.1.x86_64 9/77 Verifying : 1:libglvnd-egl-1.0.1-0.1.git5baa1e5.amzn2.0.1.x86_64 10/77 Verifying : libXdamage-1.1.4-4.1.amzn2.0.2.x86_64 11/77 Verifying : fontpackages-filesystem-1.44-8.amzn2.noarch 12/77 Verifying : mesa-libEGL-18.3.4-5.amzn2.0.1.x86_64 13/77 Verifying : 1:java-1.7.0-openjdk-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 14/77 Verifying : pango-1.42.4-4.amzn2.x86_64 15/77 Verifying : pixman-0.34.0-1.amzn2.0.2.x86_64 16/77 Verifying : dejavu-fonts-common-2.33-6.amzn2.noarch 17/77 Verifying : libxcb-1.12-1.amzn2.0.2.x86_64 18/77 Verifying : atk-2.22.0-3.amzn2.0.2.x86_64 19/77 Verifying : mesa-libGL-18.3.4-5.amzn2.0.1.x86_64 20/77 Verifying : libXext-1.3.3-3.amzn2.0.2.x86_64 21/77 Verifying : libX11-common-1.6.7-3.amzn2.noarch 22/77 Verifying : pulseaudio-libs-10.0-3.amzn2.0.3.x86_64 23/77 Verifying : apache-maven-3.5.2-1.el6.noarch 24/77 Verifying : cairo-1.15.12-4.amzn2.x86_64 25/77 Verifying : libXcursor-1.1.15-1.amzn2.x86_64 26/77 Verifying : 1:java-1.7.0-openjdk-devel-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 27/77 Verifying : python-lxml-3.2.1-4.amzn2.0.2.x86_64 28/77 Verifying : polkit-0.112-26.amzn2.x86_64 29/77 Verifying : gtk-update-icon-cache-3.22.30-3.amzn2.x86_64 30/77 Verifying : libXcomposite-0.4.4-4.1.amzn2.0.2.x86_64 31/77 Verifying : tzdata-java-2020d-2.amzn2.noarch 32/77 Verifying : alsa-lib-1.1.4.1-2.amzn2.x86_64 33/77 Verifying : 1:cups-libs-1.6.3-51.amzn2.x86_64 34/77 Verifying : libXau-1.0.8-2.1.amzn2.0.2.x86_64 35/77 Verifying : 1:java-1.7.0-openjdk-headless-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64 36/77 Verifying : libthai-0.1.14-9.amzn2.0.2.x86_64 37/77 Verifying : xorg-x11-fonts-Type1-7.5-9.amzn2.noarch 38/77 Verifying : libXrandr-1.5.1-2.amzn2.0.3.x86_64 39/77 Verifying : gtk2-2.24.31-1.amzn2.0.2.x86_64 40/77 Verifying : libXrender-0.9.10-1.amzn2.0.2.x86_64 41/77 Verifying : libX11-1.6.7-3.amzn2.x86_64 42/77 Verifying : avahi-libs-0.6.31-20.amzn2.x86_64 43/77 Verifying : dbus-glib-0.100-7.2.amzn2.x86_64 44/77 Verifying : dejavu-sans-fonts-2.33-6.amzn2.noarch 45/77 Verifying : fontconfig-2.13.0-4.3.amzn2.x86_64 46/77 Verifying : 2:libogg-1.3.0-7.amzn2.0.2.x86_64 47/77 Verifying : gdk-pixbuf2-2.36.12-3.amzn2.x86_64 48/77 Verifying : hicolor-icon-theme-0.12-7.amzn2.noarch 49/77 Verifying : harfbuzz-1.7.5-2.amzn2.x86_64 50/77 Verifying : mesa-libgbm-18.3.4-5.amzn2.0.1.x86_64 51/77 Verifying : giflib-4.1.6-9.amzn2.0.2.x86_64 52/77 Verifying : ttmkfdir-3.0.9-42.amzn2.0.2.x86_64 53/77 Verifying : libXinerama-1.1.3-2.1.amzn2.0.2.x86_64 54/77 Verifying : libXi-1.7.9-1.amzn2.0.2.x86_64 55/77 Verifying : gsm-1.0.13-11.amzn2.0.2.x86_64 56/77 Verifying : libasyncns-0.8-7.amzn2.0.2.x86_64 57/77 Verifying : libXxf86vm-1.1.4-1.amzn2.0.2.x86_64 58/77 Verifying : libfontenc-1.1.3-3.amzn2.0.2.x86_64 59/77 Verifying : lksctp-tools-1.0.17-2.amzn2.0.2.x86_64 60/77 Verifying : libwayland-client-1.17.0-1.amzn2.x86_64 61/77 Verifying : libxslt-1.1.28-6.amzn2.x86_64 62/77 Verifying : fribidi-1.0.2-1.amzn2.1.x86_64 63/77 Verifying : pcsc-lite-libs-1.8.8-7.amzn2.x86_64 64/77 Verifying : libXtst-1.2.3-1.amzn2.0.2.x86_64 65/77 Verifying : libsndfile-1.0.25-12.amzn2.x86_64 66/77 Verifying : libXft-2.3.2-2.amzn2.0.2.x86_64 67/77 Verifying : copy-jdk-configs-3.3-10.amzn2.noarch 68/77 Verifying : polkit-pkla-compat-0.1-4.amzn2.0.2.x86_64 69/77 Verifying : python-javapackages-3.4.1-11.amzn2.noarch 70/77 Verifying : jasper-libs-1.900.1-33.amzn2.x86_64 71/77 Verifying : 1:libglvnd-glx-1.0.1-0.1.git5baa1e5.amzn2.0.1.x86_64 72/77 Verifying : libXfixes-5.0.3-1.amzn2.0.2.x86_64 73/77 Verifying : libICE-1.0.9-9.amzn2.0.2.x86_64 74/77 Verifying : graphite2-1.3.10-1.amzn2.0.2.x86_64 75/77 Verifying : mozjs17-17.0.0-20.amzn2.0.1.x86_64 76/77 Verifying : javapackages-tools-3.4.1-11.amzn2.noarch 77/77 Installed: apache-maven.noarch 0:3.5.2-1.el6 Dependency Installed: GConf2.x86_64 0:3.2.6-8.amzn2.0.2 alsa-lib.x86_64 0:1.1.4.1-2.amzn2 atk.x86_64 0:2.22.0-3.amzn2.0.2 avahi-libs.x86_64 0:0.6.31-20.amzn2 cairo.x86_64 0:1.15.12-4.amzn2 copy-jdk-configs.noarch 0:3.3-10.amzn2 cups-libs.x86_64 1:1.6.3-51.amzn2 dbus-glib.x86_64 0:0.100-7.2.amzn2 dejavu-fonts-common.noarch 0:2.33-6.amzn2 dejavu-sans-fonts.noarch 0:2.33-6.amzn2 flac-libs.x86_64 0:1.3.0-5.amzn2.0.2 fontconfig.x86_64 0:2.13.0-4.3.amzn2 fontpackages-filesystem.noarch 0:1.44-8.amzn2 fribidi.x86_64 0:1.0.2-1.amzn2.1 gdk-pixbuf2.x86_64 0:2.36.12-3.amzn2 giflib.x86_64 0:4.1.6-9.amzn2.0.2 graphite2.x86_64 0:1.3.10-1.amzn2.0.2 gsm.x86_64 0:1.0.13-11.amzn2.0.2 gtk-update-icon-cache.x86_64 0:3.22.30-3.amzn2 gtk2.x86_64 0:2.24.31-1.amzn2.0.2 harfbuzz.x86_64 0:1.7.5-2.amzn2 hicolor-icon-theme.noarch 0:0.12-7.amzn2 jasper-libs.x86_64 0:1.900.1-33.amzn2 java-1.7.0-openjdk.x86_64 1:1.7.0.261-2.6.22.2.amzn2.0.1 java-1.7.0-openjdk-devel.x86_64 1:1.7.0.261-2.6.22.2.amzn2.0.1 java-1.7.0-openjdk-headless.x86_64 1:1.7.0.261-2.6.22.2.amzn2.0.1 javapackages-tools.noarch 0:3.4.1-11.amzn2 libICE.x86_64 0:1.0.9-9.amzn2.0.2 libSM.x86_64 0:1.2.2-2.amzn2.0.2 libX11.x86_64 0:1.6.7-3.amzn2 libX11-common.noarch 0:1.6.7-3.amzn2 libXau.x86_64 0:1.0.8-2.1.amzn2.0.2 libXcomposite.x86_64 0:0.4.4-4.1.amzn2.0.2 libXcursor.x86_64 0:1.1.15-1.amzn2 libXdamage.x86_64 0:1.1.4-4.1.amzn2.0.2 libXext.x86_64 0:1.3.3-3.amzn2.0.2 libXfixes.x86_64 0:5.0.3-1.amzn2.0.2 libXft.x86_64 0:2.3.2-2.amzn2.0.2 libXi.x86_64 0:1.7.9-1.amzn2.0.2 libXinerama.x86_64 0:1.1.3-2.1.amzn2.0.2 libXrandr.x86_64 0:1.5.1-2.amzn2.0.3 libXrender.x86_64 0:0.9.10-1.amzn2.0.2 libXtst.x86_64 0:1.2.3-1.amzn2.0.2 libXxf86vm.x86_64 0:1.1.4-1.amzn2.0.2 libasyncns.x86_64 0:0.8-7.amzn2.0.2 libfontenc.x86_64 0:1.1.3-3.amzn2.0.2 libglvnd.x86_64 1:1.0.1-0.1.git5baa1e5.amzn2.0.1 libglvnd-egl.x86_64 1:1.0.1-0.1.git5baa1e5.amzn2.0.1 libglvnd-glx.x86_64 1:1.0.1-0.1.git5baa1e5.amzn2.0.1 libogg.x86_64 2:1.3.0-7.amzn2.0.2 libsndfile.x86_64 0:1.0.25-12.amzn2 libthai.x86_64 0:0.1.14-9.amzn2.0.2 libvorbis.x86_64 1:1.3.3-8.amzn2.0.2 libwayland-client.x86_64 0:1.17.0-1.amzn2 libwayland-server.x86_64 0:1.17.0-1.amzn2 libxcb.x86_64 0:1.12-1.amzn2.0.2 libxshmfence.x86_64 0:1.2-1.amzn2.0.2 libxslt.x86_64 0:1.1.28-6.amzn2 lksctp-tools.x86_64 0:1.0.17-2.amzn2.0.2 mesa-libEGL.x86_64 0:18.3.4-5.amzn2.0.1 mesa-libGL.x86_64 0:18.3.4-5.amzn2.0.1 mesa-libgbm.x86_64 0:18.3.4-5.amzn2.0.1 mesa-libglapi.x86_64 0:18.3.4-5.amzn2.0.1 mozjs17.x86_64 0:17.0.0-20.amzn2.0.1 pango.x86_64 0:1.42.4-4.amzn2 pcsc-lite-libs.x86_64 0:1.8.8-7.amzn2 pixman.x86_64 0:0.34.0-1.amzn2.0.2 polkit.x86_64 0:0.112-26.amzn2 polkit-pkla-compat.x86_64 0:0.1-4.amzn2.0.2 pulseaudio-libs.x86_64 0:10.0-3.amzn2.0.3 python-javapackages.noarch 0:3.4.1-11.amzn2 python-lxml.x86_64 0:3.2.1-4.amzn2.0.2 ttmkfdir.x86_64 0:3.0.9-42.amzn2.0.2 tzdata-java.noarch 0:2020d-2.amzn2 xorg-x11-font-utils.x86_64 1:7.5-21.amzn2 xorg-x11-fonts-Type1.noarch 0:7.5-9.amzn2 Complete! [ec2-user@ip-172-31-81-123 ~]$
Subscribe to:
Posts (Atom)