Page 269 - Nodejs 교과서 개정2판
P. 269
콘솔
Error: The following directories are not writable by your user:
/usr/local/share/info
You should change the ownership of these directories to your user.
sudo chown -R $(whoami) /usr/local/share/info
And make sure that your user has write permission.
chmod u+w /usr/local/share/info
ٸח ী۞ ݫदী աৡ ۽ ݺ۸যܳ ੑ۱ೞݶ ؾפ ࢎਊ ജ҃ী ٮۄ ੑ۱೧ঠ ೞח ݺ۸যח ׳ۄ ࣻ णפ
콘솔
$ sudo chown -R $(whoami) /usr/local/share/info
$ chmod u+w /usr/local/share/info
ࢸ റ brew services start mysql ݺ۸য۽ .Z42-ਸ दೞҊ mysql_secure_installation ݺ۸য۽ SPP
U ࠺ߣഐܳ ࢸפ WBMJEBUF@QBTTXPSE ۞Ӓੋਸ ࢸೡ Ѫੋ ޛਵݶ ݽف nਸ ੑ۱ೞҊ &OUFS ܳ
ׂ۞ Ѥցڮפ աী पઁ ࢲߡܳ ೡ ٸח ࢸ೧ח Ѫ ࠁউ࢚ જणפ
࠺ߣഐө ࢸ೮ݶ .Z42-ী ࣘ೧ࠇद ࣘ ߑߨ ਦب৬ эणפ ೠ о ରח Ҷ .Z42-
ࢸػ ಫ؊۽ زೞ ঋইب ػח Ѫੑפ ҃۽ী ࢚ҙহ ࣛী mysql -h localhost -u root -p
ݺ۸যܳ ੑ۱ೞݶ ؾפ
콘솔
$ mysql -h localhost -u root -p
Enter password: [비밀번호 입력]
mysql>
ֿܻझ ࠙ై
࠙ైীࢲח (6*ܳ ࢎਊೞ ঋਵ۽ ݺ۸যܳ ࣽࢲ۽ ੑ۱ೞৈ .Z42-ਸ ࢸפ
콘솔
$ sudo apt-get update
$ sudo apt-get install -y mysql-server
$ sudo mysql_secure_installation