fbpx

Author - zalam

How to enable root login on ubuntu 16.04 ?

Enable root logins first you have to set a password for the root account and then unlock the locked root account. If you don't set a password for the root account the passwd command will return passwd: unlocking the password would result in a passwordless account.  So, first execute in...

Read more...

How to Disable Strict SQL Mode in MySQL 5.7

What is this error? "Database query failed: Data truncated for column 'column_name' at row 1 Your mysql might be running in strict mode. you need to disable it. To disable strict SQL mode, SSH in to your server as root and create this file: /etc/mysql/conf.d/disable_strict_mode.cnf Open the file and enter these two lines: [mysqld] sql_mode=IGNORE_SPACE,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION  Restart...

Read more...

how to auto deploy code via git

The objective of this script is to deploy git code to ftp directory. We need to create a script file on ftp. http://abc.com/git_deployment.php?secret_key=XYZ git_deployment.php is the file name in which the deployment code would be placed. ?secret_key=XYZ is the secret key which needs to be place in deployment code file. Now open you ftp...

Read more...

How to make hotspot?

i hope you have followed the previous guide to setup basic router on mikrotik and you have configured the router with dynamic IP address. If you want to setup wifiomatic router follow this guide IP -> hotspot -> Add servers Name: hotspot-server1 Interface: bridge1 IP -> hotspot -> Server Profiles tab DNS Name: hotspot.zain.pk IP -> hotspot -> Users...

Read more...

How to turn on the internet on wifi and map all lan ports?

i hope you have followed the previous guide to setup basic router on mikrotik. Now you would configure WiFi interface and map all lan ports. Wireless -> interfaces -> Enable wlan interface and Change settings in interface. Mode: ap bridge SSID: My Router Name Bridge -> Add bridge name: bridge1 Bridge -> Ports -> Add port interface:...

Read more...

Setup Router with Static IP Addresses

i hope you have followed the previous guide to setup basic router on mikrotik. Now you would configure the router with static IP address. IP -> Addresses -> configure wan Address: 192.168.130.106/24 Interface: Wan Internet IP -> Addresses -> configure lan Address: 192.168.100.1/24 Interface: ether1 IP -> DHCP server -> DHCP setup DHCP server interface: select lan interface Other...

Read more...

Setup Router with dynamic IP Addresses

i hope you have followed the previous guide to setup basic router on mikrotik. Now you would configure the router with dynamic IP address. IP -> Addresses -> Add address Address: 192.168.100.1/24 interface: ether2 IP -> DHCP Client -> Add DHCP client interfaces: Wan Internet IP -> DHCP Server -> Click on DHCP Setup Interface: ether2 DHCP...

Read more...

How to setup Mikrotik router

Download the router software winbox and login with "admin" as username and password would be blank. The default IP address would be 192.168.88.1 do not reset the settings to blank before update. system -> clock -> set time system -> identity -> change router name system -> Packages -> check for updates system -> Reset Configurations...

Read more...

How to Integrate Amp Pages with your website

What is Amp? Amp is accelerated mobile pages. Amp is an open source project initiative that help publishers to create mobile optimize content. Why Amp? Amp pages don’t take much time to load, it will show article instantly. Demo of amp pages is on this link https://www.ampproject.org/ How to setup: Amp url on detail page...

Read more...