08 2016 档案
摘要:create database foo_db; create user foo_user identified by 'foo_password'; grant all on foo_db.* to 'foo_user'@'%'; flush privileges;
阅读全文
摘要:1. Check Installed Kernels $ rpm -q kernel 2. Clean Old Kernels ## need Install yum-utils ## ## Package-cleanup set count as how many old kernels you
阅读全文
摘要:在脚本中使用sudo命令,将密码保存在脚本中,不需要手动输入密码。 #!/bin/bash echo 'xxx密码xxx'|sudo -S service mysql start echo 'xxx密码xxx'|sudo -S reboot
阅读全文

浙公网安备 33010602011771号