Force Removing Windows Services

Some services are denied administrator to access on Windows such as McAfee services. I don’t know why administrator cannot manage every thing on Windows system. I think vrius maker and hacker already know this technology. How does administrator fight with them?

Read More

Change hostname and static IP on Centos 7

Change hostname

  • Edit file: /etc/sysconfig/network
  • Add the servername in /etc/hosts file
  • Run hostname command
    sudo hostname
  • Restart network service
    sudo /etc/init.d/network restart
Read More

PHP extensions

Useful extensions:

php-xml php-gd php-curl php-mcrypt php-mbstring php-gettext

For mysql: php-mysql
For Apache2: libapache2-mod-php

Read More

Remove old kernels on Linux

Display current kernel

  $ uname -r
  $ uname -mrs

On ubuntu

  • List all installed kernels
    $ dpkg --list | grep linux-image
  • Remove old kernels
    $ sudo apt-get autoremove
Read More