Note book to help you and me remember some tricks

Author nicodevlog

When using our company VPN, why some URL that are exposed publicly and also internaly, are sometimes not correctly resolved on employees laptop?

Description of the problem In your company you have an internal URL for a server, for instance: myserver1.yourcompany.com. It means you have an entry for myserver1.yourcompany.com in your DNS server dns1.yourcompany.com. You also want to expose publicly this URL to… Continue Reading →

VMWare tools are marked as not managed by VMWare and you can’t install it via vSphere

if you encounter the message “VMWare tools installed but not managed” on your VSphere it’s probably because you’ve installed the open-vm-tools on your Linux OS, or simply they were already installed on your OS. And that’s OK. There is no… Continue Reading →

Start your oracle database server on linux boot: declare your database server as a systemd service

A systemd service define an application than can be managed by systemd, thus it enables you to start your database on linux boot and also to shut it down on linux shutdown.Furthermore it allows other systemd services to wait for… Continue Reading →

Can’t start my application as a service: Main process exited, code=exited, status=217/USER

Maybe you specify the wront user or group in your systemd service. Or another case, rare, that I’ve met in my work place: your application is executed by the forbidden uid / gid: 65535 So what you can do with… Continue Reading →

SELinux tricks

SELinux context not changed after semanage fcontext and restorecon Verify the order in which your SELinux rules will be applied You have the order in which the SELinux rules have been added. It is this order that will be followed… Continue Reading →

Python ImportError: No module named Tkinter for python source compiled

You can find a lot about this error on internet, but most often they are the simplest answers using package manager to install the missing module. But it’s not always the solution. Firstly, why do you need tkinter? Do you… Continue Reading →

Developers should always encode url

Recently my software experience helped me to point where was the problem with a php source code given by developers. Developers thought the problem was a sysadmin misconfiguration with the miss php libraries or something like this because with their… Continue Reading →

OCI (Oracle Cloud Infrastructure) 2022, extends the size of your block storage and apply it to your partition on Linux

The following examples treat the case of a traditionnal partitionning. If you use Logical Volume Manager (LVM) it will be as easy than this but I’ll describe it in an another post. First, extend your block storage In OCI dashboard,… Continue Reading →

Linux standard partitioning is good, but Logical Volume Manager also known as LVM is better

In this post I’ll just summurize all the advantages of LVM over traditionnal partionning. LVM add a logical layer that allows all these advantages: You can combine different physical disks in the same volume group, and create a partition over… Continue Reading →

setroubleshoot[xxxx]: failed to retrieve rpm info for /etc/certs/yourdomain.com.crt or for /etc/certs/yourdomain.key

When installing your new SSL certificate, after reloading or restarting apache you’re facing “failed to retrieve rpm info”? Don’t panik, it’s just SELinux that is playing with you. First, install policycoreutils-gui in order to have a more explicit error message… Continue Reading →

« Older posts Newer posts »

© 2024 Software engineer >> Sysadmin >> Devops >> SRE

Up ↑