Archives for Linux - Page 3
Ubuntu 18.04 : how to run start up script
Create a service: Add your code there: Create and make sure / is executable and add this code inside it: sudo chmod +x / Enable the service: ...
Strongswan: allow client to access internet
2 sites vpn works well, they can see each other. but i want to send all internet from my remote sites to my strongswan including the internet. This need...
How to use and exit minicom ?
minicom -s (this is to configure the terminal) to exit minicom Press Ctrl – A , select Z , select X
Nagios: Sorry, but Nagios is currently not checking for external commands, so your command will not be committed!
When you tried to stop Nagios to monitor some services from web interfaces – you see the message below: Sorry, but Nagios is currently not checking for external commands,...
/usr/bin/python^M: bad interpreter: No such file or directory
it’s because the new line difference between Unix and windows , the easiest fix it run this command
WordPress is slow: wp-captcha-booster – tech-banker-service
I just found out that i could not access my wordpress today, i checked the server, everything looked good. i restarted the server, it’s still slow, there is no...
Linux: crontab syntax check
The folder / is used to store all cronjobs, the cronjob is saved on the file , the format is: minute hour day month dayofweek username command_to_run. There might...
Ubuntu: Check disk heath – smartctrl and smartmontools
smartctl is a nice tool to check your hard disk health – it will let you know how many hours your disk have been running , the hard disk...
Apache: Cloudflare – Log the real ip
Check this out: #mod_cloudflare Option 1: Installation from Packages Download the appropriate package to your web server and install it using your operating system’s ‘rpm’ or ‘dkpg’ commands. For...
PHP Fatal error: Uncaught Error: Call to undefined function mb_convert_encoding
PHP Fatal error: Uncaught Error: Call to undefined function mb_convert_encoding() Fix: