Mysql Secure Installation (Unattended)
NB : MyPass
is your current mysql password
echo -e "MyPass\nn\nY\nY\nY\nY\n" | mysql_secure_installation 2>/dev/null
Result:
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
Mysql Secure Installation (Unattended)
NB : MyPass
is your current mysql password
echo -e "MyPass\nn\nY\nY\nY\nY\n" | mysql_secure_installation 2>/dev/null
Result:
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
# install latest postgresql | |
sudo yum install postgresql-server postgresql-contrib | |
# start postgresql | |
sudo systemctl start postgresql | |
# change postgres user password | |
sudo passwd postgres | |
# create a database and create a new user |
<?php | |
namespace App\Http; | |
/** | |
* Description of VideoStream | |
* | |
* @author Rana | |
* @link https://gist.github.com/vluzrmos/d5682ad426525196d069 | |
*/ |
<?php | |
/** | |
* Description of VideoStream | |
* | |
* @author Rana | |
* @link http://codesamplez.com/programming/php-html5-video-streaming-tutorial | |
*/ | |
class VideoStream | |
{ | |
private $path = ""; |