Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть Ubuntu: How to save php file in /opt/lampp/htdocs without going to terminal? (4 solutions!)

  • Роэль Ван де Паар (Техническая помощь Роэля)
  • 2019-06-21
  • 677
Ubuntu: How to save php file in /opt/lampp/htdocs without going to terminal? (4 solutions!)
xamppproblemsolutionsolutionsUbuntu
  • ok logo

Скачать Ubuntu: How to save php file in /opt/lampp/htdocs without going to terminal? (4 solutions!) бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно Ubuntu: How to save php file in /opt/lampp/htdocs without going to terminal? (4 solutions!) или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

  • Информация по загрузке:

Cкачать музыку Ubuntu: How to save php file in /opt/lampp/htdocs without going to terminal? (4 solutions!) бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео Ubuntu: How to save php file in /opt/lampp/htdocs without going to terminal? (4 solutions!)

Ubuntu: How to save php file in /opt/lampp/htdocs without going to terminal and type sudo gedit?


The Question: I am very new to Ubuntu and I still don't understand a lot of basic concepts so
please bear with me.
I successfully installed XAMPP 1.7.4 in my ubuntu 11.04. The XAMPP is installed
in /opt/lampp. I know how to write php file in /opt/lampp/htdocs using the bash
terminal command sudo gedit /opt/lampp/htdocs/myphpfile.php but what if I
already have an existing php file inside a folder? Of course I don't want to
write it again using sudo command. All I want to do is copy that folder that
contains the php files inside htdocs like I always do in Windows WAMP. Is there
a command in which I could set the /opt folder to writeable? Please help me.

Solutions Sample (Please watch the whole video to see all solutions, in order of how many people found them helpful):

== This solution helped 1 person ==
Linux has tighter permission system, /opt folder is really an admin only area,
and that's why it asked you password all the time. where windows just "assume"
you are admin
To copy paste without sudo, you will need to use the chmod to change the
permission.
I would recommend you type man chmod to read the manual there. try avoid 777.
Beside You better make regular backup as there is no "re-cycle bin" in Linux.
if you somehow overwrite a critical file with empty one, it's most likely gone
forever.

== This solution helped 2 people ==
You can also use open nautilus (file browser) as root and type
gksudo nautilus /opt/lampp/htdocs
This will open your file explorer. You can then go to the folder you want to
copy the php files from and paste it into the htdocs folder.
Hope this helps! :)

== This solution helped 9 people ==
You could always open up the file-browser (nautilus) as Arvind said by gksudo
nautilus /opt/lampp/htdocs
To expand on Will's answer (you can chmod)
This will change the ownership of the /opt/lampp/htdocs/ to you:
sudo chown username:groupname /opt/lampp/htdocs
Example : (My username is nits and my group name is also nits)
sudo chown nits:nits /opt/lampp htdocs
This will change the folder's permissions to be read, write and executed by you
ONLY:
sudo chmod 700 /opt/lampp/htdocs

With thanks & praise to God! With thanks to the many people who have made this project possible! | Content (except music & images) licensed under cc by-sa 3.0 | Music: https://www.bensound.com/royalty-free... | Images: https://stocksnap.io/license & others | With thanks to user Will (https://askubuntu.com/users/22643), user Nitin Venkatesh (https://askubuntu.com/users/18887), user Moron (https://askubuntu.com/users/22572), user john (https://askubuntu.com/users/205366), user Dhivahar (https://askubuntu.com/users/394123), user Arvind Sridharan (https://askubuntu.com/users/22589), and the Stack Exchange Network (http://askubuntu.com/questions/55312). Trademarks are property of their respective owners. Disclaimer: All information is provided "AS IS" without warranty of any kind. You are responsible for your own actions. Please contact me if anything looks amiss at Roel D.OT VandePaar A.T gmail.com.

Комментарии

Информация по комментариям в разработке

Похожие видео

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей [email protected]