zoukankan      html  css  js  c++  java
  • linux

    查看是否安装ruby

    rpm -qa | grep ruby

    yum list installed | grep ruby

    查看安装到哪儿了

    whereis mysql

    查询运行文件所在路径

    which mysql

    --------------------------

    从最新版本的linux系统开始,默认的是 Mariadb而不是MySQL

    使用系统自带的repos安装很简单:

    yum install mariadb mariadb-server

    systemctl start mariadb ==> 启动mariadb

    systemctl enable mariadb ==> 开机自启动

    mysql_secure_installation ==> 设置 root密码等相关

    mysql -uroot -p123456 ==> 测试登录!

    结束!

    -------------------------------------------------

     systemctl restart mariadb.service

    --------------------------------------------------

     xz -d 要解压的文件

    xz -d node-v6.9.4-linux-x64.tar.xz

    tar xvf xxx.tar来解包

    -------------------------------------------------

    CentOS7安装NodeJS6.9

    ----------------------------------------------------

    yum install epel-release

    yum install nodejs

    yum install mongodb-server

    yum install mongodb

    yum install redis

    ===============================

    nodejs

    yum install npm                 安装 包管理    卸载 包管理          sudo npm uninstall npm -g

    npm config set strict-ssl false              取消ssl严格认证

    npm install -g cnpm                           安装cnpm

    npm install -g cnpm --registry=https://registry.npm.taobao.org/                       报错bash: cnpm: command not found...

  • 相关阅读:
    有关C#中List排序的总结
    配置jdk1.8.0_77
    New Day
    HDU 4288 Coder 线段树
    AOJ 169 找零钱 DP OR 母函数
    HDU 3954 Level up 线段树
    HDU 3016 Man Down 线段树+简单DP
    HDU 4027 Can you answer these queries? 线段树
    HDU 3333 Turing Tree 树状数组 离线查询
    POJ 2464 Brownie Points II 树状数组+扫描线
  • 原文地址:https://www.cnblogs.com/mingjing/p/6272565.html
Copyright © 2011-2022 走看看