A partition
structure defines how information is structured on the partition, where
partitions begin and end, and also the code that is used during startup
if a partition is bootable.
Tech Stuff
Thursday, July 6, 2017
Thursday, July 21, 2016
Wednesday, September 25, 2013
how to change root password mysql
# /etc/init.d/mysqld stop
# /usr/bin/mysqld_safe --skip-grant-tables --skip-networking &
# mysql -u root
mysql> use mysql;
mysql> UPDATE user SET Password=PASSWORD("your password here") WHERE User="root";
mysql> exit
# /etc/init.d/mysqld stop
# /etc/init.d/mysqld start
# /usr/bin/mysqld_safe --skip-grant-tables --skip-networking &
# mysql -u root
mysql> use mysql;
mysql> UPDATE user SET Password=PASSWORD("your password here") WHERE User="root";
mysql> exit
# /etc/init.d/mysqld stop
# /etc/init.d/mysqld start
Friday, September 6, 2013
Cisco switch port in err disabled , how to recover
go to the specific port configuration mode.
disable port security , disable and enable
acc-sw-2960-48p-svr-(config-if)#no switchport port-security
acc-sw-2960-48p-svr-(config-if)#shutdown
acc-sw-2960-48p-svr-(config-if)#no shutdown
disable port security , disable and enable
show port 0/19 will show state
Port Name Status Vlan Level Duplex Speed Type
----- ------------------ ---------- ---------- ------ ------ ----- ------------
0/19 errdisable 1 normal auto auto 10/100BaseTX
acc-sw-2960-48p-svr-(config-if)#no switchport port-security
acc-sw-2960-48p-svr-(config-if)#shutdown
acc-sw-2960-48p-svr-(config-if)#no shutdown
Monday, July 29, 2013
Tuesday, July 23, 2013
Sunday, June 16, 2013
Fix yum error CentOS linux : Error: file is encrypted or is not a database
Error: file is encrypted or is not a database
[sameera@gemini test2]$ sudo yum clean
Loaded plugins: fastestmirror, refresh-packagekit, security
Error: clean requires an option: headers, packages, metadata, dbcache, plugins, expire-cache, rpmdb, all
[sameera@gemini test2]$ sudo yum clean all
Loaded plugins: fastestmirror, refresh-packagekit, security
Cleaning repos: base epel extras linuxtech-release rpmforge updates
Cleaning up Everything
[sameera@gemini test2]$ sudo yum clean
Loaded plugins: fastestmirror, refresh-packagekit, security
Error: clean requires an option: headers, packages, metadata, dbcache, plugins, expire-cache, rpmdb, all
[sameera@gemini test2]$ sudo yum clean all
Loaded plugins: fastestmirror, refresh-packagekit, security
Cleaning repos: base epel extras linuxtech-release rpmforge updates
Cleaning up Everything
Subscribe to:
Posts (Atom)