In order to log into MySQL to secure it, we'll need the current SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY! NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL Now MySQL is install lets configure it Configuration mysql_secure_installation Sudo apt-get install mysql-server mysql-client libmysqlclient18 Īnd download : Ubuntu Linux 14.04 (Architecture Independent), DEB File sudo apt-get remove mysql-server mysql-client libmysqlclient* Second if you want to install latest MySQL, then you have to use mysql apt repository method. Mysql Ver 14.14 Distrib 5.5.37, for debian-linux-gnu (x86_64) using readline 6.3 Lets check installed version :~$ mysql -version sudo apt-get install mysql-server mysql-client One way to install MySQL is, using default ubuntu repositories. second I will show you how to install Latest MySQL 5.6 Using Official MySQL Downloaded Package or mysql apt repository method. This is third part of this series, where I am going to show you setup of MySQL database, First I will show you how you can setup and install MySQL using official UBUNTU repositories. Please subscribe my channel for more update.How to Install MySQL on ubuntu 14.04 with phpmyadmin Posted on If face any problem then see my YouTube video and Subscribe my channel. Now goto your using browser and type your server IP address then show as like below: Successfully installation process completed. Reload apache2 web server :~# systemctl reload apache2 :~# phpenmod mcrypt :~# phpenmod mbstring Mysql application password for phpmyadmin: If left blank, a random password will be generated. Please provide a password for phpmyadmin to register with the database server. Once after few times then create mysql root password. Please choose the web server that should be automatically configured to run phpmyadmin. Step #09: Run phpmyadmin command from terminal. Got root home directory goto root home directory :/etc/apache2/sites-available# cd Install phpmyadmin for manage mysql database from web gui :/etc/apache2/sites-available# a2ensite nf :/etc/apache2/sites-available# service apache2 reload Reload new conf file and apache2 web server. Touch nf :/etc/apache2/sites-available# vi nf ĬustomLog $/access.log combined :/var/.env :/var/www/laravel# php artisan key:generate Application key set successfully. Step #08: Change sample env file and generate artisan key command below. Wait for at least 30 minutes see below image. :/var/www/laravel# sh -c “echo ‘precedence ::ffff:0:0/96 100’ > /etc/gai.conf” :/var/www/laravel$ su root :/var/www/laravel$ composer install Retrying with degraded mode, check for more info :/var/www/laravel$ su root Now installing composer :/var/www/laravel$ composer installįailed to decode response: zlib_decode(): data error Then create permission www directory :/var/www# chmod -R 777 /var/www/ :/var/www# chown -R www-data:www-data /var/www/ :~# chmod +x /usr/local/bin/composer Step #07: Goto www directory cd /var/www/ then download Laravel full file from git repo. :# mv composer.phar /usr/local/bin/composerĬomplete full permission for run composer file. So must be using as root user for move composer. :~# adduser techrssĭownload composer command below. Step #06: Create new User for run composer. So at first create one user with password. Laravel used as composer must be run standard user. :~# apt-get install apache2 Step #05: Install mysql database server. :~# apt install php7.1 php7.1-xml php7.1-mbstring php7.1-mysql php7.1-json php7.1-curl php7.1-cli php7.1-common php7.1-mcrypt php7.1-gd libapache2-mod-php7.1 php7.1-zipĬheck apache2 server if don’t install. :~# apt-get update Step #04: Now install php packages.
0 Comments
Leave a Reply. |