HELLO, sorry but I don't understand at 6:50 Pattern E486 not found < and "/var/www/html/phpinfo.php" 0L, 0B appears on the bottom left and I can't write, sorry, could you help me?
The vi editor is in command mode immediately after startup, so you need to enter i to change to insert mode. See below for how to use the vi editor. Getting Started with Linux Commands 03. vi editor th-cam.com/video/vc58PAMB1Wc/w-d-xo.html
hi when I write the URL in address bar which you did at 4:50 . when I wrote this xampp for Linux page opens and my url auto add dashboard at last . is it ok or not .the page you opened is not opening at mine.
In my samsung chromebook i cant find this file . There is no file in "linux files" directory. i have completley search my OS this file donot exist ( /var/www/html) My php and apache works properly as you shown in video. kindly guide me about that
Please let me know the result of executing the following command. ps -efl | grep apache2 | grep -v grep ss -atn Please refer to the image below. drive.google.com/file/d/1-4YEoFgWTtGb54smXn36hFevkjQSx3LO/view?usp=sharing
@@norysoft sorry for late comment I was busy so this is the exact error " Restarting apache2 (via systemctl): apache2.serviceJob for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xeu apache2.service" for details. failed! "
when i do sudo /etc/init.d/apache2 restart, i get this: Restarting apache2 (via systemctl): apache2.serviceJob for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details. failed! what do i do?
I think it's caused by a syntax error in /etc/apache2/apache2.conf or /etc/apache2/ports.conf. You can check it with the following command. sudo apachectl configtest
@@norysoft it says: AH00526: Syntax error on line 16 of /etc/apache2/ports.conf: Invalid command ':wq', perhaps misspelled or defined by a module not included in the server configuration Action 'configtest' failed. The Apache error log may have more information.
Thanks for the tutorial. Everything worked until the end. I keep getting a blank screen at the local host http (not using https). it say "this site can't be reached. localhost refused to connect"
Please let me know the result of executing the following command. ps -efl | grep apache2 | grep -v grep The attached image is the result of my execution. drive.google.com/file/d/1SGfmPYE_JWnJm-neS0Wnnm5MsoPeq7HL/view?usp=share_link
@@norysoft thanks so much for responding and assisting. Here is the result of my execution docs.google.com/document/d/1eAjXfUVmTngFklSqlRp1mlGvw2o1pkSJ-NmXJ-xchYg/edit?usp=sharing
@@adolaizeadmin Please refer to the images below and check /etc/apache2/ports.conf, restart and URL. drive.google.com/file/d/1kbHMXNuyTQ59ETbcOf-QjqqLP2EPGwB4/view?usp=share_link drive.google.com/file/d/181Kc6ozwn56IqL95PHMMSVPw6-7PDUuu/view?usp=share_link
@@norysoft I kept getting a "failure" when I tried that. Thanks again for responding and trying to help. I've removed Linux, rebooted my Chromebook, and followed the steps in this video MULTIPLE times, but it's always at the end, I still have a blank white screen. Not sure what I'm missing... I'm actually trying to install Wordpress and landed on this video because two of your other videos seemed to suggest I needed to do this step first. I've learned a great deal from you already, so sincerely, thank you!
Thank you for your comment. Please comment if you have any other questions or requests. Please place the php file below. /var/www/html Please refer to the following for how to install Visual Studio Code. th-cam.com/video/47riOFT3mqI/w-d-xo.html Please refer to the following for how to use vi editor. th-cam.com/video/vc58PAMB1Wc/w-d-xo.html
If you want a sample app, I recommend the video below. Install MariaDB(MySQL) on Chromebook Linux and operate from PHP th-cam.com/video/C8JCHAD6Rq4/w-d-xo.html
Thank you for your comment. At 3:26, I pressed the ESC button to change vi from EDIT mode to COMMAND mode. See my video "Getting Started with Linux Commands 03. vi editor" for how to use vi.
You don't want to use the vi editor, do you? You can use vscode. Install Visual Studio Code on Linux on your Chromebook th-cam.com/video/47riOFT3mqI/w-d-xo.html
Thank you for your comment. Please comment if you have any other questions or requests. --- Obrigado pelo seu comentário. Por favor, comente se você tiver quaisquer outras perguntas ou pedidos.
@@norysoft I thought you wouldn't see the message. can you take a doubt? I have javascript projects and I want to open them on localhost, just like I do on windows using xampp.. the installation was successful, but I can't access localhost or the folder that would be "Htdocs". If you can help I would really appreciate it.
@@G.aroucas If your Linux app is listening to port 80, chrome on chromeos will not be able to access it. There are two countermeasures. 1. Install a browser on Linux. 2. Change port of Linux app. For example 8080. In the tutorial below I changed to 8080 port. Install XAMPP on Chromebook Linux th-cam.com/video/VIWq17-0bAI/w-d-xo.html
HELLO, sorry but I don't understand at 6:50 Pattern E486 not found < and "/var/www/html/phpinfo.php" 0L, 0B appears on the bottom left and I can't write, sorry, could you help me?
The vi editor is in command mode immediately after startup, so you need to enter i to change to insert mode.
See below for how to use the vi editor.
Getting Started with Linux Commands 03. vi editor
th-cam.com/video/vc58PAMB1Wc/w-d-xo.html
please tell me how to run it on vs code please tell me ❤
hi when I write the URL in address bar which you did at 4:50 . when I wrote this xampp for Linux page opens and my url auto add dashboard at last . is it ok or not .the page you opened is not opening at mine.
I just tried it and got the same page as in the video. It's impossible for what you say to happen.
Awesome step-by-step! Much Appreciated!
Thank you for your comment.
Please comment if you have any other questions or requests.
In my samsung chromebook i cant find this file . There is no file in "linux files" directory. i have completley search my OS this file donot exist ( /var/www/html)
My php and apache works properly as you shown in video.
kindly guide me about that
Execute the following command to find your DocumentRoot.
sudo grep DocumentRoot /etc/apache2/*/*
sudo find / -name index.html -print
Below is the execution result on my Chromebook.
$ sudo grep DocumentRoot /etc/apache2/*/*
/etc/apache2/sites-available/000-default.conf: DocumentRoot /var/www/html
/etc/apache2/sites-available/default-ssl.conf: DocumentRoot /var/www/html
/etc/apache2/sites-enabled/000-default.conf: DocumentRoot /var/www/html
$ sudo find / -name index.html -print
find: ‘/proc/tty/driver’: Permission denied
/var/www/html/index.html
find: ‘/opt/google/cros-containers/lost+found’: Permission denied
Omitted below
when we add port 8080 after when we type wq nothing is changing so what i ahve to do
Please let me know the result of executing the following command.
ps -efl | grep apache2 | grep -v grep
ss -atn
Please refer to the image below.
drive.google.com/file/d/1-4YEoFgWTtGb54smXn36hFevkjQSx3LO/view?usp=sharing
hi,
kindly guide me i cant understand at 3:33
I exited vi editor by the following operation at 3:33.
:wq
This site can’t provide a secure connectionlocalhost sent an invalid response. im getting this error on chromebook when running localhost
I think you are accessing with the following URL.
localhost:8080
Please change https to http.
localhost:8080
can you please tell me I have done the process but how can we run php in vs code with local host please answer
I'll consider it, but don't get your hopes up too much.
@@norysoft ok thanks
i dont understand at 6:50. E486 pattern not found
The details of the key operation are as follows.
6:20 sudo vi /var/www/html/phpinfo.php
6:45 i
6:46
7:06 :wq
and also one more problem my apache2 is not restarting it showing some process error and it says that for more details type .....
I just tried it and apache2 restarted successfully. If you want to be supported please let me know the exact error message.
@@norysoft sorry for late comment I was busy so this is the exact error " Restarting apache2 (via systemctl): apache2.serviceJob for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xeu apache2.service" for details.
failed! "
@@cricket-covering You may not be using sudo, see the image below.
drive.google.com/file/d/1iZicfNj4aqdwqN6m-u0g9F2EEofI2c8M/view?usp=drive_link
@@norysoft yes i tried again and it works thanks a lot❣
@@norysoft but one more question how can we run it on visual studio
when i do sudo /etc/init.d/apache2 restart, i get this:
Restarting apache2 (via systemctl): apache2.serviceJob for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
failed!
what do i do?
I think it's caused by a syntax error in /etc/apache2/apache2.conf or /etc/apache2/ports.conf.
You can check it with the following command.
sudo apachectl configtest
@@norysoft it says:
AH00526: Syntax error on line 16 of /etc/apache2/ports.conf:
Invalid command ':wq', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.
I think you should just remove line 16.
Thanks for the tutorial. Everything worked until the end. I keep getting a blank screen at the local host http (not using https). it say "this site can't be reached. localhost refused to connect"
Please let me know the result of executing the following command.
ps -efl | grep apache2 | grep -v grep
The attached image is the result of my execution.
drive.google.com/file/d/1SGfmPYE_JWnJm-neS0Wnnm5MsoPeq7HL/view?usp=share_link
@@norysoft thanks so much for responding and assisting. Here is the result of my execution docs.google.com/document/d/1eAjXfUVmTngFklSqlRp1mlGvw2o1pkSJ-NmXJ-xchYg/edit?usp=sharing
@@adolaizeadmin Please refer to the images below and check /etc/apache2/ports.conf, restart and URL.
drive.google.com/file/d/1kbHMXNuyTQ59ETbcOf-QjqqLP2EPGwB4/view?usp=share_link
drive.google.com/file/d/181Kc6ozwn56IqL95PHMMSVPw6-7PDUuu/view?usp=share_link
@@norysoft I kept getting a "failure" when I tried that. Thanks again for responding and trying to help. I've removed Linux, rebooted my Chromebook, and followed the steps in this video MULTIPLE times, but it's always at the end, I still have a blank white screen. Not sure what I'm missing...
I'm actually trying to install Wordpress and landed on this video because two of your other videos seemed to suggest I needed to do this step first. I've learned a great deal from you already, so sincerely, thank you!
why is it difficult to exit without messing up the data
I don't understand your question.
Please tell me more.
kindly tell me how to save file in linux and where we write php code (in simple notepad or in linux).
Thank you for your comment.
Please comment if you have any other questions or requests.
Please place the php file below.
/var/www/html
Please refer to the following for how to install Visual Studio Code.
th-cam.com/video/47riOFT3mqI/w-d-xo.html
Please refer to the following for how to use vi editor.
th-cam.com/video/vc58PAMB1Wc/w-d-xo.html
Deffo Works :) Thank you. Just so use know it works on the Chromebook OS :)
Thank you for your comment.
Please comment if you have any other questions or requests.
after :wq nothing ist happening. What must i dowe?
Please press the enter key.
See below for how to use vi.
Getting Started with Linux Commands 03. vi editor
th-cam.com/video/vc58PAMB1Wc/w-d-xo.html
i don't understand that step : 11:32
You can enter :$ in VI to move to the end.
thanks for the vid ! Question tho do you know how to program telegram bot with php files willing to pay if you can help me!
Thank you for your comment.
Sorry, I don't know how to make a telegram bot.
I will learn about it.
I made a new video.
"Create a Telegram Bot and operate it from PHP"
th-cam.com/video/XZ-VdOHp58s/w-d-xo.html
I've done like the video you made but how to install the app?
If you want a sample app, I recommend the video below.
Install MariaDB(MySQL) on Chromebook Linux and operate from PHP
th-cam.com/video/C8JCHAD6Rq4/w-d-xo.html
@@norysoft I'm confused at 12:43 I can't run it or enter
I don't understand the 3:26
Thank you for your comment.
At 3:26, I pressed the ESC button to change vi from EDIT mode to COMMAND mode.
See my video "Getting Started with Linux Commands 03. vi editor" for how to use vi.
6:26 how to create a php file
You don't want to use the vi editor, do you?
You can use vscode.
Install Visual Studio Code on Linux on your Chromebook
th-cam.com/video/47riOFT3mqI/w-d-xo.html
Muito Obrigado, passo a passo de verdade.
Thank you for your comment.
Please comment if you have any other questions or requests.
---
Obrigado pelo seu comentário.
Por favor, comente se você tiver quaisquer outras perguntas ou pedidos.
@@norysoft I thought you wouldn't see the message. can you take a doubt? I have javascript projects and I want to open them on localhost, just like I do on windows using xampp.. the installation was successful, but I can't access localhost or the folder that would be "Htdocs". If you can help I would really appreciate it.
@@G.aroucas If your Linux app is listening to port 80, chrome on chromeos will not be able to access it. There are two countermeasures.
1. Install a browser on Linux.
2. Change port of Linux app. For example 8080.
In the tutorial below I changed to 8080 port.
Install XAMPP on Chromebook Linux
th-cam.com/video/VIWq17-0bAI/w-d-xo.html
Love it. Thank you.
Thank you for your comment.
Please comment if you have any other questions or requests.