Daily Archives: January 19, 2016

Linux下MySQL忘记root用户密码

今天在接收一台MySQL服务器的时候发现忘记MySQL的root用户的密码,查找资料发了各种文档里面也没有root用户密码,因此需要修改root用户密码。 首先确认服务器出于安全的状态,也就是没有人能够任意地连接MySQL数据库。因为在重新设置MySQL的root密码的期间,MySQL数据库完全出于没有密码保护的状态下,其他的用户也可以任意地登录和修改MySQL的信息。最安全的状态是到服务器的Console上面操作,并且拔掉网线。 1、修改MySQL的登录设置: 在的段中加上的skip-grant-tables #... Read More | Share it now!

How to configure Kerberos on HDP and integrate with Active Directory

http://zh.hortonworks.com/blog/enabling-kerberos-hdp-active-directory-integration/ Hadoop is a business-critical data platform at many of the world’s largest enterprises. These corporations require a layered security model focusing on four aspects of... Read More | Share it now!

how to change postgresql listening port

Just change the setting in the file postgresql.conf (can be found in the data directory): …./Postgres/9.1/data/postgresql.conf port = 5433 # (change requires restart) Remote access can be given by changing pg_hba.conf, just add the... Read More | Share it now!