Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

½â¶Álinux¶Ôstring.hº¯ÊýµÄʵÏÖ

/*
file:string.h
#ifndef _LINUX_STRING_H_
#define _LINUX_STRING_H_
/* We don't want strings.h stuff being user by user stuff by accident */
#ifdef __KERNEL__
#include <linux/types.h> /* for size_t */
#include <linux/stddef.h> /* for NULL */
#include <linux/compiler.h> /* for inline ((always_inline)) */
#ifdef __cplusplus
extern "C" {
#endif
extern char * ___strtok;
extern char * strpbrk(const char *,const char *);
extern char * strtok(char *,const char *);
extern char * strsep(char **,const char *);
extern __kernel_size_t strspn(const char *,const char *);
/*
* Include machine specific inline routines
*/
#include <asm/string.h>
#ifndef __HAVE_ARCH_STRCPY
extern char * strcpy(char *,const char *);
#endif
#ifndef __HAVE_ARCH_STRNCPY
extern char * strncpy(char *,const char *, __kernel_size_t);
#endif
#ifndef __HAVE_ARCH_STRCAT
extern char * strcat(char *, const char *);
#endif
#ifndef __HAVE_ARCH_STRNCAT
extern char * strncat(char *, const char *, __kernel_size_t);
#endif
#ifndef __HAVE_ARCH_STRCMP
extern int strcmp(const char *,const char *);
#endif
#ifndef __HAVE_ARCH_STRNCMP
extern int strncmp(const char *,const char *,__kernel_size_t);
#endif
#ifndef __HAVE_ARCH_STRNICMP
extern int strnicmp(const char *, const char *, __kernel_size_t);
#endif
#ifndef __HAVE_ARCH_STRCHR
extern char * strchr(const char *,int);
#endif
#ifndef __HAVE_ARCH_STRRCHR
extern char * strrchr(const char *,int);
#endif
#ifndef __HAVE_ARCH_STRSTR
extern char * strstr(const char *,const char *);
#endif
#ifndef __HAVE_ARCH_STRLEN
extern __kernel_size_t strlen(const char *);
#endif
#ifndef __HAVE_ARCH_STRNLEN
extern __kernel_size_t strnlen(const char *,__kernel_size_t);
#endif
#ifndef __HAVE_ARCH_MEMSET
extern void * memset(void *,int,__kernel_size_t);
#endif
#ifndef __HAVE_ARCH_MEMCPY
extern void * memcpy(void *,const void *,__kernel_size_t);


Ïà¹ØÎĵµ£º

linuxÏÂmysqlµÄʹÓÃ


Æô¶¯mysql:  /etc/rc.d/init.d/mysql start
ÐÞ¸ÄÃÜÂë: ¸ñʽ£ºmysqladmin -uÓû§Ãû -p¾ÉÃÜÂë password ÐÂÃÜÂë
ʹÓÃÃÜÂëµÇ¼:  mysql -u root -p
ÏÔʾÊý¾Ý¿â:  show databases;
Ñ¡ÔñÊý¾Ý¿â:  use Êý¾Ý¿âÃû;
ÏÔʾ±í:  show tables;
ÏÔʾ±í½á¹¹:  descibe ±íÃû;
Ô¶³ÌµÇ¼mysqlÐèÒª¿ªÆôÈ ......

linux´´½¨ÆÕͨÓû§ºÍ¹ÜÀíÔ±Óû§

useradd----´´½¨Óû§ÃüÁî
¼òµ¥µÄ´´½¨ÆÕͨÓû§(µ±È»µÃÔÚrootµÇ¼ÏÂÖ´ÐÐ)
useradd username -p password
userdel username ɾ³ýÓû§
µ±ÎÒÃÇÔÚ´´½¨Óû§³É¹¦Ö®ºó vim /etc/passwd ÔÚ×îϱ߿ÉÒÔ¿´µ½¸Õ¸Õ´´½¨µÄÓû§
ÄÇôÈç¹ûÎÒÏ뽫¸Õ²Å´´½¨µÄÓû§¸ÄΪ¸ß¼¶¹ÜÀíÔ±Ôõô°ì£¬Òª½«Ëû¾ßÓÐrootÒ»ÑùµÄȨÏÞ¡£
ok£¬»¹ÊÇÔÚ/etc/passwdÎÄ ......

ʵսlinuxÓëxpµÄ·ÃÎÊ¡¾×ªÔØ¡¿

ÏÂÎÄÊÇÆª²»´íµÄÎÄÕ¡£ÎÒ°´ÕÕËüµÄ˵Ã÷£¬ÊµÏÖÁËXP¶ÔlinuxϵͳµÄ·ÃÎʺÍÐ޸ŦÄÜ¡£ÎªÁ˽«Ô­ÎÄÍêÕû±£Áô£¬ÌØ×ªÔØÒ»Ï¡£Ô­ÎĵØÖ·ÎÄÕÂ×îºó¡£
±¾ÎÄ×÷ÕßµÄrpm°²×°samba´òÓ¡»ú¹²Ïí³É¹¦£¬ÓÃÔ´Âë°²×°´òÓ¡»úûÓгɹ¦£¬·Ç³£¿Éϧ¡£
(Ô­´´)±¾ÎÄÖ»·¢±íÓÚwww.xxlinux.com£¬×÷Õßtian1118(´óѧ·¨ÂÉרҵµÄlinux°®ºÃÕß)¡£Ìرð¸ÐлºÚÒ¹²»ÔÚ£¬ÑàÄÏÌ ......

svn + apache of linux °²×°ÅäÖÃ

°´ÒÔÏ·½·¨,°²×°ÁËSVN ·þÎñÆ÷¶Ë,Óöµ½ÁËÁ½¸öÎÊÌâ,Ò»¸öÊÇAPACHEÎÞ·¨Æô¶¯,ºóÓÃÁíÒ»ÖÖ·½·¨½â¾ö.
×î´óÎÊÌâÊǺóÀ´ÅäÖúúó,Ò»Ö±ÎÞ·¨·ÃÎÊ,³öÏÖ:
Forbidden
You don't have permission to access /svn/mysvn on this server
.
´íÎó,ºó·ÖÎö,¿ÉÄÜÊÇĿ¼ȨÏÞÎÊÌâ,ºóÀ´°Ñ°æ±¾¿âµÄĿ¼ȨÏÞÐ޸ijÉ777 ,½â¾ö,
ºóÃæÈ¨ÏÞ¿ØÖÆ,ÔÙÒ»²½Ò»² ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ