- Kategori: genel
- Gösterim: 19771
PHP - HTML İletişim Formu Oluşturma
PHP - HTML ile iletişim formu hazırlama ve post edilen değerleri alma
PHP - HTML ile iletişim formu hazırlama ve post edilen değerleri alma
In this article we are gonna research how to set up CPanel by using Centos 7. Cpanel is a panel that is easy to use, especially if you are a user. As we did in setting up DirectAdmin we are using Terminal. Connect your server with ssh root@ (yourip). Sometimes learners can use one ip for setting up a lot of panels. If you are a user you might see a warning like this.
If you see something like this you should write:
rm -rf /Users/imac/.ssh/known_hosts
It will delete the old files and helps you continue your process.
After this you should enable selinux and firewall as always, if you do not know how to do it go check this article's first part.
https://blog.sunucupark.com/genel/353-setting-up-directadmin-by-using-centos-7.html
Now you should update with this command:
yum update -y
And add perl extension
yum update perl
Now you can start the setting up part. This might take a while.
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
After you done with your setting up part you can write your ip with :2083 port to reach your panel.
The most basic things that you can do in a panel is adding new domain, mail adress and a database. If you learn this things it will help you explore the panel.
Adding a New E-mail Address:
You can see the e-mail category in CPanel's home page. Click e-mail accounts.
After clicking create you will see a page like this:
Fill the blanks with your informations and create. That's all.
Creating a New Database:
Go back to the home page and find Databases category. Choose MySQL Database Wizard.
Follow the steps by filling the blanks.
In this step, do not forget to choose every section.
At this stage, your new database has been set.
To see it, go back to the main page of cPanel and click on MySQL Databases.
Mail gönderimleri sırasında IP adresinizin kara listeye girmesi ile zaman zaman problem yaşayabilirsiniz.Problemle karşılaşılması duurmunda ilk olarak spma mil çıkışı yapan mail adresini saptamalısınız. Mail adresinin mail akışını durdurduktan sonra IP adresinizin kara listeden çıkarılması için gerekli başvuruları yapmalısınız. Yaptığınız başvurunun sonuçlanması içerisinde bulunduğunuz listeye göre farklılık göstermektedir. Bu süreçte maillerinizde problem yaşamamanız adına mail çıkış IP'nizi değiştirebilirsiniz.
Plesk panelde mail çıkış IP'nizi değiştirmek için aşağıdaki adımları takip edebilirsiniz.
Araçlar ve Ayarlar->Posta Sunucusu Ayarları->Giden Posta Modu bağlantı adımlarını takip ediniz.
Ip adresinizi değiştirmek için belirtilen IP adresinden gönderin seçeneğinin seçili olması gerekmektedir.
Eğer Alan adı IP adreslerinden gönderin seçeneği aktif ise her alan adı kendisine tanımlı IP adresi üzerinden gönderim yapabilmektedir.
Alan adının IP adreslerinden gönderin ve SMTP alan adlarını kullanın seçeneği seçilmesi duurmdan sadece SMTP sırasınd agönderim yapan alan adı gösterilir. Bu seçenek maillerinizin aynı IP'den ve birden çok alan adından aynı anda gönderim yapacağı için maillerinizin spama düşme tehlikesi bulunmaktadır.
Yukarıda bahsedilen seçenekler ve açıklamaları takip ederek ihtiyacınız doğrultusunda seçiminizi yapabilirsiniz.
Faydalı Olması Dileği İle
SunucuPARK Destek
Initially login to your DirectAdmin panel and create a database. For this step, make sure you are in user level. Creating Databases is under MySQL Management.
Then go to the phpMyAdmin under Extra Features. It will ask you your database informations that you just created. After that you will see a page for your database. Click Export for the first step.
Now your exporting transaction is done. For importing you should create a second database if you do not have. Then just like the exporting process go to the phpMyAdmin with your login informations and click import. Choose the file that you want to import. It will be localhost.sql most probably.
Now your importing transaction is also done which means you succesfully did everything.
In this article we are gonna research how to set up DirectAdmin by using Centos 7. We are assuming that the virtual server or the dedicated server informations that you bought from sunucupark.com had arrived you and Centos 7 is already installed on your server.
We are using Terminal(modifiable) transaction.
We are using this command to start the process:
ssh root@(ipadresiniz)
Before we start setting up; we should shut down Firewall which is a security wall. It's because Firewall might blog some transactions we need to do. There are two commands for this:
chkconfig --level 2345 iptables
chkconfig --level 2345 ip6tables off
After this, we should also shut down Selinux. Without this transaction, we can not set up DirectAdmin. The command is like this:
vi /etc/selinux/config
Now you will see the 'SELINUX ENFORCING' writ. Open the file with 'vi' that you can see in the command then keystore the i letter. Now selinux is editable. Change the word enforcing to disabled. Then press esc to quit editting mode. Press ShiftZZ to save.
Before you start using, you should update the operating system with this command.
yum upgrade -y
If you did this transactions succesffully, you can pass to the setting up step. At first, we are uploading DirectAdmin package.
yum install psmisc net-tools systemd-devel libdb-devel perl-DBI xfsprogs rsyslog logrotate crontabs file
Then we should check the hostname, whether it is same with our original hostname or not by writing hostname.
Next, we are getting our files with WGET with this command
wget http://www.directadmin.com/setup.sh
sh setup.sh
As a final step write Cliend ID and Licanse Id when the program asks you, answer questions with y. With this steps you finished setting up sucessfully. Write your IP at your scanner's lookup field with 2222 port. Now your panel is ready to use.
After you upload DirectAdmin there are still some important steps that needs to be done. If you skip any step, program will not work perfectly.
At the beginning you should login to the panel with admin username then add an IP adress for your second DNS server. For this step, make sure you are in Admin level. You can do it in IP Management section. Your second IP's subnet must be the same with the first one. Then assign both IPs to admin.
As a second step choose the user level and add new domain in Domain Setup section. You should write your domain without a subdomain.
For the final step, choose Reseller level and click Nameservers in Server Manager section. You will see your recent IP and a new one on the screen. Choose both of them and click Create.With this step you ended your main configuration.
We can continue with package configuration to our article. You should be in Reseller level again for this transaction. ChooseManage user package in Account Manager. In the beginnig you will not have a package so you shoul add package. Then you will fill the blanks according to your want. It is an important step because it will specify how your site going to be.
You can costumize everything in your site with this sections.
Bandwidth and disk space is important for your site's usage. If you exceed Bandwidth's capacity, your site will not be available anymore. Because of this, the sites that have too many customers use unlimited version.
Domain and subdomain parts specify how many different sites you might have. With subdomains, you can have more than one websites with only one domain.
Spam Assassin preserve you from span messages and with the access parts you can decide whether you give authority toyour costumers or not. As a final step choose your package name and the process will be done.