项目

一般

简介

运行环境配置.txt

韦 士飞, 2016-09-12 09:12

 
1

    
2

    
3
1. ??iconv????˵?????±???iconv?ֿ⡣?????????ɵ?iconv???ļ????Ƶ?/libĿ¼?£?
4
  # mkdir /lib/
5
  # cp -arf iconv/lib/* /lib/
6
  
7

    
8
2. ??curl????˵?????±???curl?⡣?????????ɵ?curl???ļ????Ƶ?/libĿ¼?£?
9
  # wr cp -arf curl/build/lib/* /lib/
10

    
11

    
12
3. ??goahead????˵?????±???web?????????????????ɵ?goahead??ִ???ļ????Ƶ? /usr/local/goaheadĿ¼?£?
13
# mkdir /usr/local
14
# mkdir /usr/local/goahead
15
# cp build/linux-arm-default/bin/* /usr/local/goahead/
16
# cp /usr/local/goahead/*.so /lib/
17
# cp /usr/local/goahead/*.a /lib/
18
# cp src/*.txt /usr/local/goahead/
19

    
20
4. ??/home/omara/Ŀ¼?´???"NandFlash"Ŀ¼??????????A6????ͬ??Ŀ¼?ṹ?????ڸ?Ŀ¼?½?????????ӣ?
21
  # cd /
22
  # mkdir /home/omara/NandFlash
23
  # mkdir /home/omara/NandFlash/www
24
  # mkdir /home/omara/NandFlash/www/wwwpub
25
  # mkdir /home/omara/NandFlash/tmp
26
  # ln -s /home/omara/NandFlash NandFlash
27
  
28
5. ?? /etc/init.d/ Ŀ¼???½??ļ? appsu.sh ???ļ????????£?
29
#!/bin/sh -e
30

    
31
#source /etc/profile
32

    
33
sleep 10s
34
echo "Starting application..." > /dev/ttyS0
35
/bin/omappsusetup
36

    
37
sleep 30s
38
echo "Starting web service..." > /dev/ttyS0
39
/bin/goaheadsetup
40

    
41
sleep 20s
42
echo "Starting apppost..." > /dev/ttyS0
43
/bin/omapppostsetup
44

    
45
sleep 10s
46
echo "Starting omTray ....." > /dev/ttyS0
47
/bin/omtraysetup
48

    
49
6. ?޸??ļ?Ȩ??
50
# chmod 777 /etc/init.d/appsu.sh
51
  
52
7. ????????
53
???????ð??????????ù???.txt?? ?ļ?????????
54

    
55
8. ?? /etc/rc.local ?ļ??????????????ݣ?
56
/bin/mount -n -t tmpfs tmpfs /NandFlash/tmp
57
/etc/init.d/appsu.sh &
58

    
59

    
60
9. FTP????????
61
FTP???????ð???bftp??ֲ.txt?? ????xinetd ?????????ù???.txt???ļ?????????