Web Professional Advanced Installation (Myanmar Links)
( 1 ) Installation tasksel
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install tasksel
sudo tasksel
https://linuxconfig.org/how-to-install-lamp-ubuntu-18-04-bionic-beaver-linux-apache-mysql-php
( 2 ) Installation phpmyadmin
sudo apt-get update
sudo apt install phpmyadmin php-mbstring php-gettext
sudo phpenmod mbstring
sudo systemctl restart apache2
https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-18-04
/* if phpmyadmin create database error */
sudo mysql -u root -p
create user ‘admin’@’localhost’ identified by ‘123456’;
grant all privileges on * . * to ‘admin’@’localhost’;
flush privileges;
exit
https://www.digitalocean.com/community/tutorials/how-to-create-a-new-user-and-grant-permissions-in-mysql
( 3 ) Installation composer
sudo apt-get update
sudo apt-get install composer
https://getcomposer.org/download/
https://getcomposer.org/doc/00-intro.md#globally
( 4 ) Installation sublime text 3
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
sudo apt-get install apt-transport-https
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
sudo apt-get update
sudo apt-get install sublime-text
https://www.sublimetext.com/docs/3/linux_repositories.html#apt
( 5 ) Virtualhost Manage Script
cd Downloads
cd virtualhost-master
sudo cp virtualhost.sh /usr/local/bin/virtualhost
sudo chmod +x /usr/local/bin/virtualhost
sudo virtualhost
sudo virtualhost create wpaclass.test /var/www/html/wpaclass/public
https://github.com/RoverWire/virtualhost
( 6 ) Command line - Change folder permissions and ownership
sudo chown -R $USER:$USER /var/www/html/
sudo a2enmod rewrite
sudo service apache2 restart
( 7 ) To show display error
sudo subl /etc/php/7.2/apache2/php.ini
479 -> display_errors = On
sudo service apache2 restart
( 8 ) Installation nodejs, npm, git
sudo apt install nodejs
sudo apt install npm
sudo apt install git-all
( 9 ) Download Visual Studio Code
Visual Studio Code
( 10 ) Installation Laravel
composer global require "laravel/installer"
subl .bashrc
export PATH="$PATH:$HOME/.config/composer/vendor/bin"
source ~/.bashrc
laravel new blog
composer create-project --prefer-dist laravel/laravel blog
https://laravel.com/
phyo
We Are Myanmar Links
PDF Download
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install tasksel
sudo tasksel
https://linuxconfig.org/how-to-install-lamp-ubuntu-18-04-bionic-beaver-linux-apache-mysql-php
( 2 ) Installation phpmyadmin
sudo apt-get update
sudo apt install phpmyadmin php-mbstring php-gettext
sudo phpenmod mbstring
sudo systemctl restart apache2
https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-18-04
/* if phpmyadmin create database error */
sudo mysql -u root -p
create user ‘admin’@’localhost’ identified by ‘123456’;
grant all privileges on * . * to ‘admin’@’localhost’;
flush privileges;
exit
https://www.digitalocean.com/community/tutorials/how-to-create-a-new-user-and-grant-permissions-in-mysql
( 3 ) Installation composer
sudo apt-get update
sudo apt-get install composer
https://getcomposer.org/download/
https://getcomposer.org/doc/00-intro.md#globally
( 4 ) Installation sublime text 3
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
sudo apt-get install apt-transport-https
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
sudo apt-get update
sudo apt-get install sublime-text
https://www.sublimetext.com/docs/3/linux_repositories.html#apt
( 5 ) Virtualhost Manage Script
cd Downloads
cd virtualhost-master
sudo cp virtualhost.sh /usr/local/bin/virtualhost
sudo chmod +x /usr/local/bin/virtualhost
sudo virtualhost
sudo virtualhost create wpaclass.test /var/www/html/wpaclass/public
https://github.com/RoverWire/virtualhost
( 6 ) Command line - Change folder permissions and ownership
sudo chown -R $USER:$USER /var/www/html/
sudo a2enmod rewrite
sudo service apache2 restart
( 7 ) To show display error
sudo subl /etc/php/7.2/apache2/php.ini
479 -> display_errors = On
sudo service apache2 restart
( 8 ) Installation nodejs, npm, git
sudo apt install nodejs
sudo apt install npm
sudo apt install git-all
( 9 ) Download Visual Studio Code
Visual Studio Code
( 10 ) Installation Laravel
composer global require "laravel/installer"
subl .bashrc
export PATH="$PATH:$HOME/.config/composer/vendor/bin"
source ~/.bashrc
laravel new blog
composer create-project --prefer-dist laravel/laravel blog
https://laravel.com/
phyo
We Are Myanmar Links
PDF Download