LAMP (Linux+Apache2+MySQL+PHP5) + phpmyadmin instaliacija

Forumas skirtas klausimams/pamokoms susijusioms su PHP, SQL (MySQL), web technologijomis, HTML, CSS, javascript, turinio valdymo sistemomis ir kita.
nullatonce
O taip. Jis jau surinko 50 žinučių!
Posts: 73
Joined: 2016 Sep 06 23:57
Skype: nullatonce

Re: LAMP (Linux+Apache2+MySQL+PHP5) + phpmyadmin instaliacij

Post by nullatonce »

adresas.lt kainuoja pinigus plačiau gali rasti https://www.iv.lt/

User avatar
popilas
Gana aktyvus vartotojas
Posts: 401
Joined: 2017 Apr 04 11:44
Location: Alytus

Re: LAMP (Linux+Apache2+MySQL+PHP5) + phpmyadmin instaliacij

Post by popilas »

Dėkui jau aišku su domenu. Tik kitą bėda jungiasi į adresą ir raso 403 - Forbidden, apache perkraunant rasi failed
PATYLĖK!!! Bent protingesnis atrodysi :)

User avatar
neris111
Flooderis arba specialistas
Posts: 501
Joined: 2015 Jan 13 15:17
Skype: neris14

Re: LAMP (Linux+Apache2+MySQL+PHP5) + phpmyadmin instaliacij

Post by neris111 »

Not Found

The requested URL /banai/setup.php was not found on this server.

as tai sita gaunu kas negerai?

-- 2017 Bir 03 18:17 --

kame beda persirasiau viska pagal sita pamoka https://www.supergames.lt/topic/84340-p ... ntudebian/
www.XXXXXXip phpmyadmin puslapis veikia o parasius www.xxxxxxip atidaro sita

Code: Select all

 Debian Logo Apache2 Debian Default PageIt works! This is the default welcome page used to test the correct operation of the Apache2 server after installation on Debian systems. If you can read this page, it means that the Apache HTTP server installed at this site is working properly. You should replace this file (located at /var/www/html/index.html) before continuing to operate your HTTP server. If you are a normal user of this web site and don't know what this page is about, this probably means that the site is currently unavailable due to maintenance. If the problem persists, please contact the site's administrator.Configuration Overview Debian's Apache2 default configuration is different from the upstream default configuration, and split into several files optimized for interaction with Debian tools. The configuration system is fully documented in /usr/share/doc/apache2/README.Debian.gz. Refer to this for the full documentation. Documentation for the web server itself can be found by accessing the manual if the apache2-doc package was installed on this server. The configuration layout for an Apache2 web server installation on Debian systems is as follows: /etc/apache2/|-- apache2.conf|       `--  ports.conf|-- mods-enabled|       |-- *.load|       `-- *.conf|-- conf-enabled|       `-- *.conf|-- sites-enabled|       `-- *.conf               apache2.conf is the main configuration file. It puts the pieces together by including all remaining configuration files when starting up the web server.    ports.conf is always included from the main configuration file. It is used to determine the listening ports for incoming connections, and this file can be customized anytime.    Configuration files in the mods-enabled/, conf-enabled/ and sites-enabled/ directories contain particular configuration snippets which manage modules, global configuration fragments, or virtual host configurations, respectively.    They are activated by symlinking available configuration files from their respective *-available/ counterparts. These should be managed by using our helpers a2enmod, a2dismod, a2ensite, a2dissite, and a2enconf, a2disconf . See their respective man pages for detailed information.    The binary is called apache2. Due to the use of environment variables, in the default configuration, apache2 needs to be started/stopped with /etc/init.d/apache2 or apache2ctl. Calling /usr/bin/apache2 directly will not work with the default configuration. Document Roots By default, Debian does not allow access through the web browser to any file apart of those located in /var/www, public_html directories (when enabled) and /usr/share (for web applications). If your site is using a web document root located elsewhere (such as in /srv) you may need to whitelist your document root directory in /etc/apache2/apache2.conf. The default Debian document root is /var/www/html. You can make your own virtual hosts under /var/www. This is different to previous releases which provides better security out of the box.Reporting Problems Please use the reportbug tool to report bugs in the Apache2 package with Debian. However, check existing bug reports before reporting a new bug. Please report bugs specific to modules (such as PHP and others) to respective packages, not to the web server itself. 

User avatar
popilas
Gana aktyvus vartotojas
Posts: 401
Joined: 2017 Apr 04 11:44
Location: Alytus

Re: LAMP (Linux+Apache2+MySQL+PHP5) + phpmyadmin instaliacij

Post by popilas »

Dar karta pameginsiu paklausti, :D
http://91.211.xxx.50/ atsidarius langui rodo;
It works!
This is the default web page for this server.
The web server software is running but no content has been added, yet.

http://91.211.xxx.50/news.php atsidaro web, kaip padaryti kad nereiketu rasyti to news.php... o tik
http://91.211.xxx.50 ir atidarytu
PATYLĖK!!! Bent protingesnis atrodysi :)

User avatar
laimiukas3
Moderatorius
Posts: 4569
Joined: 2012 Aug 03 01:12
Skype: laimiukas3
Location: Vilnius
Contact:

Re: LAMP (Linux+Apache2+MySQL+PHP5) + phpmyadmin instaliacij

Post by laimiukas3 »

popilas wrote:Dar karta pameginsiu paklausti, :D
http://91.211.xxx.50/ atsidarius langui rodo;
It works!
This is the default web page for this server.
The web server software is running but no content has been added, yet.

http://91.211.xxx.50/news.php atsidaro web, kaip padaryti kad nereiketu rasyti to news.php... o tik
http://91.211.xxx.50 ir atidarytu
istrink index.html faila.... tik nlb dasila kaip cia sitas klausimas gali buti susijas su lamp irasymu?
Image
Image
Image

nullatonce
O taip. Jis jau surinko 50 žinučių!
Posts: 73
Joined: 2016 Sep 06 23:57
Skype: nullatonce

Re: LAMP (Linux+Apache2+MySQL+PHP5) + phpmyadmin instaliacij

Post by nullatonce »

gal koks protingas individas tutorialą kaip ant debian upgradint php į 7 [google nepadeda]

User avatar
popilas
Gana aktyvus vartotojas
Posts: 401
Joined: 2017 Apr 04 11:44
Location: Alytus

Re: LAMP (Linux+Apache2+MySQL+PHP5) + phpmyadmin instaliacij

Post by popilas »

nullatonce wrote:gal koks protingas individas tutorialą kaip ant debian upgradint php į 7 [google nepadeda]
bandei ? https://www.cyberciti.biz/faq/installin ... g-apt-get/
PATYLĖK!!! Bent protingesnis atrodysi :)

Kenzy
Jau po truputį tampa savu
Posts: 106
Joined: 2017 Jan 22 20:41

Re: LAMP (Linux+Apache2+MySQL+PHP5) + phpmyadmin instaliacij

Post by Kenzy »

Hi,

this is Debian 9

Working on vps linux debian 9 or just debian 7 ?

the one above
E: Package 'php5' has no installation candidate
E: Package 'php5-cli' has no installation candidate
E: Package 'php5-cgi' has no installation candidate
E: Package 'libapache2-mod-php5' has no installation candidate
Attachments
unknown.png


Kenzy
Jau po truputį tampa savu
Posts: 106
Joined: 2017 Jan 22 20:41

Re: LAMP (Linux+Apache2+MySQL+PHP5) + phpmyadmin instaliacij

Post by Kenzy »

Trickas wrote:Pamoka paimta iš: http://www.how-to.lt

Pamoka kaip instaliuoti LAMP (Linux, Apache, MySQL, PHP) + phpmyadmin, kuriu pagalba idiegsite WEB service'a su php palaikymu bei MySQL duomenu baze ir jos valdymu per phpmyadmin linux aplinkoje. Visi veiksmai atliekami debian distribucijoje.


Visu pirma atsinaujiname paketu sarasa:

Code: Select all

apt-get update

Tuomet irasome visus reikalingus paketus:

Code: Select all

apt-get install php5 php5-cli php5-cgi apache2 mysql-server phpmyadmin libapache2-mod-php5
Instaliacija gali kiek uztrukti. Is pradziu Jusu paklaus MySQL root slaptazodi, reikes pakartotinai ivesti du kartus (tik nemaisykite, jis neturi nieko bendro su ssh slaptazodziu - jie yra atskiri).
Veliau ismes phpmyadmin instaliacijos lentele ir klaus su kuria WEB programa jis bendraus, pazymesite Apache2 (pati virsutini, zymime su SPACE klavisu) ir spaudziame Enter klavisa.

Vaizdas turetu buti toks:Image

Dar siek tiek palaukiame ir stai, instaliacija baigta.

Jusu tinklalapio failai turi guleti /var/www/ direktorijoje.
MySQL duomenu baze galite valdyti per: http://Serverio_IP/phpmyadmin (login: root, o slaptazodis, toki koki ivedete instaliacijos metu).
these commends not working more on debain 7 ??
and on debain 9 ?

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests