Created
January 6, 2014 08:25
-
-
Save t2psyto/8279823 to your computer and use it in GitHub Desktop.
shell script for deploy NetCommons-2.4.2.0 to Sakura internet.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mkdir ~/temp | |
| cd ~/temp | |
| wget -c "http://www.netcommons.org/%E3%83%80%E3%82%A6%E3%83%B3%E3%83%AD%E3%83%BC%E3%83%89/%E3%82%B3%E3%82%A2%E3%83%91%E3%83%83%E3%82%B1%E3%83%BC%E3%82%B8/?action=cabinet_action_main_download&block_id=93&room_id=1&cabinet_id=1&file_id=2467&upload_id=5296" -O netcommons-2.4.20.tar.gz | |
| tar xzvf netcommons-2.4.20.tar.gz html NetCommons-2.4.2.0/html | |
| mkdir ~/www/nc2/ | |
| mv NetCommons-2.4.2.0/html/* ~/www/nc2/ | |
| rm -rf NetCommons-2.4.2.0 | |
| rm -rf netcommons-2.4.20.tar.gz | |
| # goto http://server/nc2/htdocs/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
what does it used for?i just know alittle about shell