Archives for Linux - Page 3
Virtualbox: can’t remove / attach new hard disk
When i try to remove a disk in Virtualbox with this command: I got the following error And the fix is:
cricket – rrdcached: some info in mind
rrdcached is a daemon that receives updates to existing RRD files, accumulates them and, if enough have been received or a defined time has passed, writes the updates to...
apt-get add new data source
When we add new data: # vi /etc/ ... deb stretch main contrib non-free deb-src stretch main contrib non-free we got some errors below: # apt-get update...
How to read rrd file?
rrdtool dump rrdtool info rrdtool graph /dev/null -s 3600 DEF:ierr=:ds1:AVERAGE VDEF:ioct_a=ierr,AVERAGE PRINT:ierr:%lf this command will get the avg value of ds1 (ds1 is the dataset –...
Ubuntu 18.04 : how to run start up script
Create a service: sudo vi /etc/systemd/ Add your code there: Description=/ Compatibility ConditionPathExists=/ Type=forking ExecStart=/ start TimeoutSec=0 StandardOutput=tty RemainAfterExit=yes SysVStartPriority=99 WantedBy= Create and make sure / is executable...
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 dos2unix filename
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...
