REDIS CLI
https://www.linode.com/docs/databases/redis/install-and-configure-redis-on-centos-7/
===============================================
supervisor installation
https://stackoverflow.com/questions/45224707/install-and-config-supervisord-on-centos-7-to-run-laravel-queues-permanently
========================================================================
Node JS installation
(NPM Install) https://stackoverflow.com/questions/15890958/install-a-previous-version-of-a-package
(NVM)https://linuxize.com/post/how-to-install-node-js-on-debian-9/
http://stackoverflow.com/questions/12594541/npm-global-install-cannot-find-module
https://www.linode.com/docs/databases/redis/install-and-configure-redis-on-centos-7/
===============================================
supervisor installation
https://stackoverflow.com/questions/45224707/install-and-config-supervisord-on-centos-7-to-run-laravel-queues-permanently
========================================================================
Node JS installation
(NPM Install) https://stackoverflow.com/questions/15890958/install-a-previous-version-of-a-package
(NVM)https://linuxize.com/post/how-to-install-node-js-on-debian-9/
https://www.liquidweb.com/kb/how-to-install-node-js-via-nvm-node-version-manager-on-centos-7/
https://tecadmin.net/install-nodejs-with-nvm/(NVM)
https://tecadmin.net/install-nodejs-with-nvm/(NVM)
https://stackoverflow.com/questions/14948179/how-to-make-nvm-automatically-sourced-upon-login
http://stackoverflow.com/questions/12594541/npm-global-install-cannot-find-module
For anyone else running into this, I had this problem due to my
npm installing into a location that's not on my NODE_PATH .
My NODE_PATH was empty, and running npm install --global --verbose promised-io showed that it was installing into /opt/lib/node_modules/promised-io :
My script fails on require('promised-io/promise') :
I probably installed node and npm from source using configure --prefix=/opt .
I've no idea why this has made them incapable of finding installed
modules. The fix for now is to point NODE_PATH at the right directory:
My require('promised-io/promise') now succeeds.================================================= Node command 476 yum install pm2 477 npm install pm2 -g 478 npm install pm2@latest -g 479 pm2 list 480 yum install memcached 481 yum install redis-tools 482 git clone http://github.com/antirez/redis.git 483 cd redis && git checkout 3.0 484 make redis-cli 485 redis-cli 486 make redis-cli 487 ln -s src/redis-cli /usr/local/bin/redis-cli 488 redis-cli 489 cd /usr/src 490 wget -c http://download.redis.io/redis-stable.tar.gz 491 redis-cli 492 yum install redis-cli 493 tar xvzf redis-stable.tar.gz 494 cd redis-stable 495 make && make install 496 Install the Redis script0 redis-server 501 redis-cli programme_schedule '*' 502 redis-cli monitor 503 telnet localhost 6379 504 chkconfig redis on 505 /etc/init.d/redis_6379 start 506 yum install redis 507 yum install make gcc wget 508 cd tools 509 wget http://download.redis.io/releases/redis-3.0.2.tar.gz 510 tar -zxvf redis-3.0.2.tar.gz 511 cd redis-3.0.2 512 ll 513 make 514 make install 515 cd utils/ 516 ./install_server.sh 517 chkconfig redis on 518 etc/init.d/redis_6379 start 519 /etc/init.d/redis_6379 start 520 chkconfig redis on 497 redis-cli 498 redis-server chkconfig redis_6379 on 522 redis-cli 523 /etc/init.d/redis_6379 stop 524 /etc/init.d/redis_6379 start 525 chkconfig redis on 526 chkconfig redis_6379 on 527 reboot 528 yum intall memcache 529 yum update 530 ps ax | grep yum 531 kill -9 2814 532 ping yahoo.com 533 vim /etc/resolv.conf 534 yum install telnet 535 ps ax | grep yum 536 kill -9 2870 537 cd /etc/yum.repos.d/ 538 ls 539 rm mongodb-org.repo 540 yum cleana ll 541 yum update 542 vim /etc/resolv.conf 543 ps ax | grep yum 544 kill -9 2970 545 nslookup 546 yum update 547 yum clean all 548 yum repolist 549 yum install yum-utils 550 yum install telnet 551 yum install memcache 552 yum install memcached 553 clear 554 df 555 df -h 556 free -m 557 clear 558 df 559 cd /home 564 redis-cli 565 service memcached start 566 service memcache start 567 yum install memcached 568 yum install telnetd 569 service memcahed start 570 service memcahe start 571 yum install memcached 572 service memcached start 573 pm2 start scheduleworker.js -n cathcup 574 pm2 list 575 pm2 strat 576 pm2 list 577 cd /etc 578 pm2 579 npm install pm2@latest -g 580 npm -v 581 nvm ls 582 node -v 583 vpm -v 584 npm -v 587 node -v 588 npm -v 589 nvm install node 590 node -v 591 npm -v 592 npm install pm2 -g 593 pm2 install 594 reboot 595 service memcached start 596 chkconfig memcached on 597 service memcached start 598 chkconfig memcached on 599 chkconfig memcache on 600 pm2 list 601 npm -v 602 npm install pm2 -g 603 node -v 604 command -v nvm 605 nvm install node 606 node -v 607 chkconfig npm on 608 chkconfig nvm on 609 chkconfig node on 610 top -d 2 611 command -v nvm 612 npm install pm2 -g 613 pm2 install 614 chkconfig pm2 on 615 systemctl enable pm2 616 systemctl enable mpm 617 systemctl enable npm 618 systemctl enable node 619 node -v 620 sudo pm2 startup systemd 621 systemctl enable nodeserver.service 622 systemctl start nodeserver.service 623 systemctl status nodeserver.service 624 npm install pm2 -g 625 pm2 list 626 node 627 pm2 save 628 node -v 629 which node 630 redis-cli 631 reboot 632 pm2 list 633 nvm list 634 yum uninstall --force node 635 uninstall node 636 yum uninstall node 637 yum rm -rf node* 638 rm -rf /usr/local/share/man/man1/node.1 639 rm -rf /usr/local/lib/dtrace/node.d 640 rm -rf ~/.npm 641 nvm 642 mpn -v 643 npm -v 644 npm cache clean -f 648 nvm ls 649 nvm use 0.11.16 650 nvm install stable 651 nvm use 0.11.16 652 nvm deactivate 653 nvm uninstall 10.2.1 654 nvm use 0.11.16 655 nvm install stable 656 nvm ls 657 nvm deactivate 658 nvm ls 659 nvm uninstall 10.2.1 660 nvm ls 666 node -v 667 ifconfig -a 668 npm -v 669 npm install pm2 -g 670 pm2 install 671 pm2 save 672 pm2 list 673 pm2 startup 674 pm2 save 675 pm2 startup 676 pm2 list 677 cd /etc/scripts 678 ls 679 cd digiapis 680 pm2 startup 681 yum install pm2 682 pm2 list 683 pm2 startup 684 npm install pm2@latest -g 685 node -v 686 npm -v 687 yum install npm 688 yum install node 703 echo $NODE_PATH 704 npm install --global --verbose promised-io 705 npm install --global --verbose 706 which node 707 nvm install 0.11 708 nvm current 709 nvm install stable 710 nvm current 711 v0.12.2 (npm v2.7.4) 712 nvm ls 713 which node 714 echo $NODE_PATH 715 npm install --global --verbose 716 npm install --global --verbose promised-io 717 node -v 718 nvm current 719 locate nvm.sh 720 locate .bash_profile 721 vim /root/.bash_profile 722 npm -v 723 nvm ls 724 nvm alias default v0.11.16 725 nvm ls 726 nvm alias default v0.11.16 727 nvm ls 728 npm install pm2@latest -g 729 pm2 startup 730 pm2 list 731 service memcached status 732 node -v 733 reboot 734 npm -v 735 node -v 736 pm2 list 737 npm install pm2@latest -g 738 pm2 list 739 pm2 startup 740 pm2 save 741 reboot 742 passwd 743 ps ax 744 exit 745 top 746 node -v 747 npm -v 748 pm2 list 749 ssh-keygen 750 cd /root/.ssh 751 npm -v 752 cd /etc/scripts 753 ll 754 cd digiapis 755 pm2 start scheduleworker.js -n cathcup 756 cd epgrecording 757 pm2 start scheduleworker.js -n cathcup 758 cd /etc/scripts/epgrecording 759 pm2 start scheduleworker.js -n cathcup 761 ll 762 cd digiapis 763 ll 764 crontab -l 765 pm2 start app.js -n digiapis -i 0 766 pm2 logs 767 top 768 crontab -e 769 * /root/.nvm/versions/node/v7.10.0/bin/node /etc/scripts/epgrecording/index.js 770 nvm ls 771 locate v0.11.16 772 locate .nvm 773 nvm ls 774 /root/.nvm/versions/node/ v10.2.1/bin/node /etc/scripts/epgrecording/index.js 775 /root/.nvm/versions/node/v10.2.1/bin/node /etc/scripts/epgrecording/index.js 776 crontab -e 778 nvm current 779 nvm use v7.10.0 780 nvm install v7.10.0 && nvm use v7.10.0 && nvm alias default v7.10.0 781 nvm -v 782 mpm -v 783 npm -v 784 nvm -v 785 ls -v 786 nvm ls 787 pm2 list 788 locate .bash_profile 789 vim /root/.bash_profile 790 npm install pm2@latest -g 791 pm2 startup 792 pm2 save 793 cd epgrecording 794 cd /epgrecording 795 cd /etc/scripts/epgrecording 796 pm2 start scheduleworker.js -n cathcup 797 reboot 798 npm -v 799 node -v 800 pm2 list 801 pm2 logs 802 crontab -e 803 pm2 logs 804 crontab -e 805 pm2 logs 806 date 807 clock 808 pm2 logs 809 ping digi2.nexg.tv 810 pm2 logs 811 pm2 logs | grep catchup 812 pm2 logs 813 telnet 119.252.192.7 8087 814 ping digi2.nexg.tv 815 crontab -l 816 /root/.nvm/versions/node/v7.10.0/bin/node /etc/scripts/epgrecording/index .js 817 redis-cli 818 pm2 list 819 pm2 logs 820 vim /etc/hosts 821 redis-cli monitor 822 telnet localhost 6379 823 redis-cli monitor 824 redis-cli monitor | grep "programme_schedule" 825 redis-cli monitor 826 redis-cli monitor | grpe "more" 827 redis-cli monitor | grep "more" 828 pn2 logs 829 pm2 logs 830 top 831 pm2 logs 832 redis-cli monitor 833 pm2 logs 834 top 835 iotop 836 yum install iotop 837 iotop 838 iostat 839 pm2 logs 840 redis-cli monitor 841 vim /root/.ssh/authorized_keys 862 route add -net 172.29.2.0/23 gw 172.31.22.1 863 route -n 864 exit 865 pm2 logs netstat -anp | grep 172.31.22.55 | awk '{print $6 }' | sort | uniq -c 966 yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.n oarch.rpm 967 yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm 968 yum install yum-utils 969 yum-config-manager --enable remi-php56 970 php -v 971 service httpd start 972 yum install php php-mcrypt php-cli php-gd php-curl php-mysql php-ldap php -zip php-fileinfo 973 php -v 974 service httpd start 975 yum install php php-mcrypt php-cli php-gd php-curl php-mysql php-ldap php -zip php-fileinfo 976 php -v 977 top 978 service httpd stop 979 top 980 service memcached status 981 telnet localhost 11211 982 top 983 free -m 661 nvm uninstall * 662 nvm uninstall* 663 command -v nvm 664 nvm install node 665 pm2 list |
No comments:
Post a Comment