Jump to content

Erro pure-ftpd voxstream


Recommended Posts

Ola amigos venho pedir uma ajuda.


tenho um servidor dedicado com centos 5,9  de 32Bts voxstream estava com erros e formatei, voltei a instalar de novo voxstream soucer/install  (tem abaixo o codigo) vou dentro do servidor pelo programa  Winscp e o directorio  etc/pure-ftpd, não se vê.   Alguem pode me ajuda? será que estao a fazer algo de errado?







echo -e "${D}Fazendo instalacao do VoxCast!${R}"
echo "Podera demorar varios minutos. Por favor, aguarde"

iptables -F

yum install iptables wget nano vixie-cron mailx sendmail nmap unzip -y

service iptables save

chkconfig iptables on

chkconfig crond on

ln -s /usr/bin/nano /usr/bin/pico

adduser streaming

chmod 777 /home/streaming

cd /home/streaming/
wget wget http://voxcast.advirhost.com.br/source/streaming.zip
unzip streaming.zip

cd /home/streaming/; chmod 777 ligar_streaming; chmod 777 desligar_streaming; chmod 777 ligar_autodj; chmod 777 migrar_musicas; chmod 777 migrar_streaming; chmod 777 sc_trans; chmod 777 pular_musica_autodj; chmod 777 desligar_autodj; chmod 777 sc_serv;

mkdir -v configs logs playlists

rpm -Uvh rpmforge-release-0.5.2-2.el5.rf.i386.rpm
yum update -y

cd /home/streaming/
yum install vnstat pure-ftpd -y

chkconfig pure-ftpd on

rm -rfv /etc/pure-ftpd/pure-ftpd.conf /etc/pure-ftpd/pureftpd-mysql.conf
mv -v pure-ftpd.conf pureftpd-mysql.conf /etc/pure-ftpd/

service pure-ftpd restart

rm -rfv /etc/bashrc
mv -v bashrc /etc/bashrc
source /etc/bashrc

echo >> /root/.bash_profile
echo 'cd /home/streaming' >> /root/.bash_profile

mv monitor.txt /bin/monitor

chmod 777 /bin/monitor

rm -rf -v /var/spool/cron/root
mv -v cron.streaming.txt /var/spool/cron/root

service crond restart

vnstat -u -i eth0

vnstat -u -i venet0

vnstat -u --force

groupadd -g 2001 ftpgroup
useradd -u 2001 -s /bin/false -d /bin/null -c "pureftpd user" -g ftpgroup ftpuser

chkconfig --levels 235 pure-ftpd on
/etc/init.d/pure-ftpd start

modprobe ip_nat_ftp

iptables -I FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT

passwd streaming

echo -e "${D}Instalado com sucesso!${R}"
echo -e "${D}Obrigado por instalar o VOXcast!${R}"

cd /etc/pure-ftpd
vi pureftpd-mysql.conf


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

Do you agree with our terms?