আপাচি ওয়েব সারভার : ব্যাসিক কনফিগারেশন

আপাচি ওয়েব সারভার : ব্যাসিক কনফিগারেশন
BY জাণ্ণাতুন ণাঈম

GUI টুলস :
সাধারণত আপাচি ওয়েব সারভার কনফিগার করার জন্য যেসব GUI টুলস ব্যবহার করা হয় সেগুল শুধুমাত্র প্রাথমিক পর্যায়ের কনফিগারেশন করে থাকে । উচ্চ মানের অর্থাৎ কনফিগারেশন ফাইল এ পরিবর্তন আনার জন্য যেসব GUI টুলস ব্যবহার করা জায় সেগুল হল : Comanche, TkApache, LinuxConf, WebMin, ApacheConf, user_manage ইত্তাদি ।এগুলর মধ্যে Webmin সবচেয়ে বেশি সহজ ও কার্যকরী ।

ব্যাসিক আপাচি কনফিগারেশন এর কিছু তথ্য :
আপাচির তিনটি ফাইল থাকে, সেগুল হল :
১-https.cnf
২-access.cnf
৩-srm.cnf
https.cnf হল মেইন ফাইল,বাকিগুল খুব দরকারি না।

একটি ব্যাসিক আপাচি কনফিগারেশন সাধারনত যেরকম হয় :
httpd.conf is the main file, you can forget about the others.
A basic configuration file may look like the following:
ServerName www.justetc.net #host name .. serving website URL
listen 192.168.0.1:80 # listen to the network interface 192.168.0.1 and port 80
listen 192.168.0.1:400 # listen to the network interface 192.168.0.1 and port 400
User nobody #connect to the apache server as the user nobody #default
Group nobody
ServerAdmin admin@justetc.net #email of the administrator
ServerRoot /usr/locale/apache #apache's main working folder, apache keeps essential files here
ErrorLog logs/error_log #to keep track of errors
TransferLog logs/access_log #check the access, may make website slower
DocumentRoot /home/www/justetc
-------- ওয়েবপেজ এ আক্সেস করার জন্য আপনার নিজের ইউজার আইডি যেভাবে তৈরি ও সেট করবেন :
groupadd -g httpd
useradd -u 999 -g httpd -s /bin/false -c 'Web Server'
then use

User httpd
Group httpd

Articale Link:
http://salearningschool.com/displayArticle.php?table=Articles&articleID=638

 

Permanent link to this article: http://bangla.sitestree.com/%e0%a6%86%e0%a6%aa%e0%a6%be%e0%a6%9a%e0%a6%bf-%e0%a6%93%e0%a6%af%e0%a6%bc%e0%a7%87%e0%a6%ac-%e0%a6%b8%e0%a6%be%e0%a6%b0%e0%a6%ad%e0%a6%be%e0%a6%b0-%e0%a6%ac%e0%a7%8d%e0%a6%af%e0%a6%be%e0%a6%b8/