Category: Red Hat Enterprise Linux 7

Recovering Files from EBS Backup’s Recover Command on Linux Server

Linux Step-by-step guide Log in to an SSH session Change to the directory that needs to have a file or folder restored cd /etc execute recover recover versions versions Change the restore time to an earlier date closer to the backup...

firewalld examples on RHEL7

firewall-cmd –get-zones MYSQL SERVER firewall-cmd --permanent --zone=public --change-interface=eth0 firewall-cmd --permanent --zone=public --list-all firewall-cmd --permanent --zone=public --add-port=3306/tcp firewall-cmd --reload CONFLUENCE, JIRA & QUALYS firewall-cmd --permanent --zone=public --add-port=80/tcp firewall-cmd --permanent --zone=public --add-port=443/tcp firewall-cmd --permanent --zone=public --add-port=8090/tcp firewall-cmd --permanent --zone=public --add-port=8080/tcp firewall-cmd --permanent --zone=public...

EBS Networker Legato client on RHEL7 with Firewall Rules

Extract the RPMs from the downloaded file tar xvzf nw821_linux_x86_64.tar.gz Install the RPM using Yum cd linux_x86_64/ yum install lgtoclnt-8.2.1-1.x86_64.rpm Add Exclusions to the Firewall using Firewalld Create Firewall Service Profile for Networker [root@CYRIL services]# cat /etc/firewalld/services/Networker.xml <?xml version="1.0" encoding="utf-8"?> <service>...

Create systemd service on RHEL7 for Atlassian Crowd

[root@testserv]# cat /usr/lib/systemd/system/crowd.service [Unit] Description=Crowd Service After=network.target iptables.service firewalld.service firewalld.service httpd.service [Service] Type=forking User=root Environment=JRE_HOME=/usr/java/jdk1.8.0_74 ExecStart=/opt/atlassian/atlassian-crowd-2.8.4/bin/start_crowd.sh ExecStop=/opt/atlassian/atlassian-crowd-2.8.4/bin/stop_crowd.sh ExecReload=/opt/atlassian/atlassian-crowd-2.8.4/bin/stop_crowd.sh | sleep 60 | //opt/atlassian/atlassian-crowd-2.8.4/bin/start_crowd.sh [Install] WantedBy=multi-user.target Register new service systemctl daemon-reload systemctl enable crowd.service systemctl start crowd.service   Please follow and like...

Create Oracle DB user for Qualys Scanner

Create User: CREATE PROFILE "QUALYS_PROFILE" LIMIT FAILED_LOGIN_ATTEMPTS 3 PASSWORD_GRACE_TIME 10 PASSWORD_REUSE_TIME UNLIMITED PASSWORD_LIFE_TIME UNLIMITED PASSWORD_REUSE_MAX 1; CREATE USER "QUALYS_SCAN" PROFILE "QUALYS_PROFILE" IDENTIFIED BY "<QUALYS_PASSWORD>" DEFAULT TABLESPACE "USERS" ACCOUNT UNLOCK; CREATE ROLE "QUALYS_ROLE"; GRANT "QUALYS_ROLE" TO "QUALYS_SCAN"; CREATE OR REPLACE VIEW SYS.QUALYS$KSPPCV...

DataStage Designer, Admin or Manager clients: runtime error 457 – Reindex Datastage

  Run-time error 457 logging into project in IBM InfoSphere DataStage from http://www-01.ibm.com/support/docview.wss?uid=swg21446213 Users cannot login to a particular project using DataStage clients (Designer, Director, or Manager) and encounter the error: “Run-time error ‘457’: This key is already associated with an element of...