33

操作记录

 6 years ago
source link: https://studygolang.com/articles/13981?amp%3Butm_medium=referral
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

31 go gopath

32 gopath

33 cd /var/www/html/

34 ls

35 ls -la

36 vi /etc/profile

37 cd /usr/local/

38 ls

39 cd thrift/

40 ls

41 make

42 ./configure --enable-coverage --with-go=no --with-golang=no

43 make

44 ls

45 thrift -version

46 history

47 pip3 install statsmodels

48 pip3 install dpath patsy

49 cd ../../,.

50 cd ../..

51 ls

52 cd ..

53 ls

54 cd ..

55 ls

56 cd ..

57 ls

58 wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2

59 ls

60 rm -rf phantomjs-2.1.1-linux-x86_64.tar.bz2

61 ls

62 cd ../Downloads/

63 ls

64 bzip2 -d phantomjs-2.1.1-linux-x86_64.tar.bz2

65 tar xvf phantomjs-2.1.1-linux-x86_64.tar -C /usr/local/tools/

66 yum -y install wget fontconfig

67 cd /usr/local/tools/

68 las

69 la

70 ls

71 mv phantomjs-2.1.1-linux-x86_64/ phantomjs

72 ls

73 cd phantomjs/

74 ls

75 cd bin/

76 ls

77 chmod 777 phantomjs

78 pwd

79 ln -s /usr/local/tools/phantomjs/bin/phantomjs /usr/local/bin/phantomjs

80 phantomjs

81 pwd

82 cd ..

83 ls

84 chmod -R 777 ./thrift/*

85 wget https://github.com/Medium/phantomjs/releases/download/v1.9.19/phantomjs-1.9.8-linux-x86_64.tar.bz2

86 ls

87 mv phantomjs/ phantomjsbak

88 cd /home/muller/Downloads/

89 ls

90 bzip2 -d phantomjs-1.9.8-linux-x86_64.tar.bz2

91 tar -xvf phantomjs-1.9.8-linux-x86_64.tar -C /usr/local/tools/

92 cd /usr/local/tools/

93 ls

94 mv phantomjs-1.9.8-linux-x86_64/ phantomjs

95 rm -rf /usr/local/bin/phantomjs

96 ln -s /usr/local/tools/phantomjs/bin/phantomjs /usr/local/bin/phantomjs

97 chmod 777 phantomjs/bin/phantomjs

98 cd /home/muller/Downloads/

99 ls

100 tar -zxvf boost_1_67_0_rc1.tar.gz -C /usr/local/tools/

101 cd /usr/local/tools/

102 ls

103 mv boost_1_67_0/ boost

104 ls

105 cd boost/

106 ls

107 ./bootstrap.sh

108 ls

109 ./bjam --layout=versioned --build-type=complete --toolset=gcc install

110 ls

111 ./b2

112 ./b2 install

113 ls

114 cd sta

115 cd stage/

116 ls

117 cd lib/

118 \ls

119 pwd

120 ln -s /usr/local/tools/boost/stage/lib/libboost_unit_test_framework.a /usr/lib64/libboost_unit_test_framework.a

121 pwd

122 rm -rf /usr/lib64/libboost_unit_test_framework.a

123 ln -s /usr/local/lib/libboost_unit_test_framework.a /usr/lib64/libboost_unit_test_framework.a

124 yum install libevent

125 yum install install libboost-dev libboost-test-dev libboost-program-options-dev libboost-system-dev libboost-filesystem-dev libevent-dev automake libtool flex bison pkg-config g++ libssl-dev

126 pwd

127 cd /usr/lib64

128 ls

129 cd /usr/local/bin/

130 ls

131 find / -name libboost_unit_test_framework.a

132 ls -la

133 pwd

134 cd ../lib

135 ls

136 ln -s /usr/local/lib/libboost_unit_test_framework.a /usr/lib64/libboost_unit_test_framework.a

137 rm -rf /usr/lib64/libboost_unit_test_framework.a

138 ln -s /usr/local/lib/libboost_unit_test_framework.a /usr/lib64/libboost_unit_test_framework.a

139 minikube start --registry-mirror= https://registry.docker-cn.com

140 minikube start

141 minikube start --bootstrapper localkube

142 minikube delete

143 minikube start

144 minikube dashboard

145 minikube addons list

146 minikube dashboard --url=true

147 mongod --config /usr/local/tools/mongodb/bin/mongodb.conf

148 cd pyrepo/

149 ls

150 cd github/

151 ls

152 cd modeldb/

153 ls

154 cd server/

155 ls

156 sh ./start_server.sh

157 cd ..

158 ls

159 cd scripts/

160 ls

161 cd ../server/

162 sh ./start_server.sh

163 vi start_server.sh

164 sh ./start_server.sh

165 if [ -z 1 ] && [ -z 2 ] && [ -z 3 ]; then echo "Invalid arguments" fi; fi 166 ssh root@cdhcode 167 cd /opt/ 168 ls 169 cd /usr/local/bin/ 170 ls 171 du -h ./ 172 du -h kubectl 173 du -h minikube 174 du -h docker-compose 175 du -h wechat 176 ls -la 177 scp -r docker-compose kubectl minikube 7za [email protected]:/usr/local/bin/ 178 vi /etc/hosts 179 cat /etc/hosts 180 vi /etc/hosts 181 histrory 182 history 183 mongod --config /usr/local/tools/mongodb/bin/mongodb.conf 184 cd .. 185 minikube dashboard 186 minikube start 187 minikube dashboard 188 minikube dashboard --url=true 189 cd ~/.sbt 190 ls 191 vi repositories 192 ps -aux|grep idea 193 kill -9 4944 194 kill -9 5000 195 service docker start 196 docker-compose up 197 ls 198 cd .. 199 ls 200 rm -rf hydro-serving 201 git clone https://github.com/Hydrospheredata/hydro-serving.git 202 cd hydro-serving 203 docker-compose up 204 yum install nginx -y 205 docker-compose up 206 vi /etc/hosts 207 cd /home/muller/Documents/pyrepo/ 208 ls 209 cd github/ 210 ls 211 cd modeldb/ 212 ls 213 cd server/ 214 ls 215 sh ./start_server.sh 216 cd .. 217 ls 218 docker-compose up 219 service docker start 220 docker-compose up 221 cd .. 222 ls 223 rm -rf modeldb/ 224 ls 225 git clone https://github.com/mitdbg/modeldb.git 226 cd modeldb/ 227 ls 228 docker-compose up 229 ls 230 cat docker-compose.yml 231 ls 232 docker-compose up 233 ps -aux |grep mongodb 234 kill -9 21219 235 ps -aux |grep mongodb 236 docker-compose up 237 cd /home/muller/Downloads/ 238 ls 239 scp instacart_online_grocery_shopping_2017_05_01.tar.gz muller@homepc:/home/muller/Documents 240 scp instacart_online_grocery_shopping_2017_05_01.tar.gz muller@homepad:/home/muller/Documents 241 ls 242 cd dataset/ 243 ls 244 cd .. 245 ls 246 cd ../Documents/ 247 ls 248 scp -r electronic-wechat-linux-x64/ muller@homepad:/home/muller/Documents 249 ls 250 cd javarepo/ 251 ls 252 cd .. 253 ls 254 cd pyrepo/ 255 ls 256 cd /home/muller/Downloads/ 257 ls 258 cd ../Documents/ 259 ls 260 cd /tmp/ 261 ls 262 cd mozilla_muller0/ 263 ls 264 cd /home/muller/Documents/ 265 ls 266 /usr/local/ 267 ls 268 cd /usr/local/ 269 ls 270 tar -zvf simplenote-1.1.6/ sim.tar.gz 271 tar -zvf simplenote.tar.gz simplenote-1.1.6/ 272 tar -czvf simplenote.tar.gz simplenote-1.1.6/ 273 ls 274 du -h simplenote.tar.gz 275 scp -r simplenote.tar.gz root@homepad:/home/muller/Documents/ 276 cd /home/muller/ 277 ls 278 cd Documents/ 279 ls 280 tar -zxvf CLion-2018.2.tar.gz -C /usr/local/ 281 cd /usr/local/ 282 ls 283 mv clion-2018.2/ clion 284 ls 285 cd clion/ 286 ls 287 cd bin/ 288 ls 289 pwd 290 ln -s /usr/local/clion/bin/clion.sh /usr/local/bin/clion 291 ./clion.sh 292 ls 293 cd .. 294 ls 295 cd .. 296 ls 297 sudo yum install dotnet-sdk-2.1 298 thrift version 299 thrift -v 300 thrift -version 301 exit 302 sudo rpm -Uvh https://packages.microsoft.com/config/rhel/7/packages-microsoft-prod.rpm 303 yum update 304 cd /home/muller/l 305 cd /home/muller/Documents/ 306 ls 307 cd pyrepo/ 308 sl 309 ls 310 cd .. 311 ls 312 cd javarepo/ 313 ls 314 cd .. 315 ls 316 cd softwars/ 317 ls 318 cd .. 319 ls 320 mv JetBrains.Rider-2018.1.3.tar.gz WebStorm-2018.2.tar.gz pycharm-professional-2018.1.4.tar.gz goland-2018.2.tar.gz CLion-2018.2.tar.gz softwars/ 321 ls 322 mv ideaIU-2018.1.6.tar.gz softwars/ 323 ls 324 cd ../Downloads/ 325 ls 326 exit 327 cd /home/ 328 ls 329 cd muller/ 330 ls 331 cd Documents/ 332 ls 333 cd pyrepo/ 334 ls 335 scp github.zip muller@homepad:/home/muller/Documents/ 336 ssh-keygen -t rsa 337 cd ~/.ssh/ 338 ls 339 ssh-copy-id -i ./id_rsa.pub root@homepad 340 ssh-copy-id -i ./id_rsa.pub muller@homepad 341 ssh-copy-id -i ./id_rsa.pub muller@cdhcode 342 ssh-copy-id -i ./id_rsa.pub root@cdhcode 343 ssh-copy-id -i ./id_rsa.pub root@homemac 344 ssh-copy-id -i ./id_rsa.pub muller@homemac 345 yum install -y nuget 346 yum install libdvdcss gstreamer{,1}-plugins-ugly gstreamer-plugins-bad-nonfree gstreamer1-plugins-bad-freeworld 347 yum install gstreamer-plugins-bad gstreamer-plugins-ugly xine-lib-extras-nonfree gstreamer-ffmpeg 348 yum -y install http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm 349 yum install libdvdcss gstreamer{,1}-plugins-ugly gstreamer-plugins-bad-nonfree gstreamer1-plugins-bad-freeworld 350 sudo yum localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-7.noarch.rpm 351 mv WebStorm-182.3684.70/ webstorm 352 mv GoLand-2018.2/ goland 353 cd webstorm/ 354 cd bin/ 355 ls 356 pwd 357 ln -s /usr/local/webstorm/bin/webstorm.sh /usr/local/bin/webstorm 358 cd ../../goland/ 359 pwd 360 ln -s /usr/local/goland/bin/goland.sh /usr/local/bin/goland 361 cd ../,,. 362 cd ../,, 363 cd .. 364 ls 365 mv JetBrains\ Rider-2018.1.3/ rider 366 cd rider/ 367 ls 368 cd bin/ 369 ls 370 pwd 371 ln -s /usr/local/rider/bin/rider.sh /usr/local/bin/rider 372 webstorm 373 tar -zxvf WebStorm-2018.2.tar.gz -C /usr/local/ 374 ls 375 tar -zxvf goland-2018.2.tar.gz -C /usr/local/ 376 ls 377 tar -zxvf JetBrains.Rider-2018.1.3.tar.gz -C /usr/local/ 378 goland 379 rider 380 rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm 381 yum remove gstreamer1-plugins-ugly-free 382 yum install libdvdcss gstreamer{,1}-plugins-ugly gstreamer-plugins-bad-nonfree gstreamer1-plugins-bad-freeworld 383 yum install Aria2 384 yum install aria2 385 yum install kmod-hfsplus 386 rpm --import http://elrepo.org/RPM-GPG-KEY-elrepo.org 387 rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm 388 yum install kmod-hfsplus 389 exit 390 service docker start 391 service enable docker 392 systemctl enable docker 393 minikube start 394 minikube dashboard --url=true 395 cd .. 396 ls 397 make clean conf 398 cd kubernetes/ 399 ls 400 cd conf/ 401 ls 402 make 403 make clean conf GLUSTERFS_IP1=1.2.3.4 GLUSTERFS_IP2=1.2.3.5 404 make clean conf SELDON_SERVICE_TYPE=LoadBalancer 405 cd .. 406 ls 407 cd bin/ 408 ls 409 ./seldon-up 410 ls 411 ./start_server.sh 0.10.0 412 mvn -e compile exec:java 413 chmod -R 777 ./* 414 mvn -e compile exec:java 415 ./start_server.sh 0.10.0 416 mvn -e compile exec:java 417 ls 418 ./start_server.sh 0.10.0 419 ls 420 vi pom.xml 421 ./start_server.sh 0.10.0 422 cd .. 423 chown muller:muller ./modeldb 424 ls -la 425 cd .. 426 chown -R muller:muller ./* 427 cd server/ 428 ls -la 429 ./start_server_test.sh 430 ./start_server.sh 0.10.0 431 lore fit my_app.models.product_popularity.Keras --test --score 432 lore fit lasa.models.product_popularity.Keras --test --score 433 lore fit lasa.models.product_popularity.Keras --test --score --early-stop=false 434 pip list 435 ls -la 436 cd tests/ 437 ls 438 cd data/ 439 ls 440 cd query_cache/ 441 ls 442 ls -la 443 cd .. 444 ls 445 cd .. 446 cd models/ 447 ls 448 ls -la 449 cat lasa.models.product_popularity/ 450 cd lasa.models.product_popularity/ 451 ls 452 cd Keras/ 453 ls 454 cd 1 455 ls 456 cd checkpoints/ 457 kls 458 ls 459 lore fit lasa.models.product_popularity.Keras --score 460 lore fit lasa.models.product_popularity.XGB --score 461 tar -zxvf zeppelin-0.8.0-bin-all.tgz -C /usr/local/ 462 cd /usr/local/ 463 ls 464 mv zeppelin-0.8.0-bin-all/ zeppelin 465 cd zeppelin/ 466 ls 467 cd conf/ 468 ls 469 mv zeppelin-site.xml.template zeppelin-site.xml 470 mv shiro.ini.template shiro.ini 471 vi zeppelin-site.xml 472 vi shiro.ini 473 vi helium.json 474 cd .. 475 ls 476 cd bin/ 477 ls 478 pwd 479 ln -s /usr/local/zeppelin/bin/zeppelin-daemon.sh /usr/local/bin/zeppelin 480 zeppelin start 481 history 482 yum install gradle 483 cd ~/ 484 ls -la 485 cd .gradle/ 486 ls 487 vi init.gradle 488 cd /usr/local/thrift 489 ls 490 cat appveyor.yml 491 ls 492 vi settings.xml 493 pwd 494 ls 495 ./start_server.sh 0.10.0 496 exit 497 cd /usr/local/thrift 498 ls 499 cd lib/ 500 ls 501 cd java 502 ls 503 cd src/ 504 ls 505 cd org/ 506 ls 507 cd apache/ 508 ls 509 cd thrift/ 510 ls 511 which thrift 512 cd /home/muller/Documents/ 513 ls 514 su root 515 exit 516 chmod -R 777 ./* 517 exit 518 jupyter notebook & 519 pip3 install pysqlite2 520 pip list 521 ls -la /usr/local/bin/zeppelin 522 zeppelin start & 523 cd ~/.npm/ 524 ls 525 cd _logs/ 526 ls 527 cd /usr/local/ 528 ls 529 cd tools/ 530 sl 531 ls 532 cd /home/muller/Documents/ 533 ls 534 cd pyrepo/ 535 ls 536 cd seldon-server/ 537 ls 538 service docker start 539 minikube start 540 minikube dashboard --url=true 541 wechat & 542 minikube dashboard --url=true 543 service docker start 544 docker-compose up 545 cd ~ 546 ls -la 547 cd .npm/ 548 ls 549 cd _logs/ 550 ls 551 rm -rf ./* 552 ls 553 cd /home/muller/Documents/ 554 ls 555 cd pyrepo/ 556 cd github/ 557 ls 558 cd modeldb/ 559 kls 560 ls 561 docker-compose up 562 cd .. 563 ls 564 cd .. 565 ls 566 cd modeldb/ 567 ls 568 docker-compose up 569 mvn compile 570 mvn compile 571 mvn clean install 572 mvn compile 573 cd .. 574 ls 575 cd server/ 576 ls 577 cd codegen/ 578 ls 579 ./gen_sqlite.sh 580 mongod --config /usr/local/tools/mongodb/bin/mongodb.conf 581 wget http://apache.mesi.com.ar/thrift/0.9.3/thrift-0.9.3.tar.gz 582 pwd 583 cd Documents/ 584 wget https://www.apache.org/dist/thrift/0.9.3/thrift-0.9.3.tar.gz 585 wechat & 586 cd ../Downloads/ 587 ls 588 tar -zxvf thrift-0.9.3.tar.gz -C /usr/local/ 589 cd /usr/local/ 590 ls 591 mv thrift thrift-0.10.0-dev 592 ls 593 mv thrift-0.9.3/ thrift 594 ls 595 cd thrift 596 ls 597 ./configure 598 make 599 ./configure --enable-coverage --with-go=no --with-java=yes --with-jdk=yes --with-node=no --with-js=no --with-nodejs=no 600 make 601 thrift -version 602 make install 603 thrift -version 604 sbt version 605 version 606 ls 607 chown -R muller:muller /usr/local/zeppelin/* 608 eixt 609 zeppelin start & 610 cd /home/muller/Documents/ 611 ls 612 tar -zxvf spark-2.2.0-bin-hadoop2.7.tgz -C /usr/local/ 613 cd /usr/local/ 614 ls 615 mv spark-2.2.0-bin-hadoop2.7/ spark 616 ls 617 jupyter notebook 618 vi /usr/local/python3/lib/python3.6/site-packages/notebook/services/sessions/sessionmanager.py" 619 vi /usr/local/python3/lib/python3.6/site-packages/notebook/services/sessions/sessionmanager.py 620 pip3 install sqlite3 621 yum install sqlite 622 yum install sqlite-dev sqlite3-dev 623 pip3 install pysqlite 624 ls 625 cd /home/ 626 cd muller/ 627 ls 628 cd Documents/ 629 ls 630 date 631 df -h 632 cd /usrlo 633 kill -o 30070 634 ps aux |grep wine 635 kill -9 10590 636 kill -9 30070 637 cd /home/muller/Documents/modeldb/ 638 ls 639 cd server/ 640 ls 641 ls -la 642 du -h modeldb.db 643 sqlite3 ./modeldb.db 644 service docker start 645 minikube start 646 minikube dashboard --url =true 647 kubectl -h 648 kubectl version 649 kubectl cluster-info 650 kubectl get po 651 kubectl get po -o wide 652 kubectl get po --namespace=kube-system 653 kubectl get namespace 654 kubectl get pods 655 kubectl get pod 656 kubectl get pod memcached1-5ccc54f47d-8hl2z 657 kubectl get pod memcached 658 kubectl get pod memcached* 659 kubectl get pod memcached1-5ccc54f47d-8hl2z -o yaml 660 kubectl get pod memcached1-5ccc54f47d-8hl2z -o json 661 kubectl get pod memcached1-5ccc54f47d-8hl2z -o=custom-columns=LABELS:.metadata.labels.app 662 kubectl get pod memcached1-5ccc54f47d-8hl2z -o=custom-columns=LABELS:.metadata 663 kubectl get nodes 664 sbt -v 665 sbt -version 666 sbt sbtVersion 667 sbt sbt-version 668 cd /usr/local/ 669 cd /home/muller/Documents/ 670 ls 671 cd modeldb/ 672 ls 673 cat /etc/profile 674 which sbt 675 cd server/ 676 ls 677 ./start_server.sh 0.9.3 678 ls 679 mvn clean 680 mvn compile 681 ./start_server.sh & 682 mvn dependency:tree 683 ./start_server.sh & 684 mvn help:effective-pom 685 ./start_server.sh & 686 ls 687 cd target/ 688 ls 689 cd generated-sources/ 690 ls 691 cd thrift/ 692 ls 693 pwd 694 mv modeldb/ /home/muller/Documents/modeldb/server/src/main/ 695 ls 696 cd .. 697 cd ../.. 698 cd src/ 699 ls 700 cd main/ 701 ls 702 cd java/ 703 ls 704 cd modeldb/ 705 ls 706 cd .. 707 ls 708 rm modeldb/ 709 ls 710 cd .. 711 ls 712 rm -rf modeldb/ 713 ls 714 ps aux|grep idea 715 kill -9 8173 716 ps aux|grep idea 717 kill -9 7949 718 cd .. 719 cd /home/muller/Documents/ 720 ls 721 cd pyrepo/ 722 cd github/modeldb/server/ 723 ls 724 cd .. 725 service docker start 726 docker-compose up 727 ps -aux |grep mongodb 728 rm -rf 6446 729 kill -9 6446 730 kill -9 12690 731 docker-compose up 732 cd /home/muller/Downloads/ 733 ls 734 tar -zxvf studio-3t-linux-x64.tar.gz -C /usr/local/ 735 ls 736 cd /usr/local/ 737 l;s 738 ls 739 sh ./studio-3t-linux-x64.sh 740 cd /home/muller/Downloads/ 741 ls 742 tar -zxvf navicat121_sqlite_en_x64.tar.gz -C /usr/local/ 743 cd /usr/l 744 cd /usr/local/ 745 ls 746 mv navicat121_sqlite_en_x64/ navicat 747 cd navicat/ 748 ls 749 ./start_navicat 750 pip3 install gridfs 751 pip3 uninstall jupyter 752 pip3 install jupyter 753 jupyter notebook 754 which jupyter 755 unset DYLD_LIBRARY_PATH 756 jupyter notebook 757 pip3 install pysqlite2 758 cd /usr/local/lib 759 ls 760 cd /usr/local/ 761 ls 762 mv python3/ python3bak 763 mkdir python3 764 cd Python-3.6.2/ 765 ls 766 ./configure --prefix=/usr/local/python3 --with-ssl --enable-optimizations 767 make && make install 768 pip3 list 769 pip3 install --upgrade pip 770 pip3 install jupyter 771 ls 772 jupyter notebook 773 ls 774 cd /usr/local/ 775 ls 776 cd /opt 777 lks 778 ls 779 awk '{cmd="pip3 install " 1;system(cmd)}' ./pip3list

780 ls

781 ./start_server.sh 0.9.3

782 ls

783 mv target/generated-sources/thrift/modeldb/ src/main/java/

784 mvn compile

785 ../scripts/gen_thrift_file.sh java '../thrift/ModelDB.thrift' './src/main/thrift/'

786 THRIFT_VERSION=0.9.3

787 mvn exec:java -Dexec.mainClass="edu.mit.csail.db.ml.main.Main" THRIFT_VERSION & 788 mvn exec:java -Dexec.mainClass="edu.mit.csail.db.ml.main.Main" 789 chmod -R 777 ./* 790 ps -aux |grep mongodb 791 mongod 792 mongodb 793 mongod 794 ps aux |grep mongodb 795 kill -9 16951 796 ps aux |grep mongodb 797 mongod --config /usr/local/tools/mongodb/bin/mongodb.conf 798 mongod 799 cat /usr/local/tools/mongodb/bin/mongodb.conf 800 mkdir -p /data/db 801 ls 802 mongod --config /usr/local/tools/mongodb/bin/mongodb.conf 803 mongod 804 ps aux |grep mongodb 805 cd .. 806 ls 807 cd client/python/ 808 ls 809 cat build_client.sh 810 sh ./build_client.sh 811 ls 812 cd .. 813 ls 814 cd scala/ 815 ls 816 cd libs/ 817 ls 818 cd spark.ml/ 819 ls 820 cat build_client.sh 821 ./build_client.sh 822 cd .. 823 ls 824 cd frontend/ 825 ls 826 cat start_frontend.sh 827 ./start_frontend.sh 828 npm install cnpm -g 829 npminstallcnpm-g--registry=https://registry.npm.taobao.org 830 npm install cnpm -g --registry=https://registry.npm.taobao.org 831 ./start_frontend.sh 832 npm install --registry=https://registry.npm.taobao.org 833 npm start 834 mongod --config /usr/local/tools/mongodb/bin/mongodb.conf 835 exit 836 sbt -sbtversion 837 exit 838 cd ~/.sbt/ 839 ls 840 cat repositories 841 rm ~/.sbt ~/.ivy2/cache/org.scala-sbt 842 rm ~/.sbt ~/.ivy2/cache/org.scala-sbt 843 rm -rf ~/.sbt ~/.ivy2/cache/org.scala-sbt 844 sbt -sbtversion 845 ls 846 sbt -sbtversion 847 sbt 848 cd .. 849 ls 850 ls -la 851 sbt -sbtversion 852 ls 853 cd .sbt/ 854 ls 855 vi repositories 856 sbt -sbtversion 857 cd /usr/share/sbt/ 858 ls 859 cd bin/ 860 ls 861 pwd 862 df -h 863 cd rm -rf ~/.sbt ~/.ivy2/cache/org.scala-sbt

864 关于 No Scala version specified or detected 错误

865 当sbt版本升级后,若~/.ivy2/cache路径下存在旧版sbt的jar包,则在终端执行sbt指令时,会出现以下错误输出:

866 Error during sbt execution: No Scala version specified or detected

867 1

868 出现错误的原因是存在旧版本的sbt包缓存,解决方案是移除 /.sbt和 /.ivy2/cache/org.scala-sbt目录。

869 cd /var/lib/docker/overlay2/

870 ls

871 df -h ./

872 du -h ./

873 ls -la

874 ls

875 df -h

876 cd /var/lib/docker/overlay2/e10cd0c3aa744b5b723b283206339e5a745036a93127ef5374bdf9e8b8ceee67/merged

877 ls

878 cd /usr/local/

879 ls

880 cd /var/lib/docker/overlay2/e10cd0c3aa744b5b723b283206339e5a745036a93127ef5374bdf9e8b8ceee67/merged

881 ls

882 cd ./usr/

883 ls

884 cd local/

885 ls

886 exit

887 cd /home/muller/Documents/

888 cd javarepo/

889 git clone https://github.com/lyfeyaj/sublime-text-imfix.git

890 cd sublime-text-imfix/

891 ls

892 cp ./lib/libsublime-imfix.so /opt/sublime_text/

893 cp ./src/subl /usr/bin/

894 LD_PRELOAD=./libsublime-imfix.so subl

895 LD_PRELOAD=/opt/sublime_text/libsublime-imfix.so subl

896 cd /home/muller/Downloads/

897 ls

898 unzip xmind-8-update8-linux.zip -d /usr/local/

899 cd /usr/local/

900 ls

901 cd XMind_

902 cd XMind_amd64/

903 ls

904 ./XMind

905 chown -R muller:muller ./github/*

906 tzselect

907 cd ~/.sbt/

908 ls

909 vi repositories

910 cat repositories

911 ls

912 cd /home

913 cd /home/muller/Documents/pyrepo/

914 ls

915 cd seldon-server/

916 ls

917 cd build/

918 cd ..

919 ps -aux |grep docker

920 ls

921 cd build/

922 cd ..

923 cd kubernetes/

924 ls

925 cd bin/

926 ls

927 ./seldon-up

928 minikube start

929 minikube dashboard --url=true

930 pwd

931 ./seldon-up

932 kubectl get all

933 pwd

934 cd ..

935 ls

936 cd conf/

937 ls

938 cd examples/

939 ls

940 cd reuters/

941 ls

942 cat import-data-job.json

943 ls

944 kubectl create -f ./import-data-job.json

945 kubectl get po

946 kubectl get jobs -l job-name=reuters-import-data

947 kubectl get po

948 ls

949 cd ..

950 ls

951 cd reuters/

952 ls

953 cat import-data-job.json.in

954 ls

955 cd ..

956 ls

957 cd tensorflow_deep_mnist/

958 ls

959 cd ..

960 ls

961 cd models/

962 ls

963 pwd

964 cd ..

965 ls

966 cd bin/

967 ls

968 ./start-microservice

969 start-microservice --type recommendation --client reuters -i reuters-example seldonio/reuters-example:2.0.7 rest 1.0

970 ./start-microservice --type recommendation --client reuters -i reuters-example seldonio/reuters-example:2.0.7 rest 1.0

971 pwd

972 ls

973 df -h

974 pip3 install pyseldon

975 kubectl install helm

976 minikube install helm

977 minikube -h

978 service docker start

979 docker-compose up

980 su root

981 minikube stop

982 df -h

983 docker stop

984 service stop docker

985 umount /home

986 fuser -km /home/

987 umount /home

988 fuser -km /home/

989 umount /home

990 df -h

991 lvremove /dev/mapper/centos-home

992 lvextend -L +100G /dev/mapper/centos-root

993 df -h

994 xfs_growfs /dev/mapper/centos-root

995 lvcreate -L 100G -n /dev/mapper/centos-home

996 mkfs.xfs /dev/mapper/centos-home

997 mount /dev/mapper/centos-home

998 df -h

999 df -h

1000 cd ~/

1001 ls

1002 ls -la

1003 cd .sbt

1004 ls

1005 cat repositories

1006 cd ..

1007 ls -la

1008 cat /etc/hosts

1009 cat /etc/profile

1010 rpm -ql

1011 rpm -qa

1012 rpm -ql maven-3.0.5-17.el7.noarch

1013 cd /usr/share/maven

1014 ls

1015 pwd

1016 ls

1017 cd conf/

1018 ls

1019 cat settings.xml

1020 ls

1021 cd ..

1022 ls

1023 cd java

1024 ls

1025 cd /usr/local/

1026 ls

1027 cd tools/

1028 ls

1029 scp thrift-0.10.0.tar.gz root@homepad:/opt

1030 history >> opt.txt


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK