Apps :: Creating a folder in /Opt



Hello everyone.

I'm totaly new first time linux users. I've install LAMPP but cannot create a folder in /opt/LAMPP/htdocs/

It says Permission Denied but when i click on persmission and set them it says chmod: /opt/LAMPP/htdocs :operation not permitted


I'm also having problems installing most software. does anyone have a guide of the different ways to install because
tar xvfz (filename) -C /opt

doesn't work.

Thanks and sorry if i didn't make any sense. I'd be very greatful if i recieved very simple (detailed) answers

I'm looking forward to using linux

-Johnny

If you don't have permissions, then become God (alias root) with sudo su. There you are Bruce All Mighty.

Install with
Quote
mydsl-load extension4.dsl
It recognizes the format (dsl/tar.gz/uci/unc) and invokes the correct code. But if you want to go manual with .dsl's and .tar.gz's, the syntax would be
tar -C /opt -xvzf (filename)
    -C first     and nothing after f

Keep in mind that if your mydsl package is unc or uci, you will not be able to write to the program directory no matter who you are or what kind of deity you know. These packages are mounted iso files and therefore the filesystem itself is read-only.

In the great wide unix world, tar.gz is used as a filename extension for any gzipped tar file. However, if it is a mydsl package, DSL handles it like any other mydsl, as curaga said, and it can actually be a bad idea to extract it manually.
Note that most tar.gz programs that aren't obtained through mydsl are source code packages, which are not very useful to a typical user running DSL without gcc/make

Quote (mikshaw @ April 09 2007,10:46)
Keep in mind that if your mydsl package is unc or uci, you will not be able to write to the program directory no matter who you are or what kind of deity you know. These packages are mounted iso files and therefore the filesystem itself is read-only.

In the great wide unix world, tar.gz is used as a filename extension for any gzipped tar file. However, if it is a mydsl package, DSL handles it like any other mydsl, as curaga said, and it can actually be a bad idea to extract it manually.
Note that most tar.gz programs that aren't obtained through mydsl are source code packages, which are not very useful to a typical user running DSL without gcc/make

How do i know if it is unc or uci? I'm not trying to create a folder in Aterminal i', trying to created a folder in Emelfm i don't know how to create a folder using ATerminal,

I've tried to use that code to install a package but also it never worked o i'm gussin it unc or uci wht i mean using then?

BTW the main reason i want to create a folder their is so i can store files so it would have to be a permament way of ensuring icould place files in their and not having to type sudo all the time  :(

Sorry, i hope someone can provide more light.

Like i said i'm totaly new to linux

(i did install LAMPP okay though?)

Could someone please help? I'm still not getting the answer i want, basicaly i want t get admin access al the time so i can create files in restricted areas such as /opt/LAMPP

without typing sudo su

so i can create files from Emlfe and not having to create files in the home direcary or Using the ATermial.

Next Page...
original here.