how to change listening port in ubuntu vi /etc/ssh/sshd_config # What ports, IPs and protocols we listen for can change here Port 22 sudo systemctl restart sshd how to change [ … ]
Category: Real Time Concepts
Upgrade From Mysql 5.6 to 5.7
upgrade from mysql 5.6 to 5.7 ——————————- moving from 5.5 is a two step process: first follow the relevant procedure for your system above to upgrade to 5.6, then repeat [ … ]
Downgrade From MySql 5.7 to 5.6 In Centos 7
Downgrade from MySql 5.7 to MySql 5.6 Centos 7 ================================================ sudo yum-config-manager –disable mysql57-community sudo yum-config-manager –disable mysql56-community (enable or disable) See what rpm do you have installed and erase [ … ]
To update old releases of Ubuntu os
In the command line open below config file vi /etc/apt/sources.list http://in.archive.ubuntu.com/ubuntu/ http://security.ubuntu.com/ubuntu In the place of above files i.e in.archive , security Replace with old-releases as below and save the [ … ]
To Split CSV file Into Multiple Files In Linux
To split csv file Into multiple files in linux split -d -l 100000 file.csv new/file_part_ split -d -l 20000 example.csv /var/lib/mysql-files/split_ output ======== split_00 split_02 split_04 split_06 split_08 split_10
Sublime Text Installation In Ubuntu
For Sublime-Text-2: sudo add-apt-repository ppa:webupd8team/sublime-text-2 sudo apt-get update sudo apt-get install sublime-text For Sublime-Text-3: sudo add-apt-repository ppa:webupd8team/sublime-text-3 sudo apt-get update sudo apt-get install sublime-text-installer If you want to remove any [ … ]
To Deny Root Login
open Terminal and edit below config file vi /etc/ssh/sshd_config and search for /Root and make below changes #LoginGraceTime 2m PermitRootLogin no #StrictModes yes #MaxAuthTries 6 #MaxSessions 10
How to unlock user after Regular login attempts Failed
After regular login attempts failed you can unlock the user with below command faillock –user username –reset example : faillock –user rahul –reset
Kernel Upgradation
Kernel Upgradation
Zabix Monitoring Toll Installation
Zabix Monitoring Toll Installation