centos6.45 64-bit Build game server pomelo environment

Source: Internet
Author: User
Tags install node

I am a Linux small white through the Internet to find the information in the CentOS pomelo configuration, follow the steps below to install should be no problem.

1. Install node. js

This place should be careful not to follow the official website of the link to download, do not use the latest version of Nodejs or the installation will be wrong when I stuck in this place for a long time.

Use the following command to download

wget http://nodejs.org/dist/v0.10.28/node-v0.10.28.tar.gz

And then

tar zxvf node-v0.10.28.tar.gz
CD node-v0.10.28
./configure
MAKE 
sudo make install

How to prompt the user name not to execute the following command in the list

Su-

chmod u+w/etc/sudoers

Add the user name to the sudoers file. Under "Root all= (All) All", add "Kiwi all= (All) all".


Vim/etc/sudoers..................................................root all= (All) all user name all= (all) All <---- -Add to here. : Wq Save to exit ..... ..... ..... ..... ..... ...................... Revoke sudoers Write permissions. Remember to revoke write permissions. [Email protected] ~]# chmod u-w/etc/sudoers

The steps above may be a little longer and wait a moment.


2. Installing the NODE-GYP module

NPM i-g Node-gyp

3: Install Pomelo

Go to Super User mode

su-

Then execute the Install command

 npm install pomelo-g--unsafe-perm

If you follow the official command there will be a permissions error

This step will card some should be downloading something, wait a 5, 6 minutes should be good


Finally try Pomelo--version

See if there's a result

centos6.45 64-bit Build game server pomelo environment

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.