It’s beyond the Copy+C but it’s easy like that.
Linux server migration might be a bit tedious to hear, but having a deeper understanding of the server will make it much easier than expected. All you need to have is the right strategies and knowing the commands. In this article, we will briefly discuss how to do it the proper and easier in Linux server migration.
Linux Migration Tactics
According to IT studies, the easiest and effective way to do the migration is the blue-green deployment. The first step you have to do is get the new server up and running. Second, you have to make sure that the production server is ready. Third, you need to switch traffic over to it and replace the older server once done verifying.
The blue-green deployment is just like the command we used to do, it is by copying over all the files, packages, and code from the previous server over to the new one. It’s like installing the crucial packages and then copy over the configuration files from the current server.
There is also the Auto Scaling. This method differs depending on providers, but if you’re up to adding a new copy of your server to meet hectic demand then, this one might be right for you. You can use the auto-scaling with Docker containers on many platforms like AWS ECS.
For Installing Packages (You may use this code)
- service –status-all
You can also list all of them with this command:
- sudo apt list –installed
For a specific package, you can use:
sudo apt -qq list program_name –installed
Whatever it is, you are going to make a list of the packages you need to install and have them on the new server.
Microsoft found a new threat detection service that can hopefully, improve the security protection on Linux systems. They found Project Freta, a free cloud-based tool able to detect unfamiliar forms of malware and other malicious software like the rootkits and crypto miners that Microsoft says could have previously gone undetected in Linux systems.
Malware authors can often swerve or bypass such methods, meaning a fresh approach was needed. Project Freta can analyze virtual machines (VMs) to learn about unfamiliar environments and how they are affected by malware. This is before using this knowledge to spot emerging threats.
According to Microsoft, Project Freta automatically review images of thousands of Linux cloud VMs to detect new forms of malware and sensor corruption and supports over 4,000 kernel versions at launch.
This Project Freta is only available in Linux systems. However, Microsoft says it plans to add Windows support for Project Freta soon.