User contributions for Ardika Sulistija

A user with 225 edits. Account created on 13 May 2024.
Jump to: navigation, search
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)

11 September 2024

  • 14:2814:28, 11 September 2024 diff hist +224 N SplunkCreated page with "the key command you will want to use to set up a universal forwarder to be a clean template on an VM image would be: /opt/splunkforwarder/bin/splunk clone-prep-clear-config There is also a seed.conf file that can be used." current
  • 14:2714:27, 11 September 2024 diff hist +55 N SplitCreated page with "THIS PAGE IS UNDER CONSTRUCTION, PLEASE VISIT BACK SOON" current
  • 14:2714:27, 11 September 2024 diff hist +1,380 N SosreportCreated page with "Add notes here Very useful! https://access.redhat.com/solutions/3592 https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/pdf/generating_sos_reports_for_technical_support/red_hat_enterprise_linux-8-generating_sos_reports_for_technical_support-en-us.pdf ==== How to get sosreport on AL2 ===== - https://github.com/sosreport/sos/issues/1563 Which mentions GitHub repo for sos-amazon-linux: - https://github.com/TurboTurtle/sos/tree/amazon-linux And t..." current
  • 14:2714:27, 11 September 2024 diff hist +6,023 N SedCreated page with "ADD NOTES: https://stackoverflow.com/questions/29399790/comment-out-lines-in-fstab-with-bash-script </br> https://www.bitdoze.com/sed-insert-append-text/#appending-text-with-sed You can use sed to print out specific lines of a file. I'm sure there's more you can do with sed but this is what I have for now. How to remove a line that contains a string like "aws-replication" from a file: # grep -i aws-replication test disk:x:6:aws-replication aws-replication:x:1001:..." current
  • 14:2714:27, 11 September 2024 diff hist +11,414 N SUSE LinuxCreated page with "====SUSE Public Cloud Infrastructure Update==== ---- SUSE has recently made changes to their Public Cloud Update Infrastructure starting June 1, 2020, which is known to cause issues when trying to reach the SUSE repositories as the repositories were no longer present. SUSE has shifted from IP based restrictions to Instance billing code-based restrictions. Per SUSE's official documentation [1], the instances must upgrade the package "<b>cloud-regionsrv-client</b>" to ve..." current
  • 14:2614:26, 11 September 2024 diff hist +4,542 N SSMCreated page with " ====Run Command Troubleshooting Checklist==== ---- * Verify if the instance is online (SSM agent pre-requisites). Is the Agent up to date? * Verify if SSM document supports the type of instance you want to target (Windows and Linux) * Ask for command ID and verify the status in SSM K2 page from SSM dashboard or from Admiral page. * Check the logs and the stdout location: ** The agent also stores the script (_script.ps1) and outputs (stderr and stdout) in the worker (<..." current
  • 14:2614:26, 11 September 2024 diff hist +23,396 N SSL / TLSCreated page with "ADD NOTES:</br> <b>What Happens in a TLS Handshake?</b>: https://www.cloudflare.com/learning/ssl/what-happens-in-a-tls-handshake/</br> <b>Good Video</b>: https://www.youtube.com/watch?v=T4Df5_cojAs</br> ====What is SSL?==== ---- <b>How Does SSL Work?</b>: https://www.cloudflare.com/learning/ssl/how-does-ssl-work/</br> <b>SSL</b> stands for Secure Sockets Layer. A protocol for encrypting and securing communications that take place on the Internet. SSL was replaced..." current
  • 14:2614:26, 11 September 2024 diff hist +15,852 N SSHCreated page with " <b>ssh</b> — SSH stands for <b>Secure Shell</b>. OpenSSH SSH client (remote login program). The <b>SSH</b> protocol <b>uses encryption to secure the connection between a client and a server</b>. All user authentication, commands, output, and file transfers are encrypted to protect against attacks in the network. Uses for SSH protocol: * Providing secure access for users and automated processes. * Interactive and automated file transfers * Issuing remote commands..." current
  • 14:2614:26, 11 September 2024 diff hist +58 N SSCreated page with "https://www.rootusers.com/21-ss-command-examples-in-linux/" current
  • 14:2514:25, 11 September 2024 diff hist +5,665 N SFTPCreated page with " <B>SFTP</B> - Secure File Transfer Protocol ---- To open an SFTP connection to a remote system, use the sftp command followed by the remote server username and the IP address or domain name: sftp remote_username@server_ip_or_hostname Once connected, you will be presented with the sftp prompt, and you can start interacting with the remote machine: # To 'get' Download file usin SFTP from remote server to your local machine. sftp> get [file] # To 'put Upload f..." current
  • 14:2514:25, 11 September 2024 diff hist +47 N SELinuxCreated page with "https://phoenixnap.com/kb/enable-selinux-centos" current
  • 14:2514:25, 11 September 2024 diff hist +1,255 N SCSICreated page with "SCSI CONTROLLERS: ----------------- Windows vCenter ioc0:0:0:4:0 ioc0:0:0:3:0 ioc0:0:0:2:0 ioc0:0:0:0:0 ioc0:0:0:1:0 ioc2:1:0:4:0 you can see the address of device and ioc0, ioc2 mean different SCSI controllers in original vCenter LINUX -- Determine SCSI ID from Device Names in Linux (/dev/sdX) -------------------------------------------------------------------- To determine the SCSI ID from device names enter ls -d /sys/block/sd*/device/scsi_device/* linux:~ #..." current
  • 14:2414:24, 11 September 2024 diff hist +810 N SCPCreated page with " <B>SCP</B> - Secure copy (remote file copy program) ---- Examples: # Copy files from current directory in local machine to remote host: scp -i "/home/ardika/.ssh/main_ardika_vm_key" ec2_instance.sh num_files_dir.sh subnet_script.sh subnet_script_v2.sh ardika@3.83.174.147:git_scripts # Copy files from remote host directory to local machine: scp -i "~/.ssh/ireland_key" ec2-user@54.216.87.247:~/packetcap.pcap ~/Downloads/ ====Use SCP to download/upload file fr..." current
  • 14:2414:24, 11 September 2024 diff hist +783 N RsyncCreated page with " <B>rsync</B> - A fast, versattile, remote (and local) file-copying tool. Like SCP, but faster and you can sync. ==== How to Use Rsync Between Remote and Local Servers ==== ---- Basic SSH format: rsync -avpe '[ssh]' [source] [destination@x.x.x.x:/dir/] To copy from remote server to local host: rsync -avpe "ssh -i /home/user/.ssh/key" user@lo.cal.i.p:/home/user/file /dir/file # Example: rsync -avpe "ssh -i /home/ardika/.ssh/home_vm_key" ardika@192.168.0.2:/hom..." current
  • 14:2414:24, 11 September 2024 diff hist +925 N Rocky LinuxCreated page with "https://docs.rockylinux.org/books/admin_guide/10-boot/ https://docs.rockylinux.org/fr/books/admin_guide/12-network/ https://docs.rockylinux.org/guides/network/basic_network_configuration/ ====Rocky Linux 8 in Vmware==== ---- Upon creating a Rocky Linux 8 (minimal) in vCenter, the primary network interface ens192 will only not have an IPv4 because it is deactivated. You can confirm that that by running: nmcli device status To fix this, run: nmtui And then select "Ac..." current
  • 14:2314:23, 11 September 2024 diff hist +1,721 N Resize2fsCreated page with "====“resize2fs: Permission denied to resize filesystem” error while online resize of a filesystem==== ---- Reference: https://www.thegeekdiary.com/resize2fs-permission-denied-to-resize-filesystem-error-while-online-resize-of-a-filesystem/ <u>The Problem</u>: On CentOS/RHEL 6, an LVM volume group size has been extended and an attempt to do online resize of ext4 filesystem on LVM volume group failed with following error. resize2fs /dev/mapper/P05TRF1vg-vol_control..." current
  • 14:2314:23, 11 September 2024 diff hist +3,379 N Red Hat SatelliteCreated page with "====How to Enable a Red Hat Repository in Satellite==== ---- #. Log in to RHEL Satellite #. Go to Content > Red Hat Repositories #. Find the Red Hat Repository you are looking for on the left side, "Available Repositories" #. Then select it and click the plus "+" symbol. It will move it to the right, "Enabled Repositories". ====How to create a new repository in Satellite==== ---- #. Go to Red Hat Satellite > Content > Product (select organization) > Software Center >..." current
  • 14:2314:23, 11 September 2024 diff hist +16,067 N RHELCreated page with "==== Red Hat Enterprise Linux ==== ---- Releases:</br> https://access.redhat.com/articles/3078 Where to download old RHEL ISOs:</br> https://access.redhat.com/downloads/content/69/ver=/rhel---5/5.11/x86_64/product-software ====How to install packages on RHEL5.11 using DVD ISO==== ---- * Note: there is no lsblk command in RHEL5. But you can run things like: ls -al /dev/disk/by-path; Make sure the ISO is attached to the VM. Tested on RHEL5.11: mkdir /mnt/rhel5dvd..." current
  • 14:2214:22, 11 September 2024 diff hist +8,616 N RAIDCreated page with " <b>RAID</b> - Redundant Array of Inexpensive Disks. ---- Disk failures can be disastrous. RAID is a system that distributes or replicates data across multiple disks. RAID not only helps avoid data loss but also minimizes the downtime associated with hardware failures (often to zero) and potentially increases performance. RAID can do two basic things: * First, it can improve performance by “<b>striping</b>” data across multiple drives, thus allowing several dr..." current
  • 14:2214:22, 11 September 2024 diff hist +38,793 N PythonCreated page with "To quickly test python scripts, you can use AWS Cloud9 IDE, jupiter notebook, or any windows/Linux machine to run python scritps. Basic Practice: http://codingbat.com/python More Mathematical (and Harder) Practice: https://projecteuler.net/archives List of Practice Problems: http://www.codeabbey.com/index/task_list A SubReddit Devoted to Daily Practice Problems: https://www.reddit.com/r/dailyprogrammer A very tricky website with very few hints and touch problems..." current
  • 14:2214:22, 11 September 2024 diff hist +2,125 N PsCreated page with "<b>ps</b> - report a snapshot of the current processes. ====How to read PS (Basics)==== ---- Example: $ ps PID TTY TIME CMD 8741 pts/0 00:00:00 bash 8863 pts/0 00:00:00 ps * PID = Process ID * pts = Psuedo Terminal Session Show all processes running on the system: $ ps -ef UID PID PPID C STIME TTY TIME CMD root 1 0 0 May10 ? 00:00:25 /usr/lib/systemd/systemd --switched-root --system --deserialize 22 root..." current
  • 14:2214:22, 11 September 2024 diff hist +7,736 N ProxyCreated page with " What is Proxy Server? A proxy server is a dedicated computer or a software system running on a computer that acts as an intermediary between an endpoint device, such as a computer, and another server from which a user or client is requesting a service. The proxy server may exist in the same machine as a firewall server or it may be on a separate server, which forwards requests through the firewall. ====How to configure proxy environment variable in Linux using http_p..." current
  • 14:2214:22, 11 September 2024 diff hist +1,838 N ProcessesCreated page with "Related topics: * <b>Zombie Process</b> * <b>Orphan Process</b> * <b>Process Control Block (PCB)</b> * <b>Threads</b> ---- <b>Processes</b>: program in execution. * Address space (memory) the program can use * State (registers, including program counter and stack pointer) * OS keeps track of all processes in a process table. * Processes can create other processes. A <b>program</b> i..." current
  • 14:2114:21, 11 September 2024 diff hist +886 N Process Control Block (PCB)Created page with "Related topics: * <b>Processes</b> * <b>Zombie Process</b> * <b>Orphan Process</b> * <b>Threads</b> ---- <b>Process Control Block (PCB)</b> is information associated with each process, which may also be a called a "<i>task control block</i>." It is a data structure that keeps track of process metadata. * <b>Process state</b> - running, waiting, etc. * <b>Program counter</b> - location of instruction t..." current
  • 14:2114:21, 11 September 2024 diff hist +12,829 N PostfixCreated page with "<b>Best Postfix Documentation</b>: http://www.postfix.org/BASIC_CONFIGURATION_README.html <b>postfix</b> - Postfix control program The postfix(1) command controls the operation of the Postfix mail system. To submit mail, use the Postfix sendmail(1) command. Postfix has several hundred configuration parameters that are controlled via the <b>main.cf</b> file. Fortunately, all parameters have sensible default values. <u>In many cases, you need to configure only two or t..." current
  • 14:2114:21, 11 September 2024 diff hist +842 N Port ForwardingCreated page with " ==== Configuration Settings For Your LAMP stack to work (old notes): ==== ---- Useful: http://www.servermom.org/install-lamp-centos-7/1741/</br> (In case you get a new IP address... This was when I was first learning on my VMware box at home.)</br> Update Port forwarding to tell the router what the IP address is for this private server (since you got a new IP address). This will allow you to SSH into your VM from outside your network. Open your browser and enter you..." current
  • 14:2014:20, 11 September 2024 diff hist +1,009 N PokemonCreated page with "{|class="wikitable" ! style="text-align:left;"| Type ! Super Effective ! Weak Against |- |Bug |Grass, Dark, Psychic |Fire, Flying, Rock |- |Dark |Ghost, Psychic |Bug, Fairy, Fighting |- |Dragon |Dragon |Dragon, Fairy, Ice |- |Electric |Flying, Water |Ground |- |Fairy |Fighting, Dark, Dragon |Poison, Steel |- |Fighting |Dark, Ice, Normal, Rock, Steel |Fairy, Flying, Psychic |- |Fire |Bug, Grass, Ice, Steel |Ground, Rock, Water |- |Flying |Bug, Fighting, Grass |Electric,..." current
  • 14:2014:20, 11 September 2024 diff hist +86 N PingCreated page with "https://www.thegeekstuff.com/2009/11/ping-tutorial-13-effective-ping-command-examples/" current
  • 14:2014:20, 11 September 2024 diff hist +505 N Partitions and FilesystemsCreated page with "https://docs.google.com/document/d/1wok3tZdFjOWZafD7C8rk8_BoOEPh56J0ndZ7wOZ9FV8/edit https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recognize-expanded-volume-linux.html https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-using-volumes.html https://www.digitalocean.com/community/tutorials/an-introduction-to-storage-terminology-and-concepts-in-linux https://help.ubuntu.com/community/LinuxFilesystemsExplained https://documentation.suse.com/sles/12-SP5/html..." current
  • 14:2014:20, 11 September 2024 diff hist +18 N PartedCreated page with "Under construction" current
  • 14:1914:19, 11 September 2024 diff hist +2,048 N PamCreated page with " ====Pam_unix==== pam_unix - Module for traditional password authentication https://linux.die.net/man/8/pam_unix You want to restrict Linux users from using previous 5 passwords when changing the password. As clarified over the chat, this is a system admin task outside of AWS scope of support. To assist you on best-effort basis, I found the link [1] with the steps to do the same. I was able to replicate it in my lab successfully using the following steps for Red Hat..." current
  • 14:1914:19, 11 September 2024 diff hist +177 N Palo AltoCreated page with "Palo Alto Networks URL Filtering: https://urlfiltering.paloaltonetworks.com/query/ Use this to recategorize your website so that it is not blocked on, say, your work's network." current
  • 14:1914:19, 11 September 2024 diff hist +631 N PV vs HVMCreated page with ""Linux Amazon Machine Images use one of two types of virtualization: paravirtual (PV) or hardware virtual machine (HVM). The main differences between PV and HVM AMIs are the way in which they boot and whether they can take advantage of special hardware extensions (CPU, network, and storage) for better performance. For the best performance, we recommend that you use current generation instance types and HVM AMIs when you launch your instances. For more information about..." current
  • 14:1814:18, 11 September 2024 diff hist +2,960 N PHPCreated page with " ==== How to Install php7 on RHEL 7==== ---- These instructions worked specifically for installing php7.2 on RHEL 7.6: yum update yum install wget wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm rpm -ivh epel-release-latest-7.noarch.rpm yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm yum install php72 php72 -v ttps://bobcares.com/blog/phpmyadmin-403-forbidden-error/</br> https://stackoverflow.com/questions/2676..." current
  • 14:1814:18, 11 September 2024 diff hist +1,317 N Orphan ProcessCreated page with "Related topics: * <b>Processes</b> * <b>Zombie Process</b> * <b>Process Control Block (PCB)</b> * <b>Threads</b> ---- <b>Orphan Process</b> - Parent process has finished or terminated, but it remains running. <u>Difference between <b>Orphan</b> process and <b>Zombie</b> process</u>: * In the <b>Orphan</b> process, the parent process has finished or terminated, though it r..." current
  • 14:1814:18, 11 September 2024 diff hist +3,312 N OracleCreated page with "====Download Locations==== ---- * <b>ISOs</b> can be found here:https://yum.oracle.com/oracle-linux-isos.html * <b>Kernels</b> can be found in places like these, just google if you can't find what you're looking for: https://yum.oracle.com/repo/OracleLinux/OL7/UEKR6/x86_64/index.html</br> https://yum.oracle.com/repo/OracleLinux/OL7/UEKR5/archive/x86_64/index.html ====How to install kernel-devel in Oracle Linux 7==== ---- [+] Testing in my own environment. Oracl..." current
  • 14:1714:17, 11 September 2024 diff hist +568 N OpensslCreated page with "====How to test SSL connectivity ==== ---- openssl s_client -showcerts -connect <ip>:<port> # force tls1.2: openssl s_client -tls1_2 -showcerts -connect <ip>:<port> ==== How to check if SSL certificate on an instance has expired==== ---- openssl s_client -connect ec2-x-x-x-x.eu-west-2.compute.amazonaws.com:443 -servername dikapedia.com 2>/dev/null | openssl x509 -noout -dates -issuer -subject notBefore=Oct 1 11:59:06 2021 GMT notAfter=Dec 30 11:..." current
  • 14:1714:17, 11 September 2024 diff hist +11,335 N OSI Model & TCP/IP ModelCreated page with " ===OSI Model=== ---- <b>OSI Model</b> - Open Systems Interconnection Model. It is a conceptual model that characterizes and standardises the communication functions of a telecommunication or computing system without regard to its underlying internal structure and technology. The OSI model can be seen as a universal language for computer networking. ====The Seven Layers of the OSI Model==== ---- 600px|center|class=img-responsive =====<u>Ap..." current
  • 14:1614:16, 11 September 2024 diff hist −8 NvidiaNo edit summary current
  • 14:1514:15, 11 September 2024 diff hist +11,601 N NvidiaCreated page with "Useful resources: * https://docs.kinetica.com/7.1/install/nvidia_rhel/ * https://developer.nvidia.com/blog/streamlining-nvidia-driver-deployment-on-rhel-8-with-modularity-streams/ * Good Nvidia driver installation guide: https://docs.nvidia.com/cuda/pdf/CUDA_Installation_Guide_Linux.pdf ====How to install NVIDIA driver on RHEL8 for Specific GPU model (using .run file)==== ---- The following steps uses NVIDIA's <b>.run</b> file. For steps on how to install nvidia-drive..."
  • 14:0914:09, 11 September 2024 diff hist −1 NtpdNo edit summary current
  • 14:0914:09, 11 September 2024 diff hist +267 N NtpdCreated page with "<b>Ntpd</b> - Newtwork Time Protocol Daemon The Network Time Protocol daemon is an operating system program that maintains the system time in synchronization with time servers using the Network Time Protocol. Wikipedia configuration for ntpd: </br> # /etc/ntp.conf,"
  • 14:0914:09, 11 September 2024 diff hist +1,213 N NmcliCreated page with "<b>Network Manager Command Line</b> - is used for controlling NetworkManager and reporting network status. ====Check connection status of interfaces==== ---- <b>nmcli dev status</b> # nmcli dev status DEVICE TYPE STATE CONNECTION docker0 bridge connected docker0 virbr0 bridge connected virbr0 enp0s3 ethernet connected enp0s3 virbr0-nic ethernet disconnected -- lo loopback u..." current
  • 14:0814:08, 11 September 2024 diff hist +4,460 N NmapCreated page with " <b>nmap</b> - "Network Mapper", Network exploration tool and security/port scanner. Very useful for troubleshooting and checking if ports are open/closed/filtered. In comparison to telnet, nmap is actually smart enough that it can tell the difference between a closed port that is truly closed and a closed port behind a firewall. * <b>closed</b> - if a port is truly closed or down. * <b>filtered</b> - blocked by some firewall * <b>open</b> open An application..." current
  • 14:0814:08, 11 September 2024 diff hist +3,398 N NginxCreated page with "https://www.tecmint.com/useful-nginx-command-examples/ </br>https://serversforhackers.com/c/redirect-http-to-https-nginx </br>https://linuxize.com/post/redirect-http-to-https-in-nginx/ ====How to find and check Nginx configuration==== ---- $ sudo nginx -t nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful ====How to find php.ini and www.conf==== ---- Find those full file paths using a..." current
  • 14:0814:08, 11 September 2024 diff hist +16,794 N Networking and RoutingCreated page with " This page is mainly about useful networking/routing commands for Linux. ====/etc/sysconfig/network==== ---- Global default gateway configuration is stored in the <b>/etc/sysconfig/network</b> file. This file specifies gateway and host information for all network interfaces. https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/ch-the_sysconfig_directory#s2-sysconfig-network https://access.redhat.com/documentation/en-us/red..." current
  • 14:0814:08, 11 September 2024 diff hist +475 N NetworkManagerCreated page with "In RHEL7, the default networking service is provided by <b>NetworkManager</b>, which is a dynamic network control and configuration daemon that attempts to keep network devices and connections up and active when they are available. * Introduced in RHEL7 * Can configure network aliases IP addresses, static routes, DNS information, and VPN connections, as well as many connection-specific parameters. * Traditional <b>ifcfg</b> type configuration files are still supported." current

2 September 2024

(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)