LinuxÏ·ÀÖ¹ÎļþÎóɾ³ýµÄÌØÊâ·½·¨
ͨ³£ÒªÓÃһЩÌØÊâµÄ·½·¨£¬·ÀÖ¹Îóɾ³ý£¬ÆäʵÎóɾ³ýÊÇ¿ÉÒÔ·ÀÖ¹µÄ£¬ÌØÒâɾ³ýÊÇÎÞ·¨·ÀÖ¹µÄ¡£
Îóɾ³ý£¬Í¨³£ÊÇchattr +i filename
[root@imdba imdba_t2]# ls -ltr
total 116
-rw-rw—- 1 mysql mysql 61 Oct 17 16:08 db.opt
-rw-rw—- 1 mysql mysql 8556 Oct 17 16:09 imdba_t2_t.frm
-rw-rw—- 1 mysql mysql 98304 Oct 17 16:09 imdba_t2_t.ibd
[root@imdba imdba_t2]# chattr +i *
[root@imdba imdba_t2]# lsattr
—-i——– ./imdba_t2_t.ibd
—-i——– ./imdba_t2_t.frm
—-i——– ./db.opt
(root:NovaTestDB:Sat Oct 17 16:09:50 2009)[imdba_t2]> drop database imdba_t2;
ERROR 6 (HY000): Error on delete of ‘./imdba_t2//db.opt’ (Errcode: 1)
¿´ÉÏÈ¥ÕâÑù¿ÉÒÔ·ÀֹһЩÈËÎóɾ³ý£¬ÕâÑùÊDz»ÊǸоõ×Ô¼ººÜ´ÏÃ÷£¬±ðÈ˺Üɵ£¬¾ÍÏÞÖÆסÁ˱ðÈËɾ³ýÁËÄØ£¿Æäʵ²»È»£¬¿´ÏÂÃæ
(root:NovaTestDB:Sat Oct 17 16:10:08 2009)[imdba_t2]>
[root@imdba imdba_t2]# chattr -i *
[root@imdba imdba_t2]# lsattr
————- ./imdba_t2_t.ibd
————- ./imdba_t2_t.frm
————- ./db.opt
(root:NovaTestDB:Sat Oct 17 16:10:44 2009)[imdba_t2]> drop database imdba_t2;
Query OK, 1 row affected (0.01 sec)
ÊDz»ÊÇÈ˼ÒÓÖ°ÑÄãµÄÊý¾Ý¿âɾ³ýÁË£¬°¥£¬Ã²ËÆÊÇÆÈ˵İÑÏ·¡£
¾µäµÄÊÖ·¨³öÏÖÁË£¬¿´ LCAP
½éÉÜÈçÏ£º
lcap allows a system administrator to remove specific capabilities from
the kernel in order to make the system more secure. lcap modifies the
value in the sysctl file /proc/sys/kernel/cap-bound. “Capabilities” are
a form of kernel-based access control. Linux kernel versions 2.2.11 and
greater include the idea of a “capability bounding set,” a list of
capabilities that can be held by any process on the system. If a
capability is removed from the bounding set, the capability may not be
used by any process on the system (even processes owned by root).
Èç¹ûÄã²»ÖªµÀÊÇɶ£¬°¥£¬¸ã“ϵͳ°²È«”µÄ²»Äܲ»ÖªµÀÕâ¸öÍøÖ·£º
http://packetstorm
Ïà¹ØÎĵµ£º
°²×°mysql
sudo apt-get install mysql-servel-5.0 mysql-client-5.0
ÏÂÔØ°²×°¹ý³ÌÖУ¬»áÌáʾÊäÈërootÃÜÂë
°²×°CÓïÑÔ±à³Ì½Ó¿Ú£º
sudo apt-get install libmysqlclient15-dev
¸ü¶àapi ²é¿´£ºhttp://dev.mysql.com/doc/refman/5.0/en/c.html
Ïà¹ØmysqlÍ·ÎļþºÍ¿âÎļþ°²×°ÔÚ/usr/include/mysql/ºÍ/usr/lib/mysqlÄ¿ ......
ÔÚÖÕ¶ËÏÔʾ´°¿ÚÔËÐÐyastÃüÁî,³öÏÖͼÐνçÃæ
software-->software management
×ó²àFilter-->Package Group-->Productivity-->Networking-->Other-->telnet server
Ñ¡ÔñÈ·¶¨,»áÌáʾ²åÈësuse linux cd4,·ÅÈë¹âÅ̺óÈ·¶¨Ö±µ½°²×°Íê³É
¿ªÆôtelnet·þÎñ
#chkconfig telnet on
#rcxinetd restart
Èç¹ûrootÓÃ ......
½ø³Ì¼äͨОÍÊÇÔÚ²»Í¬½ø³ÌÖ®¼ä´«²¥»ò½»»»ÐÅÏ¢£¬ÄÇô²»Í¬½ø³ÌÖ®¼ä´æÔÚ×Åʲô˫·½¶¼¿ÉÒÔ·ÃÎʵĽéÖÊÄØ£¿½ø³ÌµÄÓû§¿Õ¼äÊÇ»¥Ïà¶ÀÁ¢µÄ£¬Ò»°ã¶øÑÔÊDz»ÄÜ»¥Ïà·ÃÎʵģ¬Î¨Ò»µÄÀýÍâÊǹ²ÏíÄÚ´æÇø¡£µ«ÊÇ£¬ÏµÍ³¿Õ¼ä
È´ÊÇ“¹«¹²³¡Ëù”£¬ËùÒÔÄÚºËÏÔÈ»¿ÉÒÔÌṩÕâÑùµÄÌõ¼þ¡£³ý´ËÒÔÍ⣬ÄǾÍÊÇË«·½¶¼¿ÉÒÔ·ÃÎʵ ......
Linuxϵͳһ¸öºÜÖØÒªÇÒÇ¿´óµÄÌØÕ÷¾ÍÊÇ£¬ËüÊÇÒ»¸ö¿ª·ÅµÄϵͳ£¬Óû§¿ÉÒÔ×Ô¼ºÅäÖÃÈçºÎÆô¶¯Õâ¸öϵͳ¡£Óû§¿ÉÒÔ×ÔÓÉÅäÖÃϵͳÆô¶¯¹ý³ÌµÄ¸÷¸ö·½Ã棬°üÀ¨ÔÚÆô¶¯Ê±¶¨ÖÆÆô¶¯ÄÇЩӦÓóÌÐò£¬Í¬Ñù£¬¹Ø»úʱҲ¿ÉÒÔ×ÔÓÉÅäÖÃÈçºÎÈ¥¹Ø±Õ¸÷¸ö³ÌÐò£¬²»¹ý¶¨Öƹػú´¦Àí¹ý³ÌÕý³£Çé¿öÏÂÊǼ°ÉÙÓõ½µÄ¡£
Àí½âÈçºÎÆô¶¯¼°¹Ø±ÕÒ»¸ö³ÌÐòµÄ¹¤×÷¹ý³Ì²»½ö½ö¾ ......
#!/bin/sh
# define default value
URL='https://fetionapi.appspot.com/api/'
# your phone number
from='13600000000'
# your fetion password
PW='password'
......