¹ØÓÚÖбê÷è÷ëÏ°²×°½ð²ÖkingbaseESÊý¾Ý¿âµÄsetup.shÖ´Ðв»Á˵ÄÎÊÌâ
·¢²¼Ê±¼ä:2014-11-17 23:20:42À´Ô´:ºìÁª×÷Õß:fox0741
¸÷λ´ó´ó£¬Ð¡µÜ¹«Ë¾»·¾³´î½¨ÒªÓÃÖбê÷è÷ë+½ð²ÖkingbaseESÊý¾Ý¿â£¬ÔÚ°²×°¹ý³ÌÖУ¬ÔõôִÐа²×°Ä¿Â¼ÏµÄsetup.shÄØ£¿ÎÒÓÃrootÓû§µÇ¼£¬ÏÈÖ´ÐÐsudo su root ÊäÈëÃÜÂëÌáʾÃÜÂë´íÎó£¬ÎÒµÄÃÜÂëÎҿ϶¨ÖªµÀ£¬ÔÚÖ´ÐÐsetup.shÌáʾûÓÐȨÏÞ¡£²»ÖªµÀÖбê÷è÷ëÔÚÖ´ÐÐsudo suµÄʱºòÓÐʲôÌØÊâÒ©×¢ÒâµÄÂ𣿣¿ÏÖÔÚ¾ÍÊÇ×°²»ÉÏÊý¾Ý¿âÁË£¬ÇóÔ®ÊÖ£¡£¡¶àлÁË£¡£¡
halazi100 ÓÚ 2014-11-19 08:42:38·¢±í:
7# fox0741
¿ÉÒÔÓÃroot´´½¨Îļþ¼Ð»òÎļþ
È»ºóÓÃrootÐÞ¸ÄÎļþ¼ÐµÄÊôÖ÷
# chown KingbaseES Îļþ¼Ð -R
»òÎļþµÄÊôÖ÷
# chown KingbaseES Îļþ
»òÕßÖ±½ÓÐÞ¸ÄÎļþµÄ·ÃÎÊȨÏÞ# chmod 777 Îļþ¼Ð
¿ÉÒԲ鿴һÏÂÔõôÐÞ¸ÄÎļþȨÏ޵ķ½·¨
fox0741 ÓÚ 2014-11-18 19:41:46·¢±í:
лл½â´ð£¬×°²»ÉϵÄÔÒòÔÚ½ð²ÖÊý¾Ý¿â²»ÈÃÓÃrootÓû§°²×°£¬ÎÒ½¨Á¢ÁËkingbaseÓû§ºó°²×°ÎļþȨÏÞ»¹ÊÇroot£¬ÓÒ¼üµã»÷ÊôÐÔÑ¡ÔñȨÏ޲˵¥°ÑËû±ä³ÉkingbaseÓû§ºÍÓû§×é¾Í¿ÉÒÔÁË¡£
ÏÖÔÚ°²×°¶ËÒѾ´ò¿ª²¢°²×°£¬²»¹ýÎÒÐèÒªÔÚkingbaseÓû§Ï½¨Á¢Ò»¸öÊôÓÚkingbaseÓû§µÄÎļþ¼Ð£¬ÇëÎÊÕâ¸öÔõô½¨Á¢ÄØ£¿£¿ÎÒÔÚusrĿ¼Ï½¨Á¢ºó£¬usrµÄ¸¸Îļþ¼ÐΪrootȨÏÞ£¬ËùÒÔrootÀïÃæµÄÎļþ¼Ð¶¼ÊÇrootȨÏÞ£¬°²×°ÌáʾȨÏÞ²»¹»¡£
ÎÒÓ¦¸ÃÔõôÔÚkingbaseÓû§Ï½¨Á¢Ò»¸öÊôÓÚkingbaseÓû§È¨ÏÞµÄÎļþ¼ÐÄØ??
halazi100 ÓÚ 2014-11-18 16:48:56·¢±í:
[i=s] ±¾Ìû×îºóÓÉ halazi100 ÓÚ 2014-11-18 17:16 ±à¼ [/i]
5# fox0741
Èç¹ûÊÇrootÓû§¾Í²»ÓÃÔÙsudoÁË
Ö±½Óµ½°²×°Ä¿Â¼Ö´ÐÐ./setup.sh
Èç¹û»¹²»Ðп´¿´setup.shÓÐûÓпÉÖ´ÐÐȨÏÞ£¬Èç¹ûûÓÐÌí¼Ó¿ÉÖ´ÐÐȨÏÞ
chmod a+x setup.sh
Èç¹ûÊÇÆÕͨÓû§ÇëÖ´ÐÐ
sudo ./setup.sh
ÔÙÊÔÊÔ
fox0741 ÓÚ 2014-11-18 15:02:59·¢±í:
лл¥ÉÏÏêϸ»Ø¸´£¬µ«ÊÇÎÒÊÔÁË»¹ÊDz»ÐУ¬ÔÚrootÓû§ÏÂÖ´ÐÐsudu suÌáʾÊäÈëÃÜÂ룬ÊäÈëÍêÕýÈ·ÃÜÂëºóÌáʾÃÜÂë´íÎó¡£
ÓÃ×Ô½¨Á¢ÕË»§½øÈëÐÞ¸Ävisudoºó£¬ÔÙ½øÐÐ./setup.shµÄ²Ù×÷£¬±»¸æ֪ûÓÐȨÏÞ¡£
ÎÒÓõÄÊÇÖбê÷è÷ë5.0
½ð²Ökingbase7.1.2
halazi100 ÓÚ 2014-11-18 13:52:57·¢±í:
Õû¸ö¹ý³Ì¿ÉÄÜÈçÏÂ
Çл»µ½rootÓû§
$ su -
¼Ó¿ÉÖ´ÐÐȨÏÞ
# chmod a+x setup.sh
Ö´Ðа²×°½Å±¾
# ./setup.sh
ÁíÍâÇëÂ¥Ö÷²¹³äϵͳµÄ°æ±¾ºÍÈí¼þµÄ°æ±¾£¬·½±ãÎÒÃǶ¨Î»ÎÊÌâºÍÆäËûÈËÒÔºó²Î¿¼Ñ§Ï°
ллඡ«
halazi100 ÓÚ 2014-11-18 13:48:08·¢±í:
²»ÓÃsudoÃüÁÓÃsu -Ò²¿ÉÒÔÇл»µ½root£¬ÕâÑùµÄÓû§Ä¬ÈÏÐèÒªÔÚwheelÓû§×éÀïÃæ
ÓÃsudoÃüÁîÐèÒªsudoersÎļþµÄÔÊÐí
halazi100 ÓÚ 2014-11-18 13:44:58·¢±í:
Ò»°ãµÄÓû§Èç¹ûûÓÐÐÞ¸Ä/etc/sudoersÎļþµÄ»°£¬²»¿ÉÒÔʹÓÃsudoÃüÁîÇл»
¿ÉÒÔÏÈÓÃsu -Çл»µ½rootÓû§ÐÞ¸Ä/etc/sudoersÎļþ# visudo
¸´ÖÆ root ALL=(ALL) ALL £¨´ó¸ÅµÚ100ÐÐ×óÓÒ£©µ½ÏÂÃ棬½«root¸ÃΪÄãµÄÓû§ÃûÈç
root ALL=(ALL) ALL
user ALL=(ALL) ALL
ÕâÑùÄãÒÔºó¾Í¿ÉÒÔÓÃsudoÁË£¨Super User do£©