sudo apt update -y
sudo apt upgrade -y
sudo apt install git -y
git config --global user.email "[email protected]"
git config --global user.name "ADINIZ SOYADINIZ"
sudo apt install apache2 apache2-utils -y
sudo rm -f /var/www/html/index.html
sudo systemctl enable apache2
sudo service apache2 restart
sudo adduser $USER www-data
sudo chown -R $USER:www-data /var/www/html/
sudo apt install php php-pear php-fpm php-dev php-zip php-curl php-xmlrpc php-sqlite3 php-gd php-mysql php-mbstring php-xml libapache2-mod-php -y
sudo service apache2 restart
sudo apt install mariadb-server mariadb-client -y
sudo systemctl enable mariadb
sudo service mariadb restart
sudo mysql -u root
show databases;
use mysql;
update user set plugin='' where User='root';
flush privileges;
exit;
sudo mysql_secure_installation
sudo service apache2 restart
sudo service mariadb restart
sudo systemctl enable mariadb
sudo systemctl enable apache2
sudo adduser $USER www-data
sudo chown -R $USER:www-data /var/www/html/
cd ~
cd ~/Masaüstü || cd ~/Desktop
ln -s /var/www/html/
sudo rm -f /var/www/html/index.html
cd /var/www/html
mkdir adminer
cd adminer
wget -O index.php https://www.adminer.org/latest.php
sudo apt-get install snapd
sudo snap install atom --classic
VEYA Şunu kullanın
wget -qO - https://packagecloud.io/AtomEditor/atom/gpgkey | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main" > /etc/apt/sources.list.d/atom.list'
sudo apt update -y
sudo apt install atom -y
apm install atom-beautify autoclose-html color-picker drag-relative-path
apm install duplicate-line-or-selection emmet file-icons highlight-line
apm install highlight-selected markdown-preview-plus minimap-highlight-selected
apm install minimap sublime-style-column-selection teletype todo-show project-viewer
Yukarıdaki tüm işlemleri bir defada yapmak için:
wget https://raw.githubusercontent.com/nuriakman/PHP-Egitimi/master/konular/kurulum.sh -O - | sh
Yukarıdaki tüm işlemleri bir defada yapmak için:
wget https://raw.githubusercontent.com/nuriakman/PHP-Egitimi/master/konular/kurulum.asgari.sh -O - | sh
git config --global user.email "epostaadresiniz"
git config --global user.name "ad soyad"
sudo mysql -u root
show databases;
use mysql;
update user set plugin='' where User='root';
flush privileges;
exit;
sudo mysql_secure_installation