Notes![what is notes.io? What is notes.io?](/theme/images/whatisnotesio.png)
![]() ![]() Notes - notes.io |
echo "Lutfen Server Ip Adresini Giriniz"
read serverip
clear
echo "Girilen Server Ip Adresi : $serverip"
echo 'Ip adresi dogruysa ve devam etmek istiyorsaniz "y" tusuna,';
echo 'Ip adresi hatali ise yeniden ip adresi girmek icin "r" tusuna,';
echo 'Devam etmek istemiyorsaniz "n" tusuna basiniz.';
read secim
case $secim in
n)
clear
echo "Programdan cikildi"
;;
r)
ilkkurulum
;;
y)
clear
echo "Girilen Server Ip Adresi : $serverip"
echo "Bu ip adresine gore kurulum baslatiliyor."
echo 'Lutfen "kurulum basarili sekilde gerceklesti" mesaji gelene kadar bekleyiniz'
sleep 5
clear
echo "Portsnap aciliyor...";
sleep 3
portsnap fetch extract
portsnap fetch update
clear
echo "nano kuruluyor...";
sleep 3
cd /usr/ports/editors/nano
make install
clear
echo "screen kuruluyor...";
sleep 3
cd /usr/ports/sysutils/screen
make install
clear
echo "free kuruluyor...";
sleep 3
cd /usr/ports/sysutils/freecolor/
make install clean
echo "/usr/local/bin/freecolor -mto" > /usr/local/bin/free
chmod a+x /usr/local/bin/free
rehash
clear
echo "nano, screen ve free basarili sekilde kuruldu";
sleep 3
clear
echo "Mysql kuruluyor...";
sleep 3
cd /usr/ports/databases/mysql50-server/
make install WITH_XCHARSET=all clean
/usr/local/bin/mysql_install_db
chown -R mysql /var/db/mysql/
chgrp -R mysql /var/db/mysql/
echo 'mysql_enable="YES"' >> /etc/rc.conf
echo "[mysqld]" >> /var/db/mysql/my.cnf
echo "set-variable=local-infile=0" >> /var/db/mysql/my.cnf
echo "set-variable = max_connections=4096" >> /var/db/mysql/my.cnf
echo "safe-show-database" >> /var/db/mysql/my.cnf
echo "max_allowed_packet=16M" >> /var/db/mysql/my.cnf
clear
echo "Birkac guvenlik ayari yapiliyor...";
sleep 3
echo "net.inet.tcp.blackhole=2" >> /etc/sysctl.conf
echo "net.inet.udp.blackhole=1" >> /etc/sysctl.conf
echo "net.inet.icmp.icmplim=50" >> /etc/sysctl.conf
clear
echo "Kernel PAEye cevriliyor ve ipfirewall aktif ediliyor...";
sleep 3
cd /usr/src/sys/i386/conf
cp PAE DOST
echo "options IPFIREWALL" >> /usr/src/sys/i386/conf/DOST
echo "options IPFIREWALL_VERBOSE" >> /usr/src/sys/i386/conf/DOST
echo "options IPFIREWALL_VERBOSE_LIMIT=15" >> /usr/src/sys/i386/conf/DOST
cd /usr/src
make kernel KERNCONF=DOST
echo 'firewall_enable="YES"' >> /etc/rc.conf
echo 'firewall_script="/etc/ipfw.rules"' >> /etc/rc.conf
rm -rf /etc/ipfw.rules
echo 'IPF="ipfw -q add"' >> /etc/ipfw.rules
echo "ipfw -q -f flush
#DOST IPFW AYARLAR
$IPF 4 allow all from $serverip to any 12001
$IPF 5 allow all from 127.0.0.0/8 to any 12001
$IPF 6 deny all from any to me 12001
$IPF 7 allow all from $serverip to any 14000
$IPF 8 allow all from 127.0.0.0/8 to any 14000
$IPF 9 deny all from any to me 14000
$IPF 10 allow all from $serverip to any 14001
$IPF 11 allow all from 127.0.0.0/8 to any 14001
$IPF 12 deny all from any to me 14001
$IPF 13 allow all from $serverip to any 14002
$IPF 14 allow all from 127.0.0.0/8 to any 14002
$IPF 15 deny all from any to me 14002
$IPF 16 allow all from $serverip to any 14003
$IPF 17 allow all from 127.0.0.0/8 to any 14003
$IPF 18 deny all from any to me 14003
$IPF 19 allow all from $serverip to any 14004
$IPF 20 allow all from 127.0.0.0/8 to any 14004
$IPF 21 deny all from any to me 14004
$IPF 22 allow all from $serverip to any 14061
$IPF 23 allow all from 127.0.0.0/8 to any 14061
$IPF 24 deny all from any to me 14061
$IPF 25 allow all from $serverip to any 14099
$IPF 26 allow all from 127.0.0.0/8 to any 14099
$IPF 27 deny all from any to me 14099
$IPF 28 allow all from $serverip to any 17000
$IPF 29 allow all from 127.0.0.0/8 to any 17000
$IPF 30 deny all from any to me 17000
$IPF 31 allow all from $serverip to any 17001
$IPF 32 allow all from 127.0.0.0/8 to any 17001
$IPF 33 deny all from any to me 17001
$IPF 34 allow all from $serverip to any 17002
$IPF 35 allow all from 127.0.0.0/8 to any 17002
$IPF 36 deny all from any to me 17002
$IPF 37 allow all from $serverip to any 17003
$IPF 38 allow all from 127.0.0.0/8 to any 17003
$IPF 39 deny all from any to me 17003
$IPF 40 allow all from $serverip to any 17004
$IPF 41 allow all from 127.0.0.0/8 to any 17004
$IPF 42 deny all from any to me 17004
$IPF 43 allow all from $serverip to any 17061
$IPF 44 allow all from 127.0.0.0/8 to any 17061
$IPF 45 deny all from any to me 17061
$IPF 46 allow all from $serverip to any 17099
$IPF 47 allow all from 127.0.0.0/8 to any 17099
$IPF 48 deny all from any to me 17099
#Standart Regeln
$IPF 10000 allow all from any to any via lo0
$IPF 20000 deny all from any to 127.0.0.0/8
$IPF 30000 deny all from 127.0.0.0/8 to any
$IPF 40000 allow all from any to any" >> /etc/ipfw.rules
echo "Kurulum basarili sekilde tamamlanmistir."
echo "Degisikliklerin aktif olmasi icin server yeniden baslatiliyor..."
sleep 3
echo "Servera erisim gelince asagidaki komutla mysql sifresini degistirin.";
echo "/usr/local/bin/mysqladmin -u root password twistero";
sleep 3top
;;
*)
clear
echo "Yanlis tusa bastiniz"
echo "Lutfen bekleyiniz program yeniden baslatiliyor"
sleep 2
ilkkurulum
esac
![]() |
Notes is a web-based application for online taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000+ notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 14 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team