نمایش نتایج: از شماره 1 تا 9 , از مجموع 9

موضوع: آموزش نصب آپاچی

  1. #1
    کاربر اخراج شده
    تاریخ عضویت
    Feb 2009
    محل سکونت
    قزوین
    نوشته ها
    987
    تشکر تشکر کرده 
    449
    تشکر تشکر شده 
    1,161
    تشکر شده در
    730 پست

    پیش فرض آموزش نصب آپاچی

    طریقه نصب ، تنظیم آپاچی هستش ...
    یکی از آموزش های کاربردی و خوب میتونه باشه!
    همون طور که مشاهده میکنید زبان انگلیسی هستش ... ( خیلی ساده و روان هستش .. نیاز به ترجمه نبود .... )
    apache is one of the most popular web server. Due to its unique features it is very extensible and useful for many different types of web sites. Also called as apache httpd it is a powerful & flexible web server.
    This unique article will discuss apache installation on a linux system. The installation is easy. It just needs some basic knowledge of linux. You at least comfortable working in linux - changing directories, using tar and gunzip, and compiling with make you should also have access to the root account on the server.
    here we are installing apache version 1.3.37
    1) ssh to your server as root & download apache 1.3.37 source from apache httpd server website, http://httpd.apache.org/
    # cd /usr/local/src
    # wget http://httpd.apache.org/download.cgi
    2) extract the tar file.
    # tar -zxvf apache1.3.tar.gz
    # cd apache1.3
    3) now configure the source tree. We are installing apache at /usr/local/apache. Following will create a make file.
    # ./configure –prefix=/usr/local/apache \
    –enable-so \
    –enable-cgi \
    –enable-info \
    –enable-rewrite \
    –enable-speling \
    –enable-usertrack \
    –enable-deflate \
    –enable-ssl \
    –enable-mime-magic
    you may only enable ‘-so‘. More information regarding the other options, you can try ./configure –help
    4) now make apache from the above make file.
    # make
    5) if make is successfull & goes without any error , install apache
    # make install
    setting up apache server.
    1) with the above installation of apache the apache conf file is created at /usr/local/apache/conf/httpd.conf
    1) if you want to run apache on a different port to the default (80) then then change the number on line 280. Ports less than 1023 will require apache to be started as root. Port 80 is probably the easiest to use since all other ports have to be specified explicitly in the web browser, eg: http://localhost:81.
    port 80
    2) you may want to change the server admin email address on line 313:
    serveradmin admin@example.com
    3) specify your machine name on line 331, you may just have to remove the # comment marker. If you configure virtual hosts as outlined below then apache will use the virtual server you name here as the default documents for the site.
    servername www.example.com
    4) you should set the document root on line 338:
    documentroot /usr/local/apache/htdocs
    5) and on line 363:

    this should be changed to whatever you set documentroot to.
    6) the default file to serve in directories is index.html. You can change this or add new file names (in order or importance) on line 414.
    directoryindex index.html index.htm index.php
    7) if you don’t get a large number of hits and you want to know where your visitors are from then turn host name look ups on at line 511. Turning this on does place extra load on your server as it has to look up the host name corresponding to the ip address of all your visitors.
    hostnamelookups on
    apache errorlog on line 520:
    errorlog /usr/local/apache/logs/error_log
    setting up virtual hosts:
    1) virtual hosts in apache enables the single apache server to serve different web pages for different domains. Through virtual hosts we can configure how apache should handle requests to each domain.
    When any site or domain is browsed in a web browser, the browser sends the hostname of the server that it is connecting to, to the web server. All the http request that come to the server (on the ports it was told to listen to) are caught by apache. It checks the host name included in the request and uses that to determine the virtual host configuration it should utilize.
    2) whena request is received by apache, it get following details:
    hostname: The domain name (eg. Eukhost.com)
    ip address: (eg. 10.10.10.1)
    port: (eg. 80)
    during apache configuration, we should mention each ip address and port combination for which we will be specifying virtual host domains, in the configuration file. So we should add the namevirtualhost entry in the httpd.conf file:
    namevirtualhost 10.10.10.1:80
    please make sure the ipaddress that you use is configured on your machine.
    3) each virtual host will have its own directory for the web pages to be stored. This can be anywhere that the apache web server has permission to read. For example, on a cpanel server the web pages are located at /home/username/public_html.
    Now if we set a domain eukhost.com on the, its virtualhost entry will be:
    namevirtualhost 10.10.10.1:80
    serveralias www.eukhost.com
    serveradmin webmaster@eukhost.com
    documentroot /home/euk/public_html/
    servername tmcnetwork.bayker.com
    byteslog domlogs/eukhost.com-bytes_log
    customlog /usr/local/apache/domlogs/tmcnetwork.bayker.com combined


    running apache:
    1) apachectl is the easiest way to start and stop your server manually.
    # cd /usr/local/apache/bin
    # ./apachectl start
    2) you can also copy the file /usr/local/apache/bin/httpd to /etc/init.d/ from where your can stop & start apache.
    # /etc/init.d/httpd stop
    # /etc/init.d/httpd start

  2. تعداد تشکر ها ازWebRang به دلیل پست مفید


  3. # ADS




     

  4. #2
    عضو انجمن mdf092 آواتار ها
    تاریخ عضویت
    May 2010
    محل سکونت
    تهران
    نوشته ها
    277
    تشکر تشکر کرده 
    194
    تشکر تشکر شده 
    335
    تشکر شده در
    167 پست

    پیش فرض پاسخ : آموزش نصب آپاچی

    برای کانفیگ کردن آپاچی روی سرور لینوکس رابط گرافیکی مناسبی وجود داره؟

  5. تعداد تشکر ها از mdf092 به دلیل پست مفید


  6. #3
    عضو دائم
    تاریخ عضویت
    Sep 2008
    نوشته ها
    1,732
    تشکر تشکر کرده 
    32
    تشکر تشکر شده 
    3,299
    تشکر شده در
    1,408 پست

    پیش فرض پاسخ : آموزش نصب آپاچی

    easyapache یک اسکریپت GUI تحت Cpanel هست که امکان مدیریت apache رو به شما میده .

    همچنین محیط های گرافیکی مثل Gnome و KDE هم هرکدام interface ای برای تنظیم و پیکربندی apache در نظر گرفتند .

  7. تعداد تشکر ها از Online24 به دلیل پست مفید


  8. #4
    عضو انجمن mdf092 آواتار ها
    تاریخ عضویت
    May 2010
    محل سکونت
    تهران
    نوشته ها
    277
    تشکر تشکر کرده 
    194
    تشکر تشکر شده 
    335
    تشکر شده در
    167 پست

    پیش فرض پاسخ : آموزش نصب آپاچی

    ممنون
    اما الان من روی سرور دسکتاپی رو نصب نکردم
    ترجیح میدم که تحت وب و مستقل باشه
    آیا easyapache بدون سی.پنل هم کار میکنه؟

  9. تعداد تشکر ها از mdf092 به دلیل پست مفید


  10. #5
    کاربر اخراج شده
    تاریخ عضویت
    Jun 2009
    نوشته ها
    342
    تشکر تشکر کرده 
    333
    تشکر تشکر شده 
    204
    تشکر شده در
    160 پست

    پیش فرض پاسخ : آموزش نصب آپاچی

    از ایزی php بزنیم کامپایل دوباره و نصب دوباره apache چقدر طول میکشه ؟

  11. تعداد تشکر ها از tmfar به دلیل پست مفید


  12. #6
    عضو انجمن
    تاریخ عضویت
    Oct 2009
    نوشته ها
    597
    تشکر تشکر کرده 
    3,506
    تشکر تشکر شده 
    966
    تشکر شده در
    721 پست

    پیش فرض پاسخ : آموزش نصب آپاچی

    دروود
    بستگی به افزونه های مورد نیاز شما ممکن است 1 ساعت تا 2 ساعت هم زمان ببرد.
    Abancloud.ir|Colocation | IaaS |Cloud | provider in Shiraz | Mashhad | Tabriz | Qom | Hamedan
    contact:sales[at]Abancloud[dot]ir | 071 9102 6149
    since 2009

  13. تعداد تشکر ها از saeed25 به دلیل پست مفید


  14. #7
    کاربر اخراج شده
    تاریخ عضویت
    Feb 2011
    نوشته ها
    226
    تشکر تشکر کرده 
    402
    تشکر تشکر شده 
    390
    تشکر شده در
    217 پست

    پیش فرض پاسخ : آموزش نصب آپاچی

    لطفا لایت اسپید رو هم به زبان فارسی یا تصویری قرار بدین .

    این آموزش هم بسیار مفید بود . با تشکر .

  15. تعداد تشکر ها از sibs به دلیل پست مفید


  16. #8
    عضو انجمن sales data آواتار ها
    تاریخ عضویت
    Mar 2011
    محل سکونت
    تهران
    نوشته ها
    270
    تشکر تشکر کرده 
    86
    تشکر تشکر شده 
    507
    تشکر شده در
    427 پست

    پیش فرض پاسخ : آموزش نصب آپاچی

    عالی بود

  17. تعداد تشکر ها از sales data به دلیل پست مفید


  18. #9
    عضو جدید
    تاریخ عضویت
    Sep 2012
    نوشته ها
    8
    تشکر تشکر کرده 
    11
    تشکر تشکر شده 
    15
    تشکر شده در
    12 پست

    پیش فرض پاسخ : آموزش نصب آپاچی

    برای نصب ورژن جدید آپاچی چه کنیم؟

اطلاعات موضوع

کاربرانی که در حال مشاهده این موضوع هستند

در حال حاضر 1 کاربر در حال مشاهده این موضوع است. (0 کاربران و 1 مهمان ها)

موضوعات مشابه

  1. پاسخ ها: 69
    آخرين نوشته: November 5th, 2016, 22:32
  2. آموزش هاستینگ - آموزش سایت - آموزش سرور
    توسط saba27 در انجمن مباحث و منابع آموزشی
    پاسخ ها: 0
    آخرين نوشته: May 2nd, 2016, 09:48
  3. فیلم آموزشی بهینه سازی سایت آموزش seo آموزش سئو
    توسط miladd001220 در انجمن مباحث و منابع آموزشی
    پاسخ ها: 1
    آخرين نوشته: April 21st, 2015, 11:03
  4. پاسخ ها: 26
    آخرين نوشته: January 11th, 2013, 22:38

مجوز های ارسال و ویرایش

  • شما نمیتوانید موضوع جدیدی ارسال کنید
  • شما امکان ارسال پاسخ را ندارید
  • شما نمیتوانید فایل پیوست کنید.
  • شما نمیتوانید پست های خود را ویرایش کنید
  •