Crear un directorio virtual en ubuntu utilizando apache

Logotipo de ubuntuEn el siguiente artículo comentaremos como crear un directorio virtual en apache instalado en una distribución Ubuntu.

Instalación del servidor LAMP

Lo primero que ha sido necesario ha sido instalar un servidor HTTP en nuestra máquina. Para ello hemos instalado el lote completo, servidor web, servidor MySQL y PHP. Hemos seguido los pasos indicados en la propia página de Ubuntu, https://help.ubuntu.com/community/ApacheMySQLPHP que lo explica de forma muy sencilla. Basta con instalar tasksel y a continuación el servidor completo.

  1. $ sudo apt-get install tasksel
  2. $ sudo tasksel install lamp-server

Durante la instalación nos pedirá algunos parámetros como la contraseña de administración de MySQL, que simplemente tendremos que introducir.

Creación del directorio virtual

A continuación creamos el directorio donde queremos guardar los archivos y que utilizaremos dentro de apache. En nuestro caso lo hemos creado en una carpeta personal.

$ mkdir /home/usuario/web

Para que todo funcione correctamente hemos de añadir al usuario al grupo de aplicaciones apache (www-data). A continuación asignaremos este directorio al grupo y finalmente le otorgaremos los permisos correspondientes de forma recuersiva y que  todos los archivos que creemos en este directorio hereden estos permisos (esto lo conseguimos con el 2 indicado en los permisos). Eso lo realizamos de la siguiente forma:

  1. $ sudo usermod -a -G www-data usuario
  2. $ sudo chgrp -R www-data /home/usuario/web
  3. $ sudo chmod -R 2775 /home/usuario/web

Finalmente para poder realizar prácticas creamos un archivo index. Para hacerlo un poco más bonito he creado el siguiente:

$ echo '<?php phpinfo(); ?>' > index.php

Configuración apache

Finalmente lo que hacemos es configurar apache para que tenga en cuenta el directorio que hemos creado. Para ello modificaremos el archivo /etc/apache2/sites-enabled/000-default y añadiremos el siguiente párrafo:

  1. Alias /virtual /home/usuario/web
  2. <Directory /home/usuario/web>
  3. Options Indexes FollowSymLinks MultiViews
  4. AllowOverride None
  5. Order allow,deny
  6. allow from all
  7. </Directory>

Y reiniciamos el servidor apache

$ sudo service apache2 restart

Con esto ya tenemos el directorio virtual configuado y lo podemos comprobar con un navegador tecleando http://localhost/virtual. Nos mostrará la configuración del servidor por pantalla.

Esperemos que haya sido de utiliad.

Comentarios

aircraft cialis
http://viagra-genericx.us - viagra generic
cialis dosage 30 mg posts per day
viagra generic
- cialis no perscription
cialis 5mg canada you cannot reply to topics in this forum

genaric viagra
http://xlviagragtr.com - viagra generic viagra 20 mg cost topics
viagra generic - viagra for daily use side effects you may not post replies
viagra information blog not logged in

article review
[url=http://writemyessayassistant.com]essay helper
[/url] umi thesis
online essay editor
- paraphrasing paragraphs
who can write my research paper

writing a doctoral dissertation
http://essayfasthelp.com - essay writing service
custom essay uk
cheap essay writing service
- write my essay
phd dissertation writing

best site to buy a research paper
http://writemyessayassist.com - cheapest essay writing service
dissertation writing guide
cheapest essay writing service
- college writing services
help writing papers

prettywittythings.com

Hello there! online pharmacy very good web site http://onlinepharmaciescanadarx.com

Hello there! buy original cialis online good web page http://cialissmx.com

Hello there! purchase acyclovir cream online excellent web site http://zovirax-acyclovir.com

freemaledatingsites.us.com

https://123moviefull.com/aquamanfull/: Aquaman Full Movie: Almost everything We all Figured out from the ‘Aquaman’ Click Seminar, “Whoa! ” Jason Momoa’s heavy, rough speech announced after setting their eyes in the Dame Tussaud polish mannequin of themself at Aquaman Full Movie 123Movies push seminar in New York City. Abruptly, the 39-year-old acting professional has been just like a child in a candy store, gazing seriously in his or her amazingly accurate feel similarity along with the sort of sparkle within the sight reserved for children discovering the superhero regarding the first-time. Yet he has not the just one to have that will exact effect.

“My very first encounter wearing the match, it absolutely was truly beautiful and I have personally really in no way informed James Wan] this particular, ” Momoa mentioned. “I put it on, I didn’t have a very reflection, and I come out of wardrobe and I actually get to observe their face. He’s always very excited and reveals right away. https://filmhds.com/aquaman-fullmovie/ But the absolute pleasure — he would look like a kid — this individual beamed, ‘I achieved it. ’ Having been very very pleased, and he or she did not have to state anything at all, I can view it in the deal with. ”

For Momoa, overseer James Wan, and other cast members Amber Heard and Patrick Wilson, who else joined these from Aquaman Full Movie push junket on Saturday, December 1 in New York City, Aquaman is all about increasing that will childlike ponder of discovering a popular superhero become more active to a whole movie. With no, it’s not merely about feel mannequins — however eerily comparable they may be (“I can pin the consequence on anything that goes wrong into it! ” Momoa exclaimed). Momoa, Wan, Heard, and Wilson reviewed the individual and mythic elements that will gone in to Aquaman, and the very long road in order to bringing that in order to the silver screen.

Here are a few of the splashiest items all of us discovered the making of Aquaman 123Movies forward of the film’s discharge in December 21, 2018.

Jason Momoa Received Coming from His Own Life to try out Aquaman
He was given birth to in Beautiful hawaii and elevated in New jersey, Momoa knows something special in being split between 2 worlds. The half-Hawaiian, half-Caucasian acting professional might have been the bold casting option when it had been revealed that having been enjoying the normally blonde-haired, blue-eyed Aquaman 2018 within 2014, yet the casting couldn’t have been more ideal:

“The great now, is merely having the ability to connect with a person who is truly two various cultures. And each of these ethnicities don’t know about the additional one. Individuals in Beautiful hawaii definitely do not know everything with New jersey and Iowans absolutely are not aware of Beautiful hawaii to ensure that had been anything I can bring up. ”

https://fullmoviefree.net/aquaman2018/: The other factor that truly helped me away had been brought up by just one mother or father, ” Momoa additional. “I just had just me personally and our mom our expereince of living, ” relating their situation we were young in order to Arthur Curry and becoming raised by an individual father (played by Temuera Morrison). The two Momoa and Morrison tend to be of Hawaiian nice, which adds one more level of social specificity to be able to Momoa’s casting.

“Coming from the Polynesian islands there are so many h2o gods we have, and a lot folklore, and a great deal mythology about just how the of the islands came into being: Kanaloa, Tangaroa, and Maui, ” Momoa mentioned, including:

“With Aquaman 123Movies there are Poseidon-like figure] and I be able to enjoy that will, and honestly be the very first mixed-race superhero. Within 2018, it may be such as, “Really? Is there not only one? ” As well as honestly, that is a huge recognize. And to enjoy it truly near who also We are and all of his or her flaws. Really dont need to be Superman, do not assess me. I reach play this in such a way just where he has split among those two worlds. ”

Aquaman 123Movies Had Several of the Most difficult Tricks with regard to Each Actors and Stunt Clubs Tales of large-scale productions with regard to superhero films are usually anything we are accustomed to ability to hear, however Aquaman had been on one more stage, the stars referred to. “Just what size the scale of this particular movie had been, that needed so many clubs and members and folks, ” Heard referred to. “Sometimes we might take the lunch time tent and notice about increases of yourself. https://fullmoviehds.com/aquaman2018/ I did function my butt off…but Im thankful to be able to the stop team, We would not happen to be capable of take action without it. ”

However Wilson included that will even with regard to the stunt group, Aquaman was obviously a difficult film. Which can be expressing anything for a staff of professionals who else work on superhero videos for any residing.

Aquaman Full Movie: “We experienced stop men, expressing, ‘Wow, I have in no way been in several various sorts of division in a time. ’ And you also understand once your stop crew — that will by the method will superhero videos to get a existing — you realize while they are saying that, that you’re within uncharted lakes and rivers, eliminate the pun.

“I think i was almost all like this, ” Wilson included. “Jason’s carried out stunts their complete professional job and you understand —

“Hardest to date, ” Momoa interjected.

https://filmhds.com/Aquaman-full-movie/ “Hardest to date, for everything, ” Wilson carried on. “And Would also go a step further and state a minimum of in stunts, you are speaking about a matter of seconds doing a particular action fifty, 45 occasions. If you need to hang in numerous cables and as well as and products regarding minutes each time in order to speak and make it seem to be effortless, which weirdly required the toll even more so for me personally, since it had been just a constant condition of holding. ”

But also for Heard, filming Aquaman Full Movie had one or more benefits. “It has been the most covered up I have ever been inside a arranged, ” she raved, with reference to the woman body-covering vibrant green wetsuit. “He’s the one who is nude just about all the moment! ” the lady directed in order to Momoa. It’s correct — dangling on wires while shirtless is not comfy.

The majority of of the Marine Scenes Have been Chance “Dry for Wet”
You can not possess Aquaman without h2o — it is literally inside the subject. But that presented an original challenge regarding Wan, who to deal with the element that most filmmakers would certainly stay away from. https://fullmoviehds.com/aquamanfull/ “You read it almost all the time from filmmakers that make movies along with drinking water. It may be certainly not the the majority of pleasant thing, it may be unpleasant and it truly merely decelerates the filmmaking method, ” Wan mentioned. His or her remedy: shooting almost everything “dry regarding damp, ” which usually he discussed:

“The irony will be, any of the items that is in fact completely submerged underwater, that has been in fact photo ‘dry for wet. ’ That is actually what it feels like, to utilize the method ‘dry regarding wet’ where you take, as the famous actors have said, in these rigs that will simulate going swimming, flying and everything. However we all performed play with water as well. Really dont believe you can make an Aquaman Full Movie and not have anybody obtain damp. As well as once again the irony is, while we’re in fact above the water, whenever we will dried, that’s once i have to drench the actors without stopping. Whenever they’re really out of water, that’s whenever they’re dripping moist. But when they are under the sea the paradox will be folks in fact appear dried out and therefore honestly, that is why we all chance that without having drinking water. ”

But that doesn’t mean that Aquaman Online didn’t have huge, costly sequences which proved a problem with regard to the two cast and team. You have noticed it, or possibly meme’d that. It’s the splashy sub sequence. A fresh sequence that be expensive of blood, sweat, and cry, Wan stated:

“I would certainly say that the biggest drinking water arranged that people got inside the film had been the submarine series at the start of the film. Which was a huge setpiece that individuals constructed the boat more than a drinking water container that we immersed again, and once again, and again. Like those would play the scene, we would immerse that, and we would bring it out there of the drinking water fish tank. We may blow-dry that lower, and we might do take 2. It had been quite a laborious process, and it’s a little bit of a problem. ”

https://123moviehds.com/aquaman-full-movie/: The Bulk of the Film Has been Worn out Publish “I don’t think I have actually seen the film…where a lot is completed inside article, ” Wilson said. Momoa hasn’t actually seen the completed film however, which usually Wilson said generally been with us within Wan’s use the entirety of production. It took a little time for Wan and his or her editing team — including five-time collaborator Kirk Mirielle. Morri with Kelvin McIlwain and Winner Charles Gibson as general enhancements administrators — over a 12 months to complete post-production.

Wilson stated during filming, that a lot of of what the stars have got to see has been limited to concept skill:

Aquaman Full Movie: “You observe this all pre-vis and exactly what seems like a little computer game. And then you observe the a muslim. However truly it may be bushed that guy’s visit presently there, so actually that is what was incredible, is to notice just what he was carrying out with regard to the previous year. ”

“You actually view it with regard to the very first time, ” Heard added. That’s why Momoa has waited to look at Aquaman 2018 Full Movie for the first time:

“I’m holding out to find out this together with the kids. It is the first-time Ill be able to watch things with our children for the first-time. And Im going to be really mental and afflicted, and in order to keep their fingers — any 10-year-old and an 11-year-old boy — it is going to become a great instant. ”

Hello! viagra from a pharmacy in canada very good internet site http://canadianonlinepharmacyhq.com

Hello there! canada pharmacy generic viagra no prescription good site http://canadianonlinepharmacyhq.com

Hello! prescription drugs without prescription excellent web page http://canadianonlinepharmacyhq.com

Howdy! canadian pharmacy for viagra beneficial web page http://canadianonlinepharmacyhq.com

datingonline.us.com

Hello! canadian pharmacy viagara excellent internet site http://canadianonlinepharmacyhq.com

Hello! buy cialis pills online buy finasteride liquid cialis does it work good web site

Hi! buy cialis uk buy propecia medication cialis toronto good website

Hello! buy cialis uk buy propecia online without prescription walmart-pharmacy-cialis-price beneficial web page

Hi there! buy cialis cheap buy finasteride online american pharmacy cialis great web site

Howdy! buy cialis with no prescription buy generic propecia obtaining cialis without prtescription very good web page

Páginas

Añadir nuevo comentario

Filtered HTML

  • Las direcciones de las páginas web y las de correo se convierten en enlaces automáticamente.
  • Etiquetas HTML permitidas: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Saltos automáticos de líneas y de párrafos.

Plain text

  • No se permiten etiquetas HTML.
  • Las direcciones de las páginas web y las de correo se convierten en enlaces automáticamente.
  • Saltos automáticos de líneas y de párrafos.
CAPTCHA
Esta pregunta se realiza para comprobar que se trata de un humano y prevenir los accesos automatizados para publicar spam.