0.ç°å¢ [CentOS] 5.6 (32bitçã«ã¼ãã«) [Apache] 2.2.3 [PHP] 5.4.17 [Revive AdServer] 3.0.4 1.ã¤ã³ã¹ãã¼ã« 1-0.ãã¦ã³ãã¼ã é©å½ãªãã£ã¬ã¯ããªã«ã½ã¼ã¹ããã¦ã³ãã¼ãããApacheå ¬éãã£ã¬ã¯ããªã¸ç§»åã (å ¬éãã£ã¬ã¯ããªã¯èªåã®ç°å¢ã«èªã¿æ¿ãã¦ä¸ãã) # wget http://download.revive-adserver.com/revive-adserver-3.0.4.tar.gz # tar xzf revive-adserver-3.0.4.tar.gz # mv revive-adserver-3.0.4 revive-adserver # mv revive-adserver /app/. 1-1.ã¤ã³ã¹ãã¼ã«éå§ ãã©ã¦ã¶ãããä¸è¨ã¤ã³ã¹ãã¼ã«å URLã¸ã¢ã¯ã»ã¹ã (ä¾) http:
nigaraã§ãããªã¼ãã³ã½ã¼ã¹ã®åºåé ä¿¡ã·ã¹ãã ãRevive Adserver(æ§OpenX)ãã®CentOSã§ã®è¨å®ä¾ã«ã¤ãã¦è¨ãã¾ããä½è«ã§ããOpenXããã¤ã®éã«ãååãå¤ãã£ã¦ããã®ã§ããï¼å£²å´çµ¡ã¿ãããï¼ããããOpenXãµã¤ãä¸ããã½ã¼ã¹ã³ã¼ããæ¶ãã¦ããã®ã§çµæ§è¿·ãã¾ããã»ã»ã»ã ã½ã¼ã¹ã³ã¼ãåå¾å http://www.revive-adserver.com/ å³ä¸ã®tar.gzãªãzipãªãããã¦ã³ãã¼ãã解åãã¦é©å½ãªãã£ã¬ã¯ããªã«ç§»åã ä»åã¯/srv/ad/revive-adserverã§è¨ç½®ã 追å ããã±ã¼ã¸ yum install mysql.x86_64 yum install mysql-server.x86_64 (dbã®ã¿) yum install httpd.x86_64 yum install php.x86_64 yum install p
ç¡æã§å©ç¨ã§ããåºåé ä¿¡ã·ã¹ãã OpenX ã CentOS-4.6 ç°å¢ã«ãããã»ããã¢ããæ¹æ³ã¨å©ç¨æ¹æ³ã«ã¤ãã¦ãã¤ã³ããæ»ãæãã§èª¬æãã¦ãã¾ãã詳細ã¯ããã¥ã¡ã³ããåç §ãã¦ä¸ãããã¤ã³ã¿ã¼ãã§ã¤ã¹ã¨åæ§ãä½ç³»åããã¦ããåããæãçºãããã¦ãã¾ãã OpenX ï¼Openads/phpAdsNewï¼ ã¨ã¯ OpenX ã¨ã¯ããªã¼ãã³ã½ã¼ã¹ã§éçºãé²ãããã¦ããåºåé ä¿¡ã·ã¹ãã ã§ãã 以å㯠phpAdsNew ã¨ããååã§ããããOpenads ã¸å¼ãç¶ãããæè¿ãOpenX ã«å称ãå¤æ´ã«ãªã£ã¦ãã¾ãã PHP ã§åä½ãã WEBã¢ããªã±ã¼ã·ã§ã³ã§ãããMySQLãPostgreSQL ã®ãã¼ã¿ãã¼ã¹ã¨é£æºãã¦æ©è½ãã¾ãã åç § => OpenX ãã¢ãµã¤ã ã³ã³ãã³ãä½æä¸ã«ããã¥ã¡ã³ããæ¶ããã®ã§ç¦ãã¾ããããOpenX Blog ã«ããã°ãå AOLã® CEO Jonath
ASPï¼ã¢ãã£ãªã¨ã¤ãã»ãµã¼ãã¹ã»ãããã¤ãï¼ã®ããã¼åºåã管çããã®ã«ä¾¿å©ãªãAdrotateããã©ã°ã¤ã³ã®ç´¹ä»ã¨ã使ãæ¹ã®è§£èª¬ããã¾ãã 表示ãããå ´æãã¨ã«ã°ã«ã¼ãåããè¤æ°ã®ããã¼åºåãç»é²ãã¦ã©ã³ãã ã«è¡¨ç¤ºãããã¨ãã£ã使ãæ¹ããã¾ãã表示åæ°ãã¯ãªãã¯åæ°ãªã©ã®çµ±è¨æ©è½ãã¤ãã¦ããã®ã§ãæç´çã®é«ãåºåãæ¯è¼ããã®ã«ã便å©ã§ãã ã¾ãã表示æéã®è¨å®ãã§ããã®ã§ãASP ã®ãã£ã³ãã¼ã³ã«ãããã¦åºåãåãæ¿ããããããã¨ãã§ãã¾ãã ç®æ¨ãµã¤ããã¼ã®ä¸é¨ã« 300X250pxãè¨äºã®ä¸é¨ã« 300X250px ã®åºåããµãã¤æ¨ªã«ä¸¦ã¹ãã¬ã¤ã¢ã¦ããè¨ç½®ãã¦ã¿ã¾ãã ã¤ã³ã¹ãã¼ã«ç®¡çç»é¢ã®ããã©ã°ã¤ã³ãâãæ°è¦è¿½å ãã¨ç§»åããæ¤ç´¢çªã«ãAdrotateãã¨å ¥åãã¦ã¨ã³ã¿ã¼ãã¼ãæ¼ãã¨è¡¨ç¤ºãããã®ã§ããä»ããã¤ã³ã¹ãã¼ã«ããã¿ã³ããã¤ã³ã¹ãã¼ã«ã§ãã¾ãã ãã¡ããã ZIP ãã¡ã¤ã«
ãã¼ã ãã¼ã¸ãããã°ãä½æãã¦ãããªãã空ãã¦ããã¹ãã¼ã¹ã«åºåãè¼ãã¦ãã人ãå¤ãã¨æãã¾ãã é常ãåºåã³ã¼ãããã®ã¾ã¾è²¼ãä»ããã ãã ã¨ããã£ã¨åãåºåã表示ããã¾ãã ãããPHPãå©ç¨ãã¦ã©ã³ãã ã«è¡¨ç¤ºããããã«ãã¦ã¿ã¾ãã ãããããã¼ãã¼ã·ã§ã³åºåãPHPã§å®ç¾ããããã§ãã 以ä¸ãPHPã®ãµã³ãã«ã§ãã ä¾ã¨ãã¦ãï¼åã®åºåã³ã¼ããã©ã³ãã ã«è¡¨ç¤ºãã¦ãã¾ãã <div align="center"> <?php //åºåã³ã¼ã5åãå¤æ°ã«ä»£å ¥ $ad_1 = 'åºåã³ã¼ã1' ; $ad_2 = 'åºåã³ã¼ã2' ; $ad_3 = 'åºåã³ã¼ã3' ; $ad_4 = 'åºåã³ã¼ã4' ; $ad_5 = 'åºåã³ã¼ã5' ; //1ãã5ã®æ°åãã©ã³ãã ã«ä½æ $random_key = mt_rand(1,5); //ã¹ã¤ããæã§æ¡ä»¶åå² switch ($rando
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}