начать думать своей головой. уже очень давно пора. можешь через настройки протыкать галки, можешь через текстовый редактор диезы поснимать в правильных местах. service apache2 status service mysql status пых у тебя как модуль апача, поэтому его ловить через какой-нибудь phpinfo() допустим в файлике /var/www/html/p.php и потом в браузере http://localhost/p.php.
php7@php7-All-Series:~$ /etc/apt/sources.list bash: /etc/apt/sources.list: Отказано в доступе php7@php7-All-Series:~$
ну ты пытаешься выполнить файл в контексте программы, но у тебя не стоят флаги X у данного файла, поэтому ты получаешь отказ в доступе. и если ты добавишь флаги исполнения (sudo chmod +x /etc/apt/sources.list) то толку от этого будет примерно ноль - это текстовый файл а не программа и не скрипт цепляющий через шебанг свой интерпретатор, поэтому система его не сможет выполнить в контексте программы и ты получишь еще одну ошибку. а отредактировать файл можно через текстовый редактор - нано если ты в терминале или гномэдит если ты в терминале в гуях. nano /etc/apt/sources.list ili gedit /etc/apt/sources.list но тут ты получишь ошибку при попытке записи, потому что файл системный а ты обычный пользователь а не рут. следовательно... открыть редактор надо под рутом sudo nano /etc/apt/sources.list оу-ар sudo gedit /etc/apt/sources.list
Код (Text): #deb cdrom:[Ubuntu 16.04.3 LTS _Xenial Xerus_ - Release amd64 (20170801)]/ xeni$ # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://ru.archive.ubuntu.com/ubuntu/ xenial main restricted # deb-src http://ru.archive.ubuntu.com/ubuntu/ xenial main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://ru.archive.ubuntu.com/ubuntu/ xenial-updates main restricted # deb-src http://ru.archive.ubuntu.com/ubuntu/ xenial-updates main restricted ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb http://ru.archive.ubuntu.com/ubuntu/ xenial universe # deb-src http://ru.archive.ubuntu.com/ubuntu/ xenial universe deb http://ru.archive.ubuntu.com/ubuntu/ xenial-updates universe # deb-src http://ru.archive.ubuntu.com/ubuntu/ xenial-updates universe тут надо что-то поменять?
ну если ты голову включишь то увидишь что в контексте четырех штатных секций тебе ничего не надо менять. и это не всё содержимое файла. там ниже еще должны быть строки. и правее еще должны быть символы. разверни терминал на весь экран.
Код (Text): #deb cdrom:[Ubuntu 16.04.3 LTS _Xenial Xerus_ - Release amd64 (20170801)]/ xenial main restricted # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://ru.archive.ubuntu.com/ubuntu/ xenial main restricted # deb-src http://ru.archive.ubuntu.com/ubuntu/ xenial main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://ru.archive.ubuntu.com/ubuntu/ xenial-updates main restricted # deb-src http://ru.archive.ubuntu.com/ubuntu/ xenial-updates main restricted ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb http://ru.archive.ubuntu.com/ubuntu/ xenial universe # deb-src http://ru.archive.ubuntu.com/ubuntu/ xenial universe deb http://ru.archive.ubuntu.com/ubuntu/ xenial-updates universe # deb-src http://ru.archive.ubuntu.com/ubuntu/ xenial-updates universe ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. deb http://ru.archive.ubuntu.com/ubuntu/ xenial multiverse # deb-src http://ru.archive.ubuntu.com/ubuntu/ xenial multiverse deb http://ru.archive.ubuntu.com/ubuntu/ xenial-updates multiverse # deb-src http://ru.archive.ubuntu.com/ubuntu/ xenial-updates multiverse ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. deb http://ru.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse # deb-src http://ru.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse ## Uncomment the following two lines to add software from Canonical's ## 'partner' repository. ## This software is not part of Ubuntu, but is offered by Canonical and the ## respective vendors as a service to Ubuntu users. # deb http://archive.canonical.com/ubuntu xenial partner # deb-src http://archive.canonical.com/ubuntu xenial partner deb http://security.ubuntu.com/ubuntu xenial-security main restricted # deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted deb http://security.ubuntu.com/ubuntu xenial-security universe # deb-src http://security.ubuntu.com/ubuntu xenial-security universe deb http://security.ubuntu.com/ubuntu xenial-security multiverse # deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse ^G Помощь ^O Записать ^W Поиск ^K Вырезать ^J Выровнять ^C ТекПозиц ^Y ПредCтр M-\ ПервСтрока M-W Найти далее ^^ Отметить M-} Отступ M-U Отмена ^X Выход ^R ЧитФайл ^\ Замена ^U Отмен. вырезку^T Словарь ^_ К строке ^V СледCтр M-/ ПослСтрока M-] На скобку M-^ Копировать M-{ ОтмОтступа M-E Повтор Код (Text): #deb cdrom:[Ubuntu 16.04.3 LTS _Xenial Xerus_ - Release amd64 (20170801)]/ xenial main restricted # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://ru.archive.ubuntu.com/ubuntu/ xenial main restricted # deb-src http://ru.archive.ubuntu.com/ubuntu/ xenial main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://ru.archive.ubuntu.com/ubuntu/ xenial-updates main restricted # deb-src http://ru.archive.ubuntu.com/ubuntu/ xenial-updates main restricted ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb http://ru.archive.ubuntu.com/ubuntu/ xenial universe # deb-src http://ru.archive.ubuntu.com/ubuntu/ xenial universe deb http://ru.archive.ubuntu.com/ubuntu/ xenial-updates universe # deb-src http://ru.archive.ubuntu.com/ubuntu/ xenial-updates universe ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. deb http://ru.archive.ubuntu.com/ubuntu/ xenial multiverse # deb-src http://ru.archive.ubuntu.com/ubuntu/ xenial multiverse deb http://ru.archive.ubuntu.com/ubuntu/ xenial-updates multiverse # deb-src http://ru.archive.ubuntu.com/ubuntu/ xenial-updates multiverse ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. deb http://ru.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse # deb-src http://ru.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse ## Uncomment the following two lines to add software from Canonical's ## 'partner' repository. ## This software is not part of Ubuntu, but is offered by Canonical and the ## respective vendors as a service to Ubuntu users. # deb http://archive.canonical.com/ubuntu xenial partner # deb-src http://archive.canonical.com/ubuntu xenial partner deb http://security.ubuntu.com/ubuntu xenial-security main restricted # deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted deb http://security.ubuntu.com/ubuntu xenial-security universe # deb-src http://security.ubuntu.com/ubuntu xenial-security universe deb http://security.ubuntu.com/ubuntu xenial-security multiverse # deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse ^G Помощь ^O Записать ^W Поиск ^K Вырезать ^J Выровнять ^C ТекПозиц ^Y ПредCтр M-\ ПервСтрока M-W Найти далее ^^ Отметить M-} Отступ M-U Отмена ^X Выход ^R ЧитФайл ^\ Замена ^U Отмен. вырезку^T Словарь ^_ К строке ^V СледCтр M-/ ПослСтрока M-] На скобку M-^ Копировать M-{ ОтмОтступа M-E Повтор
а где об этом почитать что сделать? --- Добавлено --- # deb http://archive.canonical.com/ubuntu xenial partner нужно это раскоментировать? --- Добавлено --- можешь объяснить что сделать нужно?
в документации. которая кстати и у тебя на компе доступна - man apt, man sources.list если тебе нужны пакеты из того репозитория - то раскомментируй я же написал что с источниками пакетов мы уже разобрались. "сервер" у тебя уже поставлен. ты понял как это сделал?
http://localhost/p.php Not Found The requested URL /p.php was not found on this server. Apache/2.4.18 (Ubuntu) Server at localhost Port 80 понял там кода нет поэтому такое пишет --- Добавлено --- я не понял что нужно сделать
ты уже один раз не понял и я тебе один раз объяснил. ты опять не понял? что понимаешь что ты не понимаешь или не понимаешь что ты не понимаешь?
Что тебе объяснить? Что ты уже установку нужную сделал? Я честно говоря фиг его знает как это сделать. Ты же не понимаешь достиг ты результата или не достиг. А если достиг то какого результата. Ты не понимаешь что ты делал и к чему стремился. И ты даже русский язык не понимаешь. Там выше ведь всё сказано простым и понятным языком. Если ты этого не понимаешь то тебе надо вернуться в школу, взять букварь и начать изучение русского языка с нуля. А потом уже лет через 10 можно вновь попробовать программирование. Там ведь как раз школьный курс алгоритмизации программирования будет пройден, который очень полезен для работы смекалки.
легко. качаешь нетбинс, качаешь ждк, делаешь установщик нетбинса исполняемым файлом и запускаешь выполнение установщика нетбинса. последние две операции можно делать от обычного пользователя.
У тебя ошибка в голове. Я тебе уже сказал что всё ок а ты продолжаешь думать что от тебя еще какие-то действия нужны.
file:///var/www/html/ вот тут file:///var/www/ --- Добавлено --- не активна кнопка создать папку --- Добавлено --- php7@php7-All-Series:/var/www$ mkdir 1 mkdir: невозможно создать каталог «1»: Отказано в доступе php7@php7-All-Series:/var/www$
Потому что у тебя прав нету этот каталог. Ты можешь: 1. дать права на каталог, но это нужно с пониманием делать. 2. сменить владельца каталога, но это не самый правильный путь. 3. разрабатывать вне этого каталога, а там где ты хозяин. Но и это создаст у тебя лишние сложности.