• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Issue with installing MyAAC using OpentibiaBR's tutorial

Gunmetalx

New Member
Joined
Sep 13, 2016
Messages
18
Reaction score
2
Im currently using OpenTibiaBR's tutorial to set up a canary server and im stuck on the MyAAC installation. These are the commands im instructed to use below, but when im using
Code:
sudo curl -Ss https://getcomposer.org/installer | php
I get an error saying /var/www/html is not writable, and proceeding with
Code:
sudo php composer.phar install
says "Could not open input file: composer.phar

What am I doing wrong?



These are the commands Im instructed to use to install MyAAC according to OpenTIbiaBR's instructions
LUA:
cd ~

sudo git clone https://github.com/slawkens/myaac.git

sudo mv myaac/* /var/www/html

sudo rm -rf myaac

sudo chown -R www-data:www-data /var/www/html

sudo usermod -aG www-data $(whoami)

cd /var/www/html

sudo chmod -R 775 . && sudo chmod -R 775 system/ images/ plugins/ tools/

sudo curl -Ss https://getcomposer.org/installer | php

sudo php composer.phar install

sudo curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.2/install.sh | bash

command -v nvm

sudo nvm install node # "node" is an alias for the latest version

sudo npm install -g npm

sudo npm install
 
Try following commands: (continue where you stopped)

Code:
cd ~

sudo curl -Ss https://getcomposer.org/installer | php

sudo mv composer.phar /usr/local/bin/composer

sudo curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.2/install.sh | bash

# here close the terminal, reconnect
# then continue up with following commands:

command -v nvm

sudo nvm install node # "node" is an alias for the latest version

sudo npm install -g npm

cd /var/www/html

sudo composer install

sudo npm install
 
Last edited:
Try following commands: (continue where you stopped)

Code:
cd ~

sudo curl -Ss https://getcomposer.org/installer | php

sudo mv composer.phar /usr/local/bin/composer

sudo curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.2/install.sh | bash

# here close the terminal, reconnect
# then continue up with following commands:

command -v nvm

sudo nvm install node # "node" is an alias for the latest version

sudo npm install -g npm

cd /var/www/html

sudo composer install

sudo npm install


I may have used two more commands afterwards without realizing the initial had failed. Is there a way or command to backtrack and remove anything I've already done? I haven't tried your commands yet. If you think it wouldn't cause an issue ill proceed with your commands
 
Back
Top