শুক্রবার, ২২ জুন, ২০১৮

Ubuntu Shorcuts

Change interfaces config:
sudo nano /etc/network/interfaces
Then replace the following conf:
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto ens160
iface ens160 inet static
# Enter your specific IP address
        address 192.168.1.130
        netmask 255.255.255.0
        gateway 192.168.1.1
        dns-nameservers 8.8.8.8 8.8.4.4
Then trigger it via:
ifdown ens160; ifup ens160
If you confront with an error, do it command:
ip addr flush dev ens160

iface eth0 inet static
    address 172.16.100.17/24

iface eth0 inet static
    address 172.16.24.11/24
sudo ifdown eth0 && sudo ifup eth0
ip addr add 192.168.1.1/24 dev eth0
ip addr del 192.168.1.1/24 dev eth0

বৃহস্পতিবার, ৭ জুন, ২০১৮

MRTG HTML Forward

<!DOCTYPE html>
<html>
<head>
<!-- HTML meta refresh URL redirection -->
<meta http-equiv="refresh"
content="0; url=http://mrtg.reignict.com/cacti">
</head>
<body>
<p>Welcome to ReignICT MRTG Server.:
<a href="http://mrtg.reignict.com/cacti">this page</a></p>
</body>
</html>

সোমবার, ১৩ নভেম্বর, ২০১৭

Pathao Discount Codes


FOR BIKE
  • 1DEC20R                  -till Dec 12,2017 (20%) (up to 50) 
  • 2DEC20R
  • 3DEC20R
  • EF330R                     -till Dec 19,2017 (30%) (up to 100)
  • 3HWKND20R           -till Dec 22,2017 (20%) (up to 50)
  • MF40R                       -till Dec 23,2017 (40%) (up to 100)
  • 25OFF5                     -till Dec 29,2017 (25tk) (up to 50)
FOR CAR
  • 3CTGCARS40   -till Dec 5

বৃহস্পতিবার, ৭ সেপ্টেম্বর, ২০১৭

CENT OS Commands

Undo/Redo Install:
If everything was installed via the yum package manager, you can undo previous commands:
# Get all yum commands previously run
yum history list all

# Get the details of the command
yum history info [entry number]

# Undo each command top-down
yum history undo [entry number]
Just be careful not to undo the initial system install!
______________________________________________________________________________
# usermod -l jerry tom
# usermod -d /home/jerry -m jerry
______________________________________________________________________________
Install Htop:
-------------- For RHEL/CentOS 7 --------------
# wget dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-release-7-11.noarch.rpm
# rpm -ihv epel-release-7-11.noarch.rpm 
-------------- For RHEL/CentOS 6 --------------
# wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
# rpm -ihv epel-release-6-8.noarch.rpm

______________________________________________________________________________
Install Teamviewer: 
# yum install glibc alsa-lib freetype libICE libSM libX11 libXau libXdamage 
libXext libXfixes libXi libXrandr libXrender libXtst libgcc libuuid libxcb zlib

# wget http://download.teamviewer.com/download/teamviewer.i686.rpm
# yum install teamviewer.i686.rpm