Hi, excuse me for my stupid question; i’m not able tu install symfony in virtaul server;
like standard linux user i have installed symfony with out problem, but can’t enter in the folder of virtual server like standard user and like virtual server user, comad from shell don’t work;
For example : php -r “copy(‘https://getcomposer.org/installer’, ‘composer-setup.php’);”
actually like standard user , from shell i can launch composer and symfony command ;
is possible ability only this two command for virtualserver user?
how?
I don’t understand what you’re saying you’re doing and and what isn’t working about it.
You haven’t provided any errors or any concrete explanation of what you’re doing. Copy paste the commands you’re running and what happens when you run them.
so i enter like super user in wirtualmin interface, select , virtualserver and terminal
in terminal i have usernamevirtualserver@nameserver
I type
usernamevirtualserver@nameserver #symfony
bash: symfony: command not found
usernamevirtualserver@nameserver#composer
bash: composer: command not found
usernamevirtualserver@nameserver#php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
bash: php: command not found
all command don’t work<<<
so i enter by ssh with linux user
#ssh user@nameserver
user@nameserver#so - usernamevirtualserver
#password: xxxx
usernamevirtualserver@nameserver# ls
usernamevirtualserver@nameserver# Maildir awstats cgi-bin etc homes logs public_html tmp virtualmin-backup
usernamevirtualserver@nameserver#symfony
bash: symfony: command not found
usernamevirtualserver@nameserver#composer
bash: composer: command not found
usernamevirtualserver@nameserver#php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
bash: php: command not found
the user have setting shell in /sbin/jk_chrootsh
can you give me the link for documentations to “add every command you expect them to use to that jail.”?
or give me some tips about?
yes in the root of server , not of in virtualuser root; but not work
at least it doesn’t remove the main user of the virtual server from the chroot, significantly lowering the security of the server.
i installed jailkit manager, i tried to do a couple of configurations without success.
I don’t know if it doesn’t work, I did something wrong, I can’t find the documentation.
Enrico