php7 szerver telepítés debian 9-en

apt-get -y install curl mysql-server mysql-client mariadb-server mariadb-client apache2 php7.0 libapache2-mod-php7.0 php7.0-mysql php7.0-curl php7.0-gd php7.0-intl php-pear php-imagick php7.0-imap php7.0-mcrypt php-memcache php7.0-pspell php7.0-recode php7.0-sqlite3 php7.0-tidy php7.0-xmlrpc php7.0-xsl php7.0-mbstring php-gettext phpmyadmin git php7.0-zip 
mysql_secure_installation

mysql -u root -p

CREATE USER 'admin'@'localhost' IDENTIFIED BY 'jelszó';
GRANT ALL PRIVILEGES ON *.* TO 'admin'@'localhost' WITH GRANT OPTION;
FLUSH PRIVILEGES;
exit;

curl -sL https://deb.nodesource.com/setup_8.x | bash -
apt-get install -y nodejs build-essential
npm install -g google-closure-compiler-js

 

Teszt kérdés

Eredmények megtekintése

Loading ... Loading ...

Debian 9 telepítése konzolból

VBoxManage createvm --name "lariondev" --ostype Debian_64 --register
VBoxManage modifyvm "lariondev" --memory 1000
VBoxManage createhd --filename "lariondev.vdi" --size 16000
VBoxManage storagectl "lariondev" --name "IDE Controller" --add ide --controller PIIX4
VBoxManage storageattach "lariondev" --storagectl "IDE Controller" --port 0 --device 0 --type hdd --medium "lariondev.vdi"
VBoxManage storageattach "lariondev" --storagectl "IDE Controller" --port 0 --device 1 --type dvddrive --medium /disks/2T/installers/debian-9.1.0-amd64-netinst.iso
VBoxManage modifyvm "lariondev" --vrde on
VBoxManage modifyvm "lariondev" --vrdeport 5555

VBoxManage modifyvm "lariondev" --nic1 bridged --bridgeadapter1 enp2s0

VBoxManage startvm "lariondev" --type headless