Category: General

Knowing why server was shutdown

Sometimes we may want to investigate why a linux system was shutdown unexpectedly .  As you know already , the only place we get this information from is /var/log directory . last -x  command will display some information about shutdown/reboot like below . runlevel (to lvl 3)   2.6.32-754.17.1. Sat Sep  7 16:24 – 18:41  […]

Upgrade WordPress manually

Tip of the Day:  Sometimes we may have to upgrade or reinstall wordpress manually when wordpress admin panel is not accessible for some reasons . Upgrading wordpress manually is a straightforward process . Just download new version of wordpress ,copy and extract it to your existing wordpress web directory . If you have cpanel access […]

ngrep on Cent OS 7

Tried to install ngrep on Cent OS 7 with yum install ngrep on Cent OS 7 and it returned “No package ngrep available. Error: Nothing to do ” then tried to install ngrep rpm directly rpm -ivh http://pkgs.repoforge.org/ngrep/ngrep-1.45-1.el6.rf.x86_64.rpm which is meant for el6 and it returned error like error: Failed dependencies: libpcre.so.0()(64bit) is needed by […]

Working with HUAWEI GSM modem on linux

When I connected the Huawei modem I could see only  3 additional sg0 ,sg1, sdb  entries in   /dev  and there are no USBtty0 ,USBtty1,USBtty2 which supposed to be cerated by Huawei modem . By default linux will detect HUAWEI modem as usb storage /cd drive . we must switch it to USB serial inorder […]

Back To Top