[태그:] ubuntu

  • How to install Node.js via binary archive on Linux?

    1. Node.js Download 2. Unzip the binary archive to any directory you wanna install Node, I use /usr/local/lib/nodejs 3. Set the environment variable ~/.profile OR ~/.bash_profile , add below to the end 4. Refresh profile 5. Test installation using 6. Change npm global path https://github.com/nodejs/help/wiki/Installation http://npm.github.io/installation-setup-docs/installing/a-note-on-permissions.html

  • ubuntu에서 mysql 5.7 또는 mariadb 10 이상 root password reset

    # Stop MySQL sudo service mysql stop # Make MySQL service directory. sudo mkdir /var/run/mysqld # Give MySQL user permission to write to the service directory. sudo chown mysql: /var/run/mysqld # Start MySQL manually, without permission checks or networking. sudo mysqld_safe –skip-grant-tables –skip-networking & # Log in without a password. mysql -uroot mysql Update the […]