• Home
  • My Free Tools
    • Creating a server with PHP
  • About me

Select Category:

Daily IT Help

My daily IT journal

  • Programming
  • Monitoring
  • Azure
  • Splunk
  • About me

bash – check if a string in a variable

itdoctor December 11, 2018 bash – check if a string in a variable2018-12-11T04:05:52-05:00 General
if you use#! /bin/zsh $MYVAR=”Hello world” if [[ $MYVAR == *”hello”*]] thenecho “FOUND”fi If we don’t use #! /bin/zsh $MYVAR=”Hello world”if [[ $MYVAR == *”hello”*]]; thenecho “FOUND”fi
Continue Reading

Virtualbox: can’t remove / attach new hard disk

itdoctor December 9, 2018 Virtualbox: can’t remove / attach new hard disk2018-12-09T14:45:18-05:00 General
When i try to remove a disk in Virtualbox with this command: I got the following error And the fix is:
Continue Reading

DNS: Why i can’t create txt record for sub domain?

itdoctor November 30, 2018 DNS: Why i can’t create txt record for sub domain?2018-11-30T08:58:27-05:00 General
Please check if your subdomain is a CNAME , the DNS rule does not allow CNAME record to have other record. The fix is to use A record for...
Continue Reading
General

cricket – rrdcached: some info in mind

itdoctor November 29, 2018 cricket – rrdcached: some info in mind2018-11-29T07:50:22-05:00 General
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...
Continue Reading

A detailed page about PHP thread.

itdoctor November 27, 2018 A detailed page about PHP thread.2018-11-27T06:55:18-05:00 General
### A Detailed Page About PHP Threads: Understanding Multithreading in PHP PHP is one of the most widely used server-side programming languages, primarily known for its ability to generate...
Continue Reading

Mysql import from 5.6 to 5.7 : Column count of mysql.user is wrong. Expected 42, found 44. The table is probably corrupted

itdoctor November 26, 2018 Mysql import from 5.6 to 5.7 : Column count of mysql.user is wrong. Expected 42, found 44. The table is probably corrupted2018-11-26T10:13:39-05:00 Database
You might receive the error Column count of is wrong. Expected 42, found 44. The table is probably corrupted , this is probably because you import the whole...
Continue Reading

apt-get add new data source

itdoctor November 20, 2018 apt-get add new data source2018-11-20T06:51:42-05:00 Linux
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...
Continue Reading

Samsung J7 dead after not using for long time.

itdoctor November 20, 2018 Samsung J7 dead after not using for long time.2018-11-20T04:25:03-05:00 General
I had a samsung J7, it’s in the drawer for many months. today i tried to charge it, there was no sign it’s charging. i changed many cables ,...
Continue Reading

How to read rrd file?

itdoctor November 16, 2018 How to read rrd file?2018-12-12T07:36:31-05:00 General
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 –...
Continue Reading

Ubuntu 18.04 : how to run start up script

itdoctor November 7, 2018 Ubuntu 18.04 : how to run start up script2018-11-07T00:47:24-05:00 General
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...
Continue Reading
«‹2627282930›»

Search

Recent Posts

  • My AZ-104 Azure Administrator Associate Journey: From Real-World Experience to Exam Day
  • How to Monitor An Azure App Service Protected by EasyAuth
  • Oil Pressure Switch (Normal Closed or Normal Open)
  • A simple cronjobs to restart your apache server when it’s too busy
  • n8n webserver failed, exiting

Pages

  • My Free Tools
    • Creating a server with PHP
  • About me

Tags

    Copyright © 2026. Daily IT Help
    Mesocolumn Theme by Dezzain