Search results

  1. O

    Connecting 2 different laptops together wirelessly?

    I want to open 3 VMs in Virtualbox at one laptop. And 2 VMs in Virtualbox in another laptop. I don't want to use bridged adapter. Without bridged adapter, how do I connect these 2 VMs with each other? I am ready to buy new tools if that comes for cheap in Nepal. By cheap I mean something less...
  2. O

    curl sends empty reply, ping not allowed, how do I determine the time it takes to get response from that server without going high tech?

    I wonder. There is an internal URL that our application needs which: when curled sends "empty reply from server" when ping "no response.....as it's disabled" telnet works How do I test how much time is it taking at various times of the day to send response? Any guidance will be appreciated.
  3. O

    logrotate behave unusually, how do I debug?

    /path/to/logs/*.out { su server server daily copytruncate missingok rotate 7 compress dateext dateformat -%Y-%m-%d } /path/to/logs2/*.log{ su server server daily copytruncate missingok rotate 7...
  4. O

    glassfish.service failed because the domain directory contains multiple domains, how to resolve this issue.

    Jan 22 21:41:46 worker-node-1 systemd[1]: Starting GlassFish Server v4.1... Jan 22 21:42:15 worker-node-1 java[1043]: The domains directory /home/techyman/glassfish4/glassfish/domains Jan 22 21:42:15 worker-node-1 java[1043]: contains multiple domains. Please specify a domain. Jan 22 21:42:15...
  5. O

    Any ideas on what can I do with my dell inspiron 15 5567 laptop whose replaced battery goes dead every 1 year?

    I can't sell it as nobody will buy it. I've invested a lot in that laptop. Bough 1TB crucial SATA 2.5'' SSD for 13,500 local currency.(for reference, my current monthly salary is 28,000 local currency). Bought 8GB ram to make it 16GB for 4,000. And replaced battery two times in 2 years...
  6. O

    How to troubleshoot why the system went down?

    This is not a specific question as per se. Please bear with me. I've consulted chatgpt as well and google as well, I'll put down my points here. A server linux running k3s,docker. crashed. Restarting it fixed the issue. :) Now, how do I troubleshoot why it happened? Is there anything I can do...
  7. O

    Virtualbox doesn't open when network is changed.

    When I come to my office network from home network or the reverse of it, and assume my VM in virtualbox is connected to internet, the problem that occurs is that the VM doesn't open at all. It just shows black screen. Generally this gets fixed by changing the mac address like shown below. But...
  8. O

    linux bash scripting marathon (using lpic problems)

    I've decent knowledge of bash scripting. I don't know sed, awk but I know basic bash. Now, I want to do a marathon of LPIC-101 exam questions on bash scripting. What's the best way to do it in your opinion? Most of it looks to me very unpractical but tricky questions. Is there a better approach...
  9. O

    How'd you troubleshoot this network? (figure given below)

    If a remote host connected to a server via VPN is not able to ping the server, how'd you determine if the issue is with VPN at "server side" or VPN at "client side"?
  10. O

    Network troubleshooting cookbook in linux?

    Does it exist? Is there curated list of issues that comes in network troubleshooting presented in a book or a dedicated course?
  11. O

    Convert this code to exclude multiple folders?

    # Script #!/bin/bash given_path=/home/techyman/glassfish4/glassfish/domains excluded_folder=x for each in $(ls $given_path); do if [ "$excluded_folder" = "$each" ]; then echo "This is x" continue else echo "this is not x" cd $given_path/$each/logs...
  12. O

    501 5.5.4 Syntax: DATA while sending email using telnet

    https://www.cloudservus.com/blog/using-telnet-to-send-mail I tried these steps as per the above blog. But I am getting 501 5.5.4 Syntax: DATA. This is the full syntax that I tried. [root@duplicate-website ~]# telnet localhost 25 Trying ::1... Connected to localhost. Escape character is '^]'...
  13. O

    How'd you recommend I intermix Linux with TCP/IP Concepts while learning?

    I prefer red hat distros like centos or RL. (centos is EOL and it's sad). Say i want to learn about mail servers (to send mails). i.e smtp. Now, I need to know about sendmail, postfix etc. I want to understand all the TCP IP configuration for SMTP using sendmail, postfix etc. I want to send...
  14. O

    Want to learn SMTP, POP, IMAP by simulating a mail server in Linux (centos)?

    Just saw the article on this for LFCS in linux.org. I want to actually implement smtp (be it locally between 2-3 VMs) and see how they work. I'm trying to reverse learn about mail servers. So, top-bottom approach. I don't know the basics of mail server, I want to implement them and learn them...
  15. O

    Best way to study in bed?

    I know it's not good to study in bed. But I'm far far from my college days. And I just need to learn on the job and keep upgrading myself. Winter is coming here so I wonder what's the best way to study in bed? What gears can be helpful for studying in bed? Any experts on this?
  16. O

    How much time will docker wait before showing a health as unhealthy from starting?

    Here are the commands that I used for reference: docker run -dt --name tmp --health-cmd "curl -f http://localhost" busybox sh docker ps docker ps docker ps After few minutes, docker ps will show "health as unhealthy". The default healthcheck options are these: HEALTHCHECK --interval=5s CMD...
  17. O

    Roadmap to become a Linux Networking intermediate?

    When I am asking these questions, I know I'm in a big problem because at this time, I don't know what I need to learn. I want to learn about DNS, FTP, SCP,Samba, SAN, iscsi, raid.....ssh, advanced concepts in linux (I already can do file transfer using ftp,scp...basic stuffs) I want to learn...
  18. O

    Brain Teaser DNS question

    This is not a homework at all. I am trying to re-learn TCP IP protocols in brief detail, but problem is I'm not getting any good idea about how to do. I want to combine these protocols with Linux(centos) practicals. I'm going through tons of books and their exercises to learn and put that into...
  19. O

    If you were to learn TCPDUMP, how'd you do it?

    Whenever I'm on the job and need something, I learn it like that. But I'm trying to be proactive, and learn stuffs before it's required. But I really don't know how tcpdump will be useful in our case (I believe it will be). So, can you guide me towards a curriculum to learn tcpdump enough to be...
  20. O

    Simulating a DNS scenario in Linux?

    The computer science department at purdue university chose to place the following type A resource record entry in its domain name server. localhost.cs.purdue.edu 127.0.0.1 Explain what will happen if a remote site tries to ping a machine with domain name localhost.cs.purdue.edu. How do I...
Top