Changeset 139 for nutchez-0.2/src/test/install
- Timestamp:
- Jun 1, 2010, 2:04:36 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nutchez-0.2/src/test/install
r137 r139 19 19 20 20 main () { 21 echo "歡迎使用NutchEZ \此安裝程序會為您新建一個nutchuser帳號"21 echo "歡迎使用NutchEZ, 此安裝程序會為您新建一個nutchuser帳號" 22 22 set_install_information 23 23 show_info 24 24 read -p "Please confirm your install infomation: 1.Yes 2.No " confirm 25 25 if [ $confirm -eq 1 ]; then 26 # create_nutchuser_account27 #make_ssh_key28 26 creat_nutchuser_account $nutchuser_passwd 27 make_ssh_key 28 sleep 10 29 29 # 解壓縮 30 # tar -zxvf nutchez-0.2-20100524.tar.gz 31 # mv nutchez /opt/ 30 tar -zxvf nutchez-0.2-0531.tar.gz -C /opt/ 32 31 Install_Nutch 33 Install_Tomcat32 # Install_Tomcat 34 33 chown -R nutchuser:nutchuser /opt/nutchez 34 chown -R nutchuser:nutchuser /var/nutchez 35 35 # make_client_install 36 36 … … 38 38 format_HDFS 39 39 start_up_NutchEZ 40 start_up_tomcat 41 40 start_up_tomcat 42 41 # 安裝流程結束,並進入網頁管理頁面設定爬網網址...等 43 42 echo "Install Successfully!!"
Note: See TracChangeset
for help on using the changeset viewer.