Last active
December 20, 2015 08:39
-
-
Save kadko/6102048 to your computer and use it in GitHub Desktop.
Mediatemple DV developer server ubuntu kurulum adımları ve notları
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo cp /etc/apache2/sites-available/default /etc/apache2/sites-available/dendriteagate.com | |
sudo nano /etc/apache2/sites-available/dendriteagate.com aç ServerAdmin altına ekle | |
ServerName dendriteagate.com | |
ServerAlias www.dendriteagate.com | |
sonra DocumentRoot u değiştir | |
DocumentRoot /var/www/dendriteagate.com/public_html/ | |
sonra <Directory /var/www/> u değiştir | |
<Directory /var/www/dendriteagate.com/public_html/> | |
kaydet çık | |
alan adı için yukarıda tanımlanan dosya yeri oluştur | |
mkdir -p /var/www/dendriteagate.com/public_html/ | |
kök klasöre php dosyası oluştur aynı zaman php test | |
echo '<?php phpinfo(); ?>' > /var/www/dendriteagate.com/public_html/index.php | |
alan adını aktif et (deaktif için a2dissite) | |
sudo a2ensite dendriteagate.com | |
apache yi tekrar başlat | |
sudo /etc/init.d/apache2 restart | |
tamamlandı! | |
gerekli olacak ilave adımlar | |
sanal domainlerde yazma hakkı yoksa bu şekilde ekle | |
sudo chmod -R 755 /var/www | |
sudo chmod -R 755 /var/www/7kitap.com/public_html/ | |
kullanıcıya kendi kasörünün sahipliği veriliyor root sisteminde bulunması yerine | |
sudo chown -R $USER:$USER /var/www/dendriteagate.com/public_html | |
yani | |
sudo chown -R kullanici:grup /var/www/bluechalcedony.co/public_html | |
yani | |
sudo chown -R vkzevrkxtydn:ftp /var/www/bluechalcedony.co/public_html | |
sudo nano /etc/vsftpd.chroot_list burayada ekle |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment