Dimas Maulana

Dimas Maulana

Developer

Welcome to my website! I am a developer with a current focus on React and Go. My experience encompasses both front-end and back-end development, enabling me to design and develop seamless and efficient applications.

Copying Files Between Local and Remote Machines Using SCP

Secure Copy Protocol (SCP) is a command-line tool that allows you to securely copy files and directories between your local machine and a remote server over SSH. Here’s how you can use SCP to copy files in both directions: from your local machine to a remote server and from a remote server to your local machine.

Copying from Local to Remote (Upload)

To copy a file from your local machine to a remote server, use the following command:

How to Enable Ubuntu Boot Verbose Mode

If you want to see detailed boot messages instead of the splash screen when your Ubuntu system starts up, you can enable verbose mode by following these steps:

  1. Open a terminal window.

  2. Edit the Grub configuration file by running the following command:

    1
    
    sudo nano /etc/default/grub

    This will open the Grub configuration file in the Nano text editor.

  3. In the Grub configuration file, look for the line that starts with GRUB_CMDLINE_LINUX_DEFAULT. This line controls the display of the splash screen during boot.

How to Make Network Manager Start Automatically

Network Manager is an essential service in many Linux distributions that allows you to manage network connections easily. Sometimes, you might encounter an issue where Network Manager doesn’t start automatically at boot. One common reason for this issue is misconfigurations in the Network Manager service file.

In this article, we’ll guide you on how to ensure Network Manager starts automatically at boot by removing the static-network-up line from the Network Manager service configuration file.

Long Waiting Up for 60 Second Network

If you want to modify the /etc/init/failsafe.conf file to reduce the waiting time for the network to come up during system startup. Specifically, you want to remove the sleep 40 and sleep 50 commands from the network waiting section. Here’s how you can do it:

Note: Modifying system configuration files can have unintended consequences and may impact the stability and functionality of your system. Please make sure you have a backup of the original file and proceed with caution.

Troubleshooting Virtual Network Failure on Verbose Boot

If you’re encountering a virtual network failure during a verbose boot, where you see detailed messages about the networking initialization process, you may need to take specific actions to resolve the issue. One possible solution is to remove or rename the /etc/init/networking.conf file. Here’s a step-by-step guide on how to do this:

Note: Before proceeding, make sure you have administrative privileges on your system.

Step 1: Access the Command Line

You’ll need to access the command line interface of your system to perform these actions. You can usually do this by opening a terminal or console window. If you’re already logged in, proceed to the next step.

Automate SSH Login Notification via Email

You can enhance your system’s security by setting up an automated email notification whenever someone logs in via SSH. This can help you stay informed about unauthorized access to your system. Below is a guide on how to implement this feature.

Note: This guide assumes you have administrative access to your system and are familiar with basic Linux commands.

1. Edit /etc/profile

First, open the /etc/profile file in a text editor as the root user:

0%