Android APPs

Free or Paid Android Games,Applications,tools - www.e-infosite.tk.

E-Tricks n Tips

Free Blog tricks,Web tricks,PC tricks,Mobile tricks,Internet tricks,etc.. - www.e-infosite.tk.

Technology News

Latest News,Information,Reviews about PC,Mobile,PC games,mobile games,Pc Softwre,Android and IOS apps,etc.. - www.e-infosite.tk.

Useful Infos

Useful informations about Daily life,Health,Entertainment,Educational,Job,IT,etc.. - www.e-infosite.tk.

E-earnings

More Tricks and tips to earn from Internet,Blog,and your website... - www.e-infosite.tk.

Wednesday, 26 July 2017

To change centos host name permanantly without restart


/etc/sysconfig/network


# sudo nano /etc/sysconfig/network
HOSTNAME=myserver.domain.com


/etc/hosts


127.0.0.1      localhost localhost.localdomain
192.168.0.20   hostname.domain.com   hostname
 ~
 ~
 ~
 ~
:wq!

Restart network using below command


# /etc/init.d/network restart

Monday, 24 July 2017

eth0 does not seem to be present after clone or import vm


Find Video here: -





Steps

delete /etc/udev/rules.d/70-persistent-net.rule

reboot

change mac address in /etc/sysconfig/network-scripts/ifcfg-eth0
generate new UUID for eth0
change UUID of eth0 in /etc/sysconfig/network-scripts/ifcfg-eth0
restart network service



Sunday, 23 July 2017

Centos - Linux network settings Command lines







  • ifconfig -a
  • vi /etc/sysconfig/network-scripts/ifcfg-eth0

    DHCPCLASS=
    IPADDR=192.168.1.100
    NETMASK=255.255.255.0
    ONBOOT=yes
    BOOTPROTO=STATIC


  • vi /etc/sysconfig/network
    Ensure GATEWAY=192.168.1.1 has been set


  • vi /etc/resolv.conf
    nameserver 8.8.8.
    nameserver 8.8.4.4


  • /etc/init.d/network restart

Saturday, 22 July 2017

To reset Cent OS root Password



Boot or Reboot your CentOS installation


From the console ATL+CTRL+DEL will get you headed in the right direction.



After the installation reboots, it will come up to a boot countdown.

GRUB Menu



From the GRUB menu, select the appropriate kernel version and press the 'e' key.
You will now be presented with the option menu for the kernel version.

Kernel Options Menu



From this menu, select the kernel /vmlinuz-... line and press the 'e' key.
You will now be presented with the kernel boot options.

Change Kernel Boot Options


Now we need to add to the end of this line one o the following:
1, s, or single
And now press Enter to save your changes.

Boot your temporary options



From this menu, you should already be on the kernel /vmlinuz... line.
Press the 'b' key to boot to these temporary options to allow you to recover your root account.

Set Root Password



Now you will boot up to the root shell and you can use passwd to set your new password.
You will be required to enter the password twice.
Once you have completed this, reboot and you have a new root password for your CentOS installation.

Wednesday, 19 July 2017

To Edit Boot file in Linux or Ubuntu





To customize your GRUB2 settings, you’ll have to edit the /etc/default/grub file and then run the sudo update-grub command.