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 (newer 50 | ) (20 | 50 | 100 | 250 | 500)

15 September 2024

11 September 2024

  • 14:3914:39, 11 September 2024 diff hist +4,849 N Zombie ProcessCreated page with " 550px|center|class=img-responsive Related topics: * <b>Processes</b> * <b>Orphan Process</b> * <b>Process Control Block (PCB)</b> * <b>Threads</b> ---- ====What is a Zombie Process==== ---- A <b>zombie (Z)</b> process whose execution is completed but it still has an entry in the process table. Zombie processes usually occur for child processes, as the parent p..." current
  • 14:3914:39, 11 September 2024 diff hist +22,504 N Yum, Apt, and ReposCreated page with "For <b>dnf</b> stuff, go to the <b>Dnf page</b> ===Yum=== Yum Cheatsheet: https://access.redhat.com/sites/default/files/attachments/rh_yum_cheatsheet_1214_jcs_print-1.pdf More information: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_basic_system_settings/managing-software-packages_configuring-basic-system-settings#doc-wrapper * The configuration file for yum and related utilities is located at <b>/etc/yum.conf</b..." current
  • 14:3814:38, 11 September 2024 diff hist +2,447 N XrdpCreated page with " <B>xrdp</B> - A remote desktop protocol (RDP) server. ---- ====Install a GUI and XRDP on Ubuntu 20.04==== ---- https://linuxize.com/post/how-to-install-xrdp-on-ubuntu-20-04/ ====Install a GUI and XRDP on Ubuntu 16 or Ubuntu 18==== ---- https://linuxize.com/post/how-to-install-xrdp-on-ubuntu-18-04/ You can use the steps in this article to install XFCE4 desktop GUI and Xrdp. Once setup, customers can use RDP clients, (such as Microsoft Remote Desktop), to access t..." current
  • 14:3814:38, 11 September 2024 diff hist +5,491 N WordPressCreated page with " ==== Download and Configure WordPress (and mysql/mariadb) ==== ---- Download WordPress, extract, and change ownership of Files so Apache can access them: wget -c http://wordpress.org/latest.tar.gz tar -xzvf latest.tar.gz chown -R apache:apache /var/www/html/wordpress Assuming you have mysql/mariadb installed, login to mysql to configure it: mysql -u root -p Configure DB: CREATE DATABASE wordpress_db; GRANT ALL PRIVILEGES ON wordpress_db.* TO 'wordpress_user..." current
  • 14:3814:38, 11 September 2024 diff hist +2,317 N WiresharkCreated page with "Useful tutorial article: https://www.varonis.com/blog/how-to-use-wireshark ====Install Wireshark on RHEL8.8 with GUI==== ---- In RHEL8.8, if you install wireshark using dzdo yum install wireshark you will see that you will not be able to open it as you will get the error: <i>wireshark: error while loading shared libraries: libQt5PrintSupport.so.5: cannot oopen shared object file: No such file or directory</i> To identify what packages provides libQt5PrintSupport..." current
  • 14:3814:38, 11 September 2024 diff hist +1,705 N WindowsCreated page with "====How to quickly generate a large file in Windows==== ---- Ref: https://tweaks.com/windows/62755/quickly-generate-large-test-files-in-windows/ Never download another 100mb test file or waste time searching for a large file. Sometimes you need a large file fast to test data transfers or disk performance. Windows includes a utility that allows you to quickly generate a file of any size instantly. Open an administrative level command prompt. Run the following comma..." current
  • 14:3714:37, 11 September 2024 diff hist +80 N WhoisCreated page with "https://www.2daygeek.com/whois-check-domain-ip-address-information-lookup-linux/" current
  • 14:3714:37, 11 September 2024 diff hist +1,175 N WhoamiCreated page with "https://www.thegeekstuff.com/2009/03/4-ways-to-identify-who-is-logged-in-on-your-linux-system/ <b>whoami</b> command is used to print the loggedin user name. $ whoami john <b>whoami</b> gives the same output as <b>id -un</b> as shown below: $ id -un john <b>whoami</b> command will display the logged-in user name and current tty details. The output of this command contains the following columns: logged-in user name, tty name, current time with date and ip-address..." current
  • 14:3714:37, 11 September 2024 diff hist +606 N WhoCreated page with "https://www.thegeekstuff.com/2009/03/4-ways-to-identify-who-is-logged-in-on-your-linux-system/ <b>who</b> command is used to get the list of the usernames who are currently logged in. Output of the who command contains the following columns: user name, tty number, date and time, machine address. $ who ramesh pts/0 2009-03-28 22:57 (dev-db-server) jason pts/1 2009-03-28 23:01 (dev-db-server) john pts/2 2009-03-28 23:04 (dev-db-server) To get..." current
  • 14:3714:37, 11 September 2024 diff hist +227 N Waterfall ChartCreated page with "You can test here: https://www.webpagetest.org/ Or you can simply look at your browser network data (inspect elements) How to read a waterfall chart: https://nooshu.github.io/blog/2019/10/02/how-to-read-a-wpt-waterfall-chart/" current
  • 14:3614:36, 11 September 2024 diff hist +2,102 N WCreated page with "<b>w</b> - Show who is logged on and what they are doing. https://www.thegeekstuff.com/2009/03/4-ways-to-identify-who-is-logged-in-on-your-linux-system/ w command is used to show logged-in user names and what they are doing. The information will be read from /var/run/utmp file. The output of the w command contains the following columns: Name of the user User’s machine number or tty number Remote machine address User’s Login time Idle time (not usable time) Time u..." current
  • 14:3614:36, 11 September 2024 diff hist +2,491 N VmstatCreated page with "Add notes: https://www.linode.com/docs/guides/use-vmstat-to-monitor-system-performance/ Add, by default it shows in <b>Kilobytes</b>!!! <b>vmstat</b> - Report virtual memory statistics. $ vmstat procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu----- r b swpd free buff cache si so bi bo in cs us sy id wa st 0 0 0 272904 0 235736 0 0 1 3 12 22 0 0 100 0 0 $ vmstat 1 5 procs -----..." current
  • 14:3614:36, 11 September 2024 diff hist +74 N VimdiffCreated page with "====Comparing two files==== ---- vimdiff file1 file2 vim -d file1 file2" current
  • 14:3614:36, 11 September 2024 diff hist +3,822 N VimCreated page with " <B>vim</B> - Vi IMproved, a programmers text editor. <b>Vim Cheatsheet</b>: https://devhints.io/vim <b>Go</b> - end of file, new line. ---- Vim shortcut keys: ":" (shift + ;), Brings up the vim command line esc To get out of the command line thing. "i" Insert mode "a" Append after cursor position "r" Replace letter..." current
  • 14:3514:35, 11 September 2024 diff hist +53 N VPC EndpointsCreated page with "center|class=img-responsive" current
  • 14:3514:35, 11 September 2024 diff hist +418 N UsersCreated page with "https://www.thegeekstuff.com/2009/03/4-ways-to-identify-who-is-logged-in-on-your-linux-system/ <b>users</b> command is used to print the user name who are all currently logged in the current host. It is one of the command don’t have any option other than help and version. If the user using, ‘n’ number of terminals, the user name will shown in ‘n’ number of time in the output. $ users john jason ramesh" current
  • 14:3514:35, 11 September 2024 diff hist +1,003 N Upstart and SysVinitCreated page with "<b>/etc/init</b> is where the upstart init configs live. While they are not scripts themselves, they essentially execute whatever is required to replace sysvinit scripts. Short story: <b>/etc/init/name.conf</b> will get picked up. It will be used automatically as their 'start on' stanzas control and/or manually by you. And it will put a log in /var/log/upstart/name.log In Red Hat Enterprise Linux 6, init from the sysvinit package has been <b>replaced with Upstart</b>..." current
  • 14:3514:35, 11 September 2024 diff hist +78 N UmaskCreated page with "https://www.cyberciti.biz/tips/understanding-linux-unix-umask-value-usage.html" current
  • 14:3414:34, 11 September 2024 diff hist +1,030 N UlimitCreated page with "<b>ulimit</b> is a built-in Linux shell command that allows you to view or configure system resource amount limits that individual users consume. Limiting resource usage is valuable in environments with multiple users and system performance issues. https://phoenixnap.com/kb/ulimit-linux-command # ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f..." current
  • 14:3414:34, 11 September 2024 diff hist +1,502 N UfwCreated page with "<b>ufw</b> - Uncomplicated Firewall https://wiki.ubuntu.com/UncomplicatedFirewall The following are some examples of how to use ufw: https://ubuntu.com/server/docs/security-firewall The ufw application is capable of doing anything that iptables can do. This is achieved by using several sets of rules files, which are nothing more than iptables-restore compatible text files. Fine-tuning ufw and/or adding additional iptables commands not offered via the ufw command is..." current
  • 14:3414:34, 11 September 2024 diff hist +4,585 N UdevCreated page with "Read more: https://dev.to/enbis/how-udev-rules-can-help-us-to-recognize-a-usb-to-serial-device-over-dev-tty-interface-pbk Udev is the mechanism used to create and name /dev device nodes corresponding to the devices that are present in the system. Udev uses matching information provided by sysfs with rules provided by the user to dynamically add the required device nodes. Udev rule files are kept in the /etc/udev/rules.d/ directory. I.e: $ cat /etc/udev/rules.d/70-per..." current
  • 14:3414:34, 11 September 2024 diff hist +20,664 N UbuntuCreated page with "==== How to upgrade Ubuntu linux kernel ==== ---- Update/upgrade kernel: $ sudo apt-get update && sudo apt-get upgrade $ sudo apt-get dist-upgrade $ sudo reboot If the reboot doesn't work and it is still booting to the old kernel, then follow steps 3+ in section "How to Change the Default Ubuntu Kernel on AWS" on this page. ==== How to perform a major release upgrade ==== ---- <b>Ubuntu 14.04 LTS ------> Ubuntu 16.04 LTS ------> Ubuntu 18.04 LTS </b> I tried r..." current
  • 14:3314:33, 11 September 2024 diff hist +192 N TracerouteCreated page with "https://www.thegeekstuff.com/2012/05/traceroute-examples/ Good example from Anam: Traceroute in a loop: while true; do sudo traceroute <IP address>; sleep 2; echo "*****************"; done" current
  • 14:3314:33, 11 September 2024 diff hist +25,435 N TopCreated page with " '<b>top</b>' - display Linux processes. It is part of the <b>procps package</b>, a set of Linux utilities that provide system information. And other tools such as free, vmstat, ps, and more. Top gets most of its info from several files under the <b>/proc</b> directory. It pretty much summarizes most of them into one window. ====The Basics==== ---- <b>CPU</b> In accordance with the USE method, I'm going to split this up based on the different resources, starting w..." current
  • 14:3314:33, 11 September 2024 diff hist +266 N TmuxCreated page with "====Use Tmux to scroll up and down a long output==== ---- If you have a long output of something and you want to be able to view the whole output by scrolling, you can use tmux by running: # <b>ctrl</b> + </b>b</b>, then <b>[</b> # Then <b>Q</b> to quit scroll mode" current
  • 14:3314:33, 11 September 2024 diff hist +77 N TimedatectlCreated page with "https://www.howtogeek.com/782032/how-to-use-the-timedatectl-command-on-linux/" current
  • 14:3314:33, 11 September 2024 diff hist +769 N ThreadsCreated page with "Related topics: * <b>Processes</b> * <b>Zombie Process</b> * <b>Orphan Process</b> * <b>Process Control Block (PCB)</b> ---- <b>Threads</b> are the smallest unit of processing that a scheduler can work, and can have the same resources such as memory, address space, open files. Also called "<i>light weight processes</i> (LWPs). <u><b>Threads</b> vs <b>Processes</b></u>: * <b>Threads..." current
  • 14:3214:32, 11 September 2024 diff hist +242 N Test-NetConnectionCreated page with "For Windows PS C:\windows\system32> test-NetConnection 172.18.12.43 -port 22 ComputerName : 172.18.12.43 RemoteAddress : 172.18.12.43 RemotePort : 22 InterfaceAlias : Ethernet 3 SourceAddress : 172.24.113.86 TcpTestSucceeded : True" current
  • 14:3214:32, 11 September 2024 diff hist +151 N TerraformCreated page with "My Terraform Notes: https://docs.google.com/document/d/15NuOrpV3ALFUAlvN8qVydKgcYYySfnLn/edit?usp=sharing&ouid=113385906598888138625&rtpof=true&sd=true" current
  • 14:3114:31, 11 September 2024 diff hist +4,608 N TenableCreated page with "====What is <b>Tenable</b>?==== ---- Ref: https://docs.tenable.com/nessus-agent/Content/GettingStarted.htm Tenable Nessus Agents are lightweight, low-footprint programs that you install locally on hosts to supplement traditional network-based scanning or to provide visibility into gaps that traditional scanning misses. Tenable Nessus Agents collect vulnerability, compliance, and system data, and report that information back to a manager for analysis. With Tenable Nessu..." current
  • 14:3114:31, 11 September 2024 diff hist +1,242 N TelnetCreated page with " <b>telnet</b> -- user interface to the TELNET protocol. Useful to do a quick connection test to a remote server on a specific port. (<b>Nmap</b> might be more useful at times) ====How to use Telnet==== ---- To test is port 22 (SSH) is open on a remote server: $ telnet 34.195.120.102 22 Trying 34.195.120.102... Connected to 34.195.120.102. Escape character is '^]'. SSH-2.0-OpenSSH_7.4 To escape, hit <b>ctrl + ]</b>. You will get dropped down to th..." current
  • 14:3114:31, 11 September 2024 diff hist +530 N TeeCreated page with "https://askubuntu.com/questions/103643/cannot-echo-hello-x-txt-even-with-sudo If you have to write to a file in a script using sudo like <b>sudo echo "word" > file</b> won't work because the redirection is done by the shell before sudo is even started. So make sure the redirection happens in a shell with the right permissions by using <b>tee</b>, like so: echo "blacklist nouveau" | sudo tee /etc/modprobe.d/denylist.conf Use <b>-a</b> to append: echo "options nouveau..." current
  • 14:2914:29, 11 September 2024 diff hist +6,860 N TcpdumpCreated page with " * <b>TCP</b> Add notes: https://packetlife.net/blog/2010/jun/7/understanding-tcp-sequence-acknowledgment-numbers/ ------ UNDER CONSTRUCTION, PLEASE VISIT BACK SOON. https://support.rackspace.com/how-to/capturing-packets-with-tcpdump/ https://linux.die.net/man/8/tcpdump https://opensource.com/article/18/10/introduction-tcpdump https://www.thegeekdiary.com/examples-of-using-tcpdump-command-for-network-troubleshooting/ <b>This one</b> How to use tcpdump for ca..." current
  • 14:2914:29, 11 September 2024 diff hist +510 N Tainted KernelsCreated page with "* Module verification failed - signature and/or required key missing - tainting kernel (Red Hat) https://access.redhat.com/solutions/3484741 * <module_name>: module verification failed: signature and/or required key missing - tainting kernel (Red Hat) https://access.redhat.com/solutions/800133 * What is a tainted kernel in Linux? https://unix.stackexchange.com/questions/118116/what-is-a-tainted-kernel-in-linux * Tainted kernels https://www.kernel.org/doc/html/late..." current
  • 14:2914:29, 11 September 2024 diff hist +3,350 N TCPCreated page with "https://www.geeksforgeeks.org/tcp-connection-termination/ https://packetlife.net/blog/2010/jun/7/understanding-tcp-sequence-acknowledgment-numbers/ sliding window, three way handshake PAGE UNDER CONSTRUCTION!!! Add notes: https://docs.google.com/document/d/1QaI4mHGB5_tPimuyBVQRROpx5ErqumGSWZEa12dANXU/edit TCP header image; http://www.networksorcery.com/enp/protocol/tcp.htm ===TCP/IP Model=== ---- <b>TCP/IP Model</b> - Transmission Control Protocol/Internet Protoco..." current
  • 14:2814:28, 11 September 2024 diff hist +6,023 N SystemdCreated page with "==== Making Changes to Systemd unit files/configuration ==== ---- When you have made changes to the unit file of a service on the filesystem. In order for the service to use that new configuration, we need to tell the service to reload its configuration file. So run <b>systemctl reload <service></b>, to tell the service to dump the current configuration you are using and RELOAD its configuration from the filesystem into memory, and now it would use that newly modified v..." current
  • 14:2814:28, 11 September 2024 diff hist +2,727 N SysstatCreated page with "Add SAR notes here.</br> https://www.thegeekdiary.com/how-to-view-past-performance-with-sar-in-linux/ By default, sar stats are collected every 10 minutes. The data is collected using a simple cron job configured within /etc/cron.d/sysstat. This job can be amended to collect the data as frequently as you require. Example /etc/cron.d/sysstat file is provided below. # cat /etc/cron.d/sysstat # Run system activity accounting tool every 10 minutes */10 * * * * root /usr..." current
  • 14:2814:28, 11 September 2024 diff hist +8,159 N SubaruCreated page with "center|class=img-responsive * <b>Oil Filter</b>: 15208AA12A * <b>Oil</b>: 5w-30 * <b>Changing the oil and oil filter</b>: 4.5 US qt (4.3 liters, 3.8 Imp qt) * <b>Cabin Air Filter</b>: 72880FJ000 * <b>Engine Air Cleaner Element</b>: 16546AA180 * [https://static.oemdtc.com/OwnerManual/MSA5M2005A.pdf <b>Owner's Manual</b>] * [https://docs.google.com/spreadsheets/d/1GwGuTHZGoA_LwRzqZ449osxSmVT08P36/edit#gid=1485007918 <b>Maintenance Logs</b>] {| class..." current
  • 14:2814:28, 11 September 2024 diff hist +231 N StraceCreated page with "https://www.tecmint.com/strace-commands-for-troubleshooting-and-debugging-linux/ ====How to run strace and output to a file==== ---- Example: sudo strace -f -o strace.txt sudo python ./installer_linux.py -t <token> --no-prompt" current
(newest | oldest) View (newer 50 | ) (20 | 50 | 100 | 250 | 500)