User contributions for Ardika Sulistija

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

21 August 2024

  • 14:4714:47, 21 August 2024 diff hist +14,949 N Device Mapper MultipathCreated page with "====What is Device Mapper Multipathing?==== ---- What is Multipath? • Multipath is a storage network design technique that allows for fault tolerance or increased throughput by providing multiple concurrent physical connections (paths) from the storage to the individual host systems. multipathd and multipath internally use WWIDs to identify devices. WWIDs are also used as map names by default. ——— Device Mapper Multipathing (DM-Multipath) is a native multipat..." current
  • 14:4614:46, 21 August 2024 diff hist +4,911 N DdCreated page with " <b>dd</b> - convert and copy a file. REALLY GOOD ARTICLE: https://www.computernetworkingnotes.com/linux-tutorials/generate-or-create-a-large-text-file-in-linux.html ===How to use dd=== ---- This command will create a file of size <b>count*bs</b>, in which the below will create a file of 1 MB: dd if=/dev/zero of=file.txt count=1024 bs=1024 * <b>/dev/zero</b> is a special file in Unix-like operating systems that provides as many null characters as are read from i..." current
  • 14:4614:46, 21 August 2024 diff hist +16,419 N DNSCreated page with "DNS (Domain Name Server) ====How I have my websites' DNS records set up==== ---- Before proceeding with the [https://dikapedia.com/wiki/SSL_/_TLS#How_to_install_Let.27s_Encrypt_with_Certbot_on_Amazon_Linux_2_.28Super_Easy.29 Let's Encrypt steps to configure SSL cert], I configured my DNS records with the following (on namecheap): * A record - @ - 23.20.238.64 * A record - www - 23.20.238.64 ====DNS==== ---- https://en.wikipedia.org/wiki/Domain_Name_System Good video..." current
  • 14:4614:46, 21 August 2024 diff hist +1,221 N DHCPCreated page with " DHCP - DORA https://ipwithease.com/understanding-dora-process-in-dhcp/ ====dhclient==== ---- <b>dchlient</b> - the Dynamic Host Configuration Protocol (DHCP) Client used to allow a client to connect to a DHCP server. * You need this if you are not booting up using a static IP address!! dhclient configuration files: $ which dhclient /usr/sbin/dhclient # Another way of checking if dhclient is installed # Run as root $ dhclient status && dhclient --version..." current
  • 14:4514:45, 21 August 2024 diff hist +10,387 N CurlCreated page with " <b>curl</b> - transfers a URL. Or make HTTP requests (or HTTPS, FTP, FTPS, SCP, SFTP, TFTP, DICT, TELENET, LDAP or FILE). https://www.thegeekstuff.com/2012/04/curl-examples/ ---- * Useful for testing web servers at the application level, testing an application's endpoint or connectivity, or checking if a service is healthy. * HTTP uses TCP so if curl works then TCP (and lower levels) must be working, too. Can be used in many different ways: * Designed to work wi..." current
  • 14:4514:45, 21 August 2024 diff hist +3,157 N CronCreated page with " <b>crond</b> - daemon to execute scheduled commands. <b>crontab</b> - Used to schedule repetitive tasks/commands. *must be root* Good info: * https://cronitor.io/cron-reference/5-places-cron-jobs-live * https://www.geeksforgeeks.org/crontab-in-linux-with-examples/ * https://crontab.guru/ * https://unix.stackexchange.com/questions/212703/crontab-error-no-crontab-for-use * https://serverfault.com/questions/449651/why-is-my-crontab-not-working-and-how-can-i-troubleshoo..." current
  • 14:4414:44, 21 August 2024 diff hist +249 N CpCreated page with "From cp manpage: -p same as --preserve=mode,ownership,timestamps --preserve[=ATTR_LIST] preserve the specified attributes (default: mode,ownership,timestamps), if possible additional attributes: context, links, xattr, all" current
  • 14:4414:44, 21 August 2024 diff hist +1,826 N Core DumpsCreated page with "Terminology For Unix systems, the term "core dump" generally refers to a dump of the state of an individual process. The term "core dump" is also used in the context of NetWare, but in that context it refers to a dump of the state of a complete system. The equivalent of a NetWare core dump for Unix systems is typically called a "system crash dump" or "kernel crash dump". Core dump analysis Core dumps can be a valuable source of information in certain troubleshooting s..." current
  • 14:4414:44, 21 August 2024 diff hist +572 N Context SwitchCreated page with "<b>Context Switching</b> is when CPU switches to another process, the system must save the state of the old process and load the saved state for the new process via context switch. * Context-switch time is overhead; the system does no useful work while switching. The more complex the OS and the <b>PCB</b> --the longer the context switch. * Context switches are costly as it destroys the TLB buffer. A <b>translation lookaside buffer (TLB)..." current
  • 14:4314:43, 21 August 2024 diff hist +1,461 N CloudFormationCreated page with "====How to create Redis (cluster mode enabled) with 1 shard using YAML==== ---- <b>CacheParameterGroupName</b> is key to making it cluster mode enabled: AWSTemplateFormatVersion: 2010-09-09 Resources: myReplicationGroup: Type: AWS::ElastiCache::ReplicationGroup DeletionPolicy: Retain Properties: AtRestEncryptionEnabled: true AutomaticFailoverEnabled: true CacheParameterGroupName: 'default.redis5.0.clust..." current
  • 14:4314:43, 21 August 2024 diff hist +11,990 N CloudEndureCreated page with "====CloudEndure log files==== ---- * Installation log file: <b>./cloudendure.log</b> ** Generated during the agent installation process. ** Located in the directory from which the installation process was initiated. * Agent Logs: <b>/var/lib/cloudendure/agent.log.0</b> ====How to start/stop the CloudEndure Agent==== ---- sudo /var/lib/cloudendure/runAgent.sh sudo /var/lib/cloudendure/stopAgent.sh * <b>Note</b>: stop / starting of the agent causes re-replicati..." current
  • 14:4314:43, 21 August 2024 diff hist +9,082 N Cloud-Init and User-DataCreated page with "===Cloud-Init=== ---- add notes: https://cloudinit.readthedocs.io/en/latest/topics/dir_layout.html <b>Cloud-init</b> is the industry standard multi-distribution method for cross-platform cloud instance initialization. It is supported across all major public cloud providers, provisioning systems for private cloud infrastructure, and bare-metal installations. Cloud instances are initialized from a disk image and instance data: Cloud metadata User data (optional) Vendo..." current
  • 14:4314:43, 21 August 2024 diff hist +2,627 N ChrootCreated page with "* Very important to bind /dev since the passwd command makes use of /dev/random which needs to actually exist Robert's way (This example shows how to change a password while chrooted): (all sudo) mount /dev/xvdf1 /mnt mount -o bind /proc /mnt/proc mount -o bind /sys /mnt/sys mount -o bind /dev /mnt/dev mount -o bind /run /mnt/run #This one was recommended but I didn't end up using it chroot /mnt passwd [username] exit umount /mnt/{dev,sys,proc} umo..." current
  • 14:4214:42, 21 August 2024 diff hist +112 N ChromeCreated page with "Chrome Policy Template json file for Linux: https://gist.github.com/meets2tarun/2161e544f4c458c2f07641cafbdd186d" current
  • 14:4214:42, 21 August 2024 diff hist +14,800 N Centrify/DelineaCreated page with "This is the Centrify for UNIX/Linux/Mac Command Line Cheat Sheet<br> Ref: https://centrifying.blogspot.com/2016/02/centrify-for-unix-cli-cheat-sheet.html ====AD-bridging commands ("ad" commands)==== ---- <b>adcheck</b> - check OS, network and AD readiness for Centrify DirectControl To check the system with domain (e.g. corp.contoso.com) $ adcheck corp.contoso.com To only perform OS checks $ adcheck --test os To only perform network-related tests $ adcheck --test n..." current
  • 14:4214:42, 21 August 2024 diff hist +594 N CPanelCreated page with "The cPanel & WHM Log Files https://docs.cpanel.net/knowledge-base/cpanel-product/the-cpanel-log-files/ ====File Manager==== ---- If you don't have direct access to the underlying server of the website but you have access to cPanel, you can use cPanel to access the website files (i.e. public_html, .htaccess (if it's apache), plugins, themes, wp-admin directory, etc.). #. Login to cPanel #. Go to File Manager. ====How to set Expires Headers for Your Site on cPanel=..." current

20 August 2024

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