Centos Üzerine VestaCP Kurulumu

/* VestaCP Kurulumu */

yum -y update

curl -O http://vestacp.com/pub/vst-install.sh
bash vst-install.sh –nginx yes –apache yes –phpfpm no –named yes –remi yes –vsftpd yes –proftpd no –iptables yes –fail2ban yes –quota no –exim yes –dovecot yes –spamassassin yes –clamav yes –softaculous yes –mysql yes –postgresql no –hostname vwd.webserver –email mail@adresi.com –password SifreAlani

/* VestaCP Kurulumu Sonu */

/* VestaCP Imap sunucuna bağlanamadı hatası */

Kontrol panelde üst menüde Server’a basın. Açılan listede Dovecot üstüne gelip Configure butonuna tıklayın.

protocols = imap pop3
listen = *
base_dir = /var/run/dovecot/
!include conf.d/*.conf

Yukarıdaki kodun altına
namespace inbox {
inbox = yes
}

kodunu ekleyin. Kodun son hali şu şekilde olmalı;

protocols = imap pop3
listen = *
base_dir = /var/run/dovecot/
!include conf.d/*.conf
namespace inbox {
inbox = yes
}

/* VestaCP Imap sunucuna bağlanamadı hatası sonu */

/* Webmin Kurulumu */

nano /etc/yum.repos.d/webmin.repo

#içerik
[Webmin]
name=Webmin Distribution Neutral
#baseurl=http://download.webmin.com/download/yum
mirrorlist=http://download.webmin.com/download/yum/mirrorlist
enabled=1

wget http://www.webmin.com/jcameron-key.asc
rpm –import jcameron-key.asc
yum install webmin

/* Webmin Kurulumu Sonu */

/* PHP 5.6’dan 7.2’ye yükseltme */

1. Adım
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
wget http://rpms.remirepo.net/enterprise/remi-release-7.rpm
rpm -Uvh remi-release-7.rpm epel-release-latest-7.noarch.rpm

2. Adım
yum install yum-utils
yum-config-manager –enable remi-php72

3. Adım
yum update -y
php -v

/* PHP 5.6’dan 7.2’ye yükseltme sonu */

/* PHP Selector Kurulumu */

cd /usr/local/src
wget http://muratgul.tk/sk-phpinstaller_mg.sh
bash sk-phpinstaller_mg.sh php56 php71 php72

/* PHP Selector Kurulumu Sonu */

/* Shoutcast Kurulumu */

yum install -y wget
wget http://download.cliaweb.com/shoutcast/tam-paket/sc_serv2_linux_x64-latest.tar.gz

mkdir sc
tar -xvf sc_serv2_linux_x64-latest.tar.gz -C sc
cd sc
nano sc_serv.conf

#içerik
adminpassword=adminpass
password=password1
requirestreamconfigs=1
streamadminpassword_1=adminpass2
streamid_1=1
streampassword_1=broadcastpassword
logfile=sc_serv.log
w3clog=sc_w3c.log
banfile=sc_serv.ban
ripfile=sc_serv.rip

/* Shoutcast Kurulumu Sonu */

/* Shoutcast Otomatik Başlatma */

cd /etc/init.d
nano shoutcast

#!/bin/sh
#
# chkconfig: 345 99 01
#
# description: shoutcast server startup script
#
# Init script for SHOUTcast
# by caraoge, modified to work correctly by Thomas R Bailey, modified further for
# use with three servers by Nathan Skelton
#
# Last edited Jan 13 2009

# Set config to config file location
# set daemon to sc_serv location
############################################################################
## CHANGE THESE VALUES to match your setup
## CONFIG is the fully qualified location of your config file
## DAEMON is the fully qualified location of the sc_serv binary
## Note, the script will look for sc_serv and sc_serv.conf in /home/shoutcast
############################################################################
DAEMON=”/root/sc/sc_serv”
CONFIG=”/root/sc/sc_serv.conf”

############# Don’t fiddle below this line ##############
# Check for SHOUTcast binary
test -f $DAEMON || exit 0

# The init commands
case “$1” in
start)
echo “Basliyor CliaWeb SHOUTcast server…”
$DAEMON $CONFIG > /dev/null 2>&1 &
;;
stop)
echo “Durduruluyor CliaWeb SHOUTcast server…”
kill -9 ps -C sc_serv -o pid --no-headers
;;
restart)
echo “Durduruluyor CliaWeb SHOUTcast server…”
kill -9 ps -C sc_serv -o pid --no-headers
echo “Basliyor CliaWeb SHOUTcast server…”
$DAEMON $CONFIG > /dev/null 2>&1 &
;;
*)
echo “usage: /etc/init.d/shoutcast”
echo “$0 {start | stop | restart}”
exit 1
;;
esac

chmod 0755 /etc/init.d/shoutcast
cd /etc/rc.d/rc5.d
ln -s ../init.d/shoutcast S99shoutcast
chkconfig –add shoutcast
chkconfig shoutcast on
/etc/init.d/shoutcast start

/* Shoutcast Otomatik Başlatma Sonu */

You may also like

Bir cevap yazın

E-posta hesabınız yayımlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir