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

LinuxÏÂapache+phpLDAPadminÌáʾÎÞȨ·ÃÎʵÄÎÊÌâ

ϵͳ£ºCintOS 5.2
Apache£ºCentOS 5.2×Ô´øµÄhttpd-2.2.3-11
phpLDAPadmin£ºphpldapadmin-1.1.0.7(´Ó¹ÙÍøÏÂÔصÄphpldapadmin-1.1.0.7.tat.gzÎļþ)

    ÎÒÊǸù¾ÝÏà¹ØµÄÎĵµÅäÖõÄphpLDAPadminÈí¼þ£¬ÔÚÕâ֮ǰopenLDAP·þÎñÒѾ­ÅäºÃ²¢¿ªÆô£¬ÅäÖúúóÔÚ±¾»úÉÏ·ÃÎÊ£¬³öÏÖÈçÏÂÌáʾ£º

    Forbidden
    You don't have permission to access /phpldapadmin/ on this server.
    --------------------------------------------------------------------------------
    Apache/2.2.3 (CentOS) Server at localhost Port 80

    ÎÒÔÚÍøÉϲé¹ýЩ×ÊÁÏ£¬ÒѾ­½«»úÆ÷ÉϵķÀ»ðǽºÍselinux¶¼½ûÓÃÁË£¬¶øÇÒ½«Õû¸öphpldapadminÎļþ¼Ð¼°ÀïÃæµÄÎļþµÄ·ÃÎÊȨÏÞ¶¼ÉèÖÃΪ777ÁË£¬µ«ÊÇ·ÃÎÊʱ»¹ÊdzöÏÖÉÏÊöµÄÌáʾ¡£
    ÎÒ²»ÖªµÀ»¹ÐèÒªÅäÖÃЩʲô²ÅÄÜÕý³£·ÃÎÊphpLDAPadmin£¬Ï£ÍûÓо­ÑéµÄÅóÓÑÄܸøЩ°ïÖúºÍÌáʾ£¬ÔÚÕâÀïÏÈлл¸÷λÁË£¡

    ¸Ðл¥ÉϵİïÖú!
    ÎÒµÄphpLDAPadminÔ­À´ÊÇ·ÅÔÚ/usr/local/Îļþ¼Ðϵģ¬°´ÄãµÄÌáʾ£¬ÎÒÓÖ½«phpLDAPadmin·Ö±ð·Åµ½/usr/Îļþ¼Ð¡¢/var/Îļþ¼ÐºÍ/home/admin/Îļþ¼ÐÏÂÊÔÁ˼¸´Î¡£ÆäÖУ¬ÅäÖÃÔÚ/usr/Îļþ¼ÐºÍ/var/Îļþ¼ÐÏÂʱ£¬µÇ¼·ÃÎÊÐèÒªÊäÈëÓû§ÃûadminºÍÃÜÂ룬Ȼºó±¨´í£»ÅäÖÃÔÚ/home/admin/Îļþ¼ÐÏÂʱ£¬²»ÊäÈëÕ˺ÅÃÜÂë¾ÍÖ±½Ó±¨´í¡£ÕâÀïµÄ±¨´íºÍÉÏÃæµÄÒ»Ñù£¬²¢ÇÒÿ´ÎÅäÖö¼½«È¨ÏÞÐÞ¸ÄΪÁË777¡£
    ÁíÍ⣬ÓÉÓڵǼÕË»§ÃûΪadmin£¬ÎÒ»¹ÌØÒâн¨ÁËÓû§adminºÍÓû§×éadmin£¬²¢ÇÒ½«phpLDAPadminµÄËùÓÐÕߺÍËùÓÐ×éÉè³ÉÁËadmin£¬µ«Ò²ÊDz»ºÃÓã¬Ï£ÍûÂ¥ÉÏÔÙ¸øЩ½¨Òé°¡¡£

ÎÊÌâÕÒµ


Ïà¹ØÎÊ´ð£º

linux»·¾³ÏÂgethostbynameº¯ÊýÎÊÌâ - C/C++ / CÓïÑÔ

дÁ˸ö²âÊÔ³ÌÐòÈçÏÂ
   
  struct hostent *hp; 
char AlarmDevIP[20];  
  int x2;

hp = gethostbyname("www.google.com");
if (hp)
{ ......

LinuxÏ°²×°ÎÊÌâ

Ô­ÏȵÄGCC°æ±¾Îª4.1.2,ÎÒÖØбàÒë°²×°ÁËGCC4.3.2£¬µ«ÊDZàÒëÍê³ÌÐòÔËÐгÌÐòʱ»á³öÏÖversion `GLIBCXX_3.4.9' not found Õâ¸öÎÊÌ⣬ÎÒ²»Ì«Ã÷°×Ôõô»ØÊ£¬Çë¸÷λ´óϺָµãһϡ£
ÊÖ¶¯ÔÙ×°Ò»´Îglibc*_3.4.9

ÕâÊÇÎ ......

linuxÒ»¸ösleepµÄÆæ¹ÖÎÊÌ⣬¸ßÊÖÀ´¸ø½â´ðÏÂÁË

while(1)
{
    time_t now;
    time(&now);
    struct tm* pt=localtime(&now);
    cout < < "µ±Ç°Ê±¼ä" < < pt->t ......

LinuxÈçºÎÔÚͼÐνçÃæºÍÃüÁîÐÐÖ®¼äÇл» [

¸÷λ´óϺ£¬ÎÒÕýÔÚѧϰLinux£¬¿ÉÊÇLinuxͼÐνçÃæºÍÃüÁîÐÐÖ®¼äÇл»Óöµ½À§ÄÑ£¬ÔÚÃüÁîÐÐÏÂÊäÈëstartx£¬²»ÊǽøÈëͼÐνçÃæ 
¶øÊdzöÏÖ
ÇëÎʸ÷룬ÕâÊÇΪʲô£¿ ¶øÇÒ°´Ctrl+Alt+F7£¬Ò²²»ÄÜÃüÁîÐнøÈëͼÐνçÃæ¡£&nbs ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ