If you are having problems with installing composer on your dedicated server try it like this
sudo curl -s https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer
also check if you have openssl enabled as extension in your php.ini (this depends on php version)