²¿ÊðLinux´òÓ¡·þÎñÆ÷µÄÎÊÌ⣨¸ß·ÖÇó½â£©
ÎÒÔÚ´òÓ¡»úµÄÅäÖÃÖУ¬×ÜÊÇÎÞ·¨Ñ¡ÖС°¹²ÏíÁ¬½Óµ½Õâ¸öϵͳÉϵĹ«¹²´òÓ¡»ú¡±
±¨´íÈçÏ£º
Traceback (most recent call last):
File "/usr/share/system-config-printer/system-config-printer.py", line 476, in maySelectItem
err = self.apply()
File "/usr/share/system-config-printer/system-config-printer.py", line 875, in apply
return self.save_serversettings()
File "/usr/share/system-config-printer/system-config-printer.py", line 2709, in save_serversettings
self.cups.adminSetServerSettings(setting_dict)
RuntimeError: Failed to set settings
ÊÔÊÔrootȨÏÞ
{{
Ïà¹ØÎÊ´ð£º
ÎÒĿǰÔÚ±¾µØµÄlinuxÉÏдÁËÒ»¸öswingµÄ½çÃæ£¬Ïëͨ¹ýÕâ¸ö½çÃæÀ´¿ØÖÆÆäËüµçÄÔµÄlinuxÖØÆô¡£
ÎÒÖªµÀÓÃRuntime.getRuntime().exec("shutdown -r");¿ÉÒÔ¿ØÖƱ¾»úLinuxÖØÆô£¬µ«ÊÇÔõô¿ØÖÆÔ¶³ÌµÄlinuxÖØÆôÄØ£¿ ......
СµÜ×î½üÐèÒªÒ»¸öÓÃsocket»ñÈ¡htmlÎĵµµÄ´úÂ룬µ«ÊÇÀÏÊDz»ÄÜ»ñÈ¡ÍêÕûµÄhtmlÔ´Âë¡£ÔÒò²»Ã÷£¬Íû¸ßÊÖÖ¸µã£¡
C/C++ code:
char *Http_GET(char *host,int port,char *data) //·¢ËÍGETÇëÇó
{
char response[2 ......
ÎÒÖ®Ç°ÖÆ×÷µÄlinux×Ô¶¯°²×°isoÒѾ³É¹¦ÁË£¬ÏÖÔÚÏë¶ÔÆä½øÐÐһЩ¶¨ÖÆÐ޸쬱ÈÈ磬¸ü¸ÄgrubͼƬµÈ¡£
ÎÒÔÚks.cfgµÄ%post¶ÎÀïÃæÊÇÕâÑùдµÄ£º
%post --nochroot
# Move the contents of the tar into their new locati ......
ÎÒÐèÒªÓõ½ÔÚlinuxÏÂÃæ¶ÁдÅäÖÃÎļþµÄ¿â£¬µ½ÍøÉÏÏÂÁËconfiglib¿â£¬½á¹û±àÒë¿ÉÒÔͨ¹ý£¬Á´½Ó¾ÍÓÐÎÊÌâÁË£¬ÀÏÊdzöÏÖundefined reference to µÄÎÊÌ⣬²éÕâ¸ö¿âµÄʹÓ÷½·¨£¬¶¼Ã»ÓоßÌåµÄ½éÉÜ£¬ÓÐÄÄλÒÔǰÓùýÕâ¸ö¿â»òÕßÀàË ......