Yesterday, I have started to test some services on running Amazon Linux 2 powered by Amazon Web Services cloud. For some reason, my package manager yum is broken and when I started to update my yum database, I’ve got an error about rpmdb open failed. You can see my error below. If you are running…
Error: No space left on the device when starting/stopping services only
I’m using Amazon SSM Agent for connecting to EC2 instance via securely. Amazon SSM Agent is also able to connect to the EC2 instance console via aws.amazon.com web console. So, this is my preferred way. About a few days ago, when I tried to connect to EC2 via Amazon SSM Agent it doesn’t respond and…
Juniper SRX110H-VA VDSL2 Configuration Step by Step
I was talking on the phone with Kenan Bilgic last night and I told him to “I want to get a Juniper SRX-110H-VA”. After this, Kenan told me, “I’ve already got a Juniper SRX-110H-VA, and just send me to your address, I can ship it for you.” I’m using TurkNet as an internet provider and…
Enable Logrotation for Docker Containers
When you install and use Docker on your system, the container running in the docker can generate a large number of logs while you are not aware of the background. Although the Docker service normally supports logrotate, this support comes off by default. If one day your disk ends suddenly, then you will know exactly…
Download specific file extension via wget easily on terminal
Sometimes, there may be files with more than one extension in a directory or folder. For example, .jpg, .png, .gif, .mp3, .mp4 etc. You want to download only gif files specifically from that source, but don’t know how to do this? Don’t be afraid, you’re right. wget is small software with a GNU license (i.e….
Find the exact size of certain files in Linux via terminal
One day, there may be a lot of files in more than one extension in the macOS, Linux or server you use, and you may be wondering about the size of these files or just want to see the size of the files with the corresponding extension for a specific study. The other day, the…