[10940] 2017-01-17_用RaspberryPiZero打造「即插即用」的Web服务器

文档创建者:s7ckTeam
浏览次数:6
最后更新:2025-01-18
2017-01-17_用RaspberryPiZero打造「即插即用」的Web服务器 R a s p b e r r y   P i   Z e r o W e b y f g e e k   F r e e B u f   2 0 1 7 - 0 1 - 1 7 * y f g e e k R a s p b e r r y   P i   Z e r o 4 . 5 便 便 W i F i R a s p b e r r y   P i   Z e r o W e b w e b w e b w e b w e b
1 .   R a s p b i a n   J e s s i e     R a s p b i a n   J e s s i e   L i t e   S D   C a r d W i n d o w s W i n 3 2   D i s k   I m a g e r   M a c / L i n u x   2 . 3 . 4 . 5 . S D   C a r d Z e r o 线 U S B O T G 6 0 - 9 0 s i p d i s k u t i l   l i s t d i s k u t i l   u n m o u n t D i s k   / d e v / S D   # d i s k 2 c d   / U s e r s / i v a n / D o w n l o a d s / 2 0 1 6 - 1 1 - 2 5 - r a s p b i a n - j e s s i e   # s u d o   d d   b s = 1 m   i f = 2 0 1 6 - 1 1 - 2 5 - r a s p b i a n - j e s s i e . i m g   o f = / d e v / r d i s k 2 c o n f i g . t x t d t o v e r l a y = d w c 2 c m d l i n e . t x t r o o t w a i t m o d u l e s - l o a d = d w c 2 , g _ e t h e r s s h
6 . P i n g   r a s p b e r r y p i . l o c a l 1 . s s h r a s p b e r r y p i . l o c a l r a s p b e r r y 2 . 3 . P I N G   r a s p b e r r y p i . l o c a l   ( 1 6 9 . 2 5 4 . 7 0 . 2 4 5 ) :   5 6   d a t a   b y t e s 6 4   b y t e s   f r o m   1 6 9 . 2 5 4 . 7 0 . 2 4 5 :   i c m p _ s e q = 0   t t l = 6 4   t i m e = 0 . 5 7 0   m s 6 4   b y t e s   f r o m   1 6 9 . 2 5 4 . 7 0 . 2 4 5 :   i c m p _ s e q = 1   t t l = 6 4   t i m e = 0 . 3 3 8   m s 6 4   b y t e s   f r o m   1 6 9 . 2 5 4 . 7 0 . 2 4 5 :   i c m p _ s e q = 2   t t l = 6 4   t i m e = 0 . 3 1 6   m s 6 4   b y t e s   f r o m   1 6 9 . 2 5 4 . 7 0 . 2 4 5 :   i c m p _ s e q = 3   t t l = 6 4   t i m e = 0 . 3 4 4   m s p i @ r a s p b e r r y p i . l o c a l r a s p i - c o n f i g
r o o t 4 . M a c s q u i d 使 w e b   s e r v e r 使 5 . S q u i d M a n 8 0 8 0 H T T P M a c 6 . s h e l l 7 . 8 . s u d o   p a s s w d   r o o t b r e w   u p d a t e b r e w   i n s t a l l   s q u i d c d   / e t c / a p t / a p t . c o n f . d s u d o   v i   5 0 r a s p i A c q u i r e : : h t t p : : P r o x y   " h t t p : / / M a c . l o c a l : 8 0 8 0 " ; a p t - g e t   u p d a t e l i g h t h t t p d + m y s q l + p h p s u d o   a p t - g e t   i n s t a l l   l i g h t t p d   m y s q l - s e r v e r   p h p 5 - c g i   p h p 5 - m y s q l p h p . i n i s u d o   n a n o   / e t c / p h p 5 / c g i / p h p . i n i ; ; c g i . f i x _ p a t h i n f o   =   1 l i g h t t p d . c o n f s u d o   n a n o   / e t c / l i g h t t p d / l i g h t t p d . c o n f s e r v e r . m o d u l e s f a s t c g i s e r v e r . m o d u l e s   =   ( " m o d _ a c c e s s " , " m o d _ a l i a s " , " m o d _ c o m p r e s s " , #   " m o d _ r e d i r e c t " , " m o d _ f a s t c g i " , #   " m o d _ r e w r i t e " , )
l i g h t t p d s c p Z e r o w e b Z e r o f a s t c g i . s e r v e r   =   (   " . p h p "   = >   ( (         " b i n - p a t h "   = >   " / u s r / b i n / p h p 5 - c g i " ,         " s o c k e t "   = >   " / t m p / p h p . s o c k e t " ) ) ) s u d o   / e t c / i n i t . d / l i g h t t p d   r e s t a r t i n d e x . p h p < ? p h p p h p i n f o ( ) ; ? > i n d e x . h t m h t t p : / / . l o c a l
* y f g e e k F r e e B u f . C O M
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则