LAMP + PCLinuxOS
mám problém s nainštalovaním LAMP serveru na PClinuxOS išiel som podľa návodu na stránke
http://oldwiki.mypclinuxos.com/SettingUpWebserver
po nainštalovaní jedinej kničnice phpMyAdmin v Synaptic mi prestal fungovať cely komp v podstate nabehne ale nejdú Mp3, Videa, nefunguje internet, stratila sa sieťová karta Totem hlási nejakú neznámu chybu a podobne. Rozhodol som sa že zajtra nahodím nanovo Linux lebo to nemá zmysel opravovať.
Preto by som potreboval poradiť s tým LAMP serverom dosť ho potrebujem. Diky zatiaľ.
Kexo
Pre pridávanie komentárov sa musíte prihlásiť.
preco nenainstalova potrebne baliky priamo z repo? kde je zarucena stabilita a funkcnost?
Pls napíš postup ako si to nainštaloval nakoľko to podla UBUNTU nefunguje.
Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.
If you think this is a server error, please contact the webmaster.
Error 403
127.0.0.1
Apache/2.2.3 (PCLinuxOS/PREFORK-5pclos2007)
ja viem že nemám prístup ale ako sa tam mám vôbec dostať a to s LAMP v Ubuntu som nemal problém ani s vytváraním databázy s ničím. :-(
p.s. ak si to takto robil ako som napisal tak sry :)
nech sa snažím ako chcem nedarí sa mi rozbehať MYSQL ešte raz Vám popíšem problém
potreboval by som pomôcť s XAMPP nainštaloval som si hop odla návodu na stránke :
http://www.apachefriends.org/en/xampp-linux.html
Všetko prebehlo OK spustilo sa MYSQL APACHE PHP
Po zadaní http://localhost do prehliadača sa mi objaví hláška s nedovoleným prístupom:
Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.
If you think this is a server error, please contact the webmaster.
Error 403
localhost
Apache/2.2.3 (PCLinuxOS/PREFORK-5pclos2007)
keda zadám http://localhost/xampp tak napíše že stránka neexistuje. Skúšal som do Localhostu nahrat stránku vytvorenú v PHP a fungovala takže jediné čo treba je dostať sa do MYSQL a vytvoriť databázu a nech sa snažím akokoľvek nedarí sa mi. Potrebujem to lebo robím v DRUPALE veci a potrebujem Import a Export databáz.
Díky zatiaľ.
chmod -R 777 /tvoja/cesta/k/document_root/
az to budes vyuzivat na domace pouzitie je vhodne, ale pre vonkajsie pouzitie, by som pouvazoval o zmene prava na 755
Debilne inštalacie programov u Linuxu sú zrejme najhoršou vlastnosťou pre ktorú nemôžem prist na chut Linuxu.............
Hi, the following is a short step by step on how I got L.A.M.P working on my PC using PCLINUXOS 2007. It may or may not be the correct or proper way to make them work, but my hope is that it might help some people out. Try to follow the steps in order just like L.A.M.P – LINUX, APACHE, MYSQL, and PHP. We will use Synaptic Package Manager to download and install what we need. I will assume that PCLINUXOS is installed on your hard drive, this will not work for live CD, at least I have never tried it.
*INSTALL AS root USER*
STEPS:
1.INSTALL PCLINUXOS
2.INSTALL APACHE
3.INSTALL MYSQL
4.INSTALL PHP
OPTIONAL
5.INSTALL PHPMYADMIN
STEP 1: INSTALL PCLINUXOS
Go to the PCLINUXOS website and follow their download instructions. remember we assume you already have it installed to your hard drive.
STEP 2: INSTALL APACHE
1.Open Synaptic Package Manager, go and click on the Synaptic Package Manager icon located on the Panel.
2.Let it load the packages. Scroll down a bit till you see apache-mod_php. Left click on it to select it, then right click and select mark for installation. It will show you if any other packages need to be installed click OK .
3.Click on Apply. It will then download and install the package for you.
4.Click on Configure Your Computer - Administration Center. As soon as it opens you should be in the share settings page.
5.Click on Set up a web server. You will enter the Server set up page. If you get an error that ask for a file that is not installed, write it down and look for it in Synaptic Package Manger, then follow step 2 and 3, re-open the set up web server page.
6.Follow the set up page. Make sure you know the settings you want for apache. I think I just clicked next for some settings. If it doesn't configure right away restart the PC, and try the set up again. I set mine up to start Apache on boot, pretty sure you can change this option later.
If successfully, the set up page will inform you. Your done with this step.
STEP 3: INSTALL MYSQL
1.Open Synaptic Package Manager, go and click on the Synaptic Package Manager icon located on the Panel.
2.Let it load the packages. Scroll down till you see MySQL. I also have MySQL-client and MySQL-common. Not sure if those download with MySQL or individually.
3.Click on Apply. It will then download and install the package for you.
4.Now open a console. Click on PC icon in Panel, then go to Sytem, Terminals, Konsole and click on it.
5.Type: mysql start. You should see the starting information and database service will start.
You are now done with this step, one more to go.
STEP 4: INSTALL PHP
1. Open Synaptic Package Manager, go and click on the Synaptic Package Manager icon located on the Panel.
2. Let it load the packages. Scroll down till you see php-mysql. It will tell you about aditonal packages it needs to work, click OK.
3. Click on Apply. It will download and install.
4. Open up a text editor like Kwrite. Type <?php phpinfo(); ?>, save it as index.php.
5. Open up a web browser Konqueror or Fire fox, in the address box
type: http://127.0.01/index.php, hit enter or click go, the php information page should display.
You are now done with this step.
OPTIONAL STEP 5: INSTALL PHPMYADMIN
1. Open Synaptic Package Manager, go and click on the Synaptic Package Manager icon located on the Panel.
2. Let it load the packages. Scroll down till you see phpMyAdmin. It will tell you about aditonal packages it needs to work, click OK.
3. Click on Apply. It will download and install.
4. Open up a web browser Konqueror or Fire fox, in the address box
type: http://127.0.01/phpMyAdmin.php, hit enter or click go, the phpMyAdmin log in page should display. It will ask you for name and password. Go fish
You are now done with this step by step. If you get errors along the way redo the step or use the PCLINUXOS forums. Couple post there helped me figure it out as well as the wiki and documentation for 2007 and 93. To figure out how to get into phpMyAdmin you must supply the same name and password as MySQL, so go figure out how to set this on MySQL and learn a bit on security. A secure L.A.M.P is always recommened, especially if you use it as an internet web server.