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...

  • 相关阅读:
    Java中的import
    C语言中变量的理解
    C语言中变量的储存类别
    android通话流程浅析RIL层
    IOS(数据持久化1)
    IOS(CGContent画曲线)
    IOS XML的类型数据的解析
    truncate narrow string converted from unicode string
    复习:C语言中的转义字符
    Note of using static_cast
  • 原文地址:https://www.cnblogs.com/mingjing/p/6272565.html
Copyright © 2011-2022 走看看