Crear un directorio virtual en ubuntu utilizando apache
En 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.
$ sudo apt-get install tasksel $ 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:
$ sudo usermod -a -G www-data usuario $ sudo chgrp -R www-data /home/usuario/web $ 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:
Alias /virtual /home/usuario/web <Directory /home/usuario/web> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </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
ZenzethGluri (no verificado)
Lun, 26/11/2018 - 01:04
Enlace permanente
Order cheaply sldnfl no remedy
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
Ronazdsisee (no verificado)
Mar, 27/11/2018 - 14:01
Enlace permanente
Tidiness stingy sldnfl no instruction
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
GeorzeAlapy (no verificado)
Jue, 29/11/2018 - 03:03
Enlace permanente
A note notepaper in attempt writing usage
article review
[url=http://writemyessayassistant.com]essay helper
[/url] umi thesis
online essay editor
- paraphrasing paragraphs
who can write my research paper
rvysnj (no verificado)
Vie, 30/11/2018 - 13:08
Enlace permanente
bfnczmi
how to order cheap viagra
canadian pharmacy brand viagra
Allazanife (no verificado)
Vie, 30/11/2018 - 20:03
Enlace permanente
A note notepaper in thesis writing use
writing a doctoral dissertation
http://essayfasthelp.com - essay writing service
custom essay uk
cheap essay writing service
- write my essay
phd dissertation writing
MazioTal (no verificado)
Vie, 30/11/2018 - 20:40
Enlace permanente
A note paper in thesis script service
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
BrettNus (no verificado)
Sáb, 01/12/2018 - 02:45
Enlace permanente
z06mdsz3
generic sildenafil citrate 100mg
jyqzow (no verificado)
Dom, 02/12/2018 - 22:21
Enlace permanente
wtnaxy
cialis generico online sicuro http://canadian-pharmacyca.com
cialis free trial
johpr (no verificado)
Mié, 05/12/2018 - 07:13
Enlace permanente
nfvzynbhd
http://ctendodontists.org/UserProfile/tabid/84/userId/643055/Default.aspx
http://www.sydneycityairportshuttle.com/UserProfile/tabid/695/UserID/293...
ipgmt (no verificado)
Mié, 05/12/2018 - 10:53
Enlace permanente
lvaglmxyt
http://test.alldaycarservice.com/component/k2/itemlist/user/172778
http://houseyourpony.com/component/k2/itemlist/user/549399
qqknzx (no verificado)
Mié, 05/12/2018 - 13:06
Enlace permanente
gnsxbwaowt
http://tobiaextreme.com/component/k2/itemlist/user/536313
http://zeitstationen-mannheim.de/index.php/component/k2/itemlist/user/16...
oavhv (no verificado)
Mié, 05/12/2018 - 15:09
Enlace permanente
qpsisdixk
http://www.research.pmcg-i.com/index.php?option=com_k2&view=itemlist&tas...
http://emeraldjms.com/component/k2/itemlist/user/737017
ehdws (no verificado)
Jue, 06/12/2018 - 00:21
Enlace permanente
oawjmfeng
http://agapelove.jgospel.net/UserProfile/tabid/1241/UserID/271584/Defaul...
http://www.northside-club.at/index.php?option=com_k2&view=itemlist&task=...
Archienilla (no verificado)
Jue, 06/12/2018 - 00:45
Enlace permanente
prettywittythings.com
prettywittythings.com
tttys (no verificado)
Jue, 06/12/2018 - 01:29
Enlace permanente
igupyvrvf
http://mke.uoi.gr/index.php?option=com_k2&view=itemlist&task=user&id=93976
http://www.ferromar.com.br/component/k2/itemlist/user/385720
fzfuc (no verificado)
Jue, 06/12/2018 - 03:17
Enlace permanente
eltuvigqx
http://www.viox-dialog.de/index.php/component/k2/itemlist/user/492248
http://geveen.com/index.php/component/k2/itemlist/user/877905
fjeip (no verificado)
Jue, 06/12/2018 - 06:18
Enlace permanente
wrmpqgzbl
http://simplyposhmarketing.com/index.php?option=com_k2&view=itemlist&tas...
http://www.aluminek.com.br/index.php/component/k2/itemlist/user/737210
junma (no verificado)
Jue, 06/12/2018 - 09:04
Enlace permanente
jdrijpltx
http://mysmarterhome.ca/UserProfile/tabid/42/UserID/32646/Default.aspx
http://simplyposhmarketing.com/index.php?option=com_k2&view=itemlist&tas...
akhtno (no verificado)
Jue, 06/12/2018 - 14:06
Enlace permanente
ragkfohgyy
http://www.lwanda-co.com/index.php?option=com_k2&view=itemlist&task=user...
http://getaelektrik.com/index.php?option=com_k2&view=itemlist&task=user&...
jvoon (no verificado)
Jue, 06/12/2018 - 15:33
Enlace permanente
fayszmdtq
http://sofian.pl/UserProfile/tabid/61/UserID/85701/Default.aspx
http://nplanitis.com/component/k2/itemlist/user/925653
izzlnu (no verificado)
Jue, 06/12/2018 - 18:22
Enlace permanente
eosxxppqhu
http://aes.jcweb.us/index.php?option=com_k2&view=itemlist&task=user&id=7...
http://www.liquidbovinecartilage.com.au/index.php?option=com_k2&view=ite...
tseuk (no verificado)
Jue, 06/12/2018 - 18:38
Enlace permanente
luyyohklt
http://www.subzerotyler.com/UserProfile/tabid/61/UserID/54628/Default.aspx
http://www.noorification.com/component/k2/itemlist/user/927971
krkzfr (no verificado)
Vie, 07/12/2018 - 03:31
Enlace permanente
gwwndiovcr
http://www.liquidbovinecartilage.com.au/index.php?option=com_k2&view=ite...
http://highlyuniqueradioonline.com/index.php?option=com_k2&view=itemlist...
eqjtyo (no verificado)
Vie, 07/12/2018 - 08:11
Enlace permanente
qjviuylfmp
http://www.ng-i.ru/component/k2/itemlist/user/25081
http://zakolka.kiev.ua/component/k2/itemlist/user/63237
mbfom (no verificado)
Vie, 07/12/2018 - 10:32
Enlace permanente
jexzhhszq
http://emeraldjms.com/component/k2/itemlist/user/741225
http://guasque.com/index.php/component/k2/itemlist/user/56838
tvczb (no verificado)
Vie, 07/12/2018 - 11:23
Enlace permanente
rktpssori
http://fescsaprauction.info/UserProfile/tabid/57/UserID/534054/Default.aspx
http://hoccchipchip.com/index.php/component/k2/itemlist/user/2089150
mpcarf (no verificado)
Vie, 07/12/2018 - 11:55
Enlace permanente
zkiukyrwzm
http://rolamentosrs.com.br/index.php?option=com_k2&view=itemlist&task=us...
http://quickemblems.com/index.php?option=com_k2&view=itemlist&task=user&...
qqnyj (no verificado)
Sáb, 08/12/2018 - 19:22
Enlace permanente
xjwpseaas
http://santorini.odessa.ua/component/k2/itemlist/user/771058
http://www.maxwill.com.sg/UserProfile/tabid/42/UserID/17232/Default.aspx
fcpun (no verificado)
Dom, 09/12/2018 - 21:07
Enlace permanente
wvllzrkpn
http://endustrirulman.com/index.php?option=com_k2&view=itemlist&task=use...
http://www.lwanda-co.com/index.php?option=com_k2&view=itemlist&task=user...
MichaelHesia (no verificado)
Lun, 10/12/2018 - 00:22
Enlace permanente
pharmacy coupon 229 mg
Hello there! online pharmacy very good web site http://onlinepharmaciescanadarx.com
zuycs (no verificado)
Lun, 10/12/2018 - 01:55
Enlace permanente
ojfdfsyap
http://houseyourpony.com/component/k2/itemlist/user/555121
http://www.centrodeterapias.cl/index.php?option=com_k2&view=itemlist&tas...
Jamessit (no verificado)
Mar, 11/12/2018 - 19:21
Enlace permanente
medicus group buy cialis 233 mg
Hello there! buy original cialis online good web page http://cialissmx.com
WoodrowGak (no verificado)
Mié, 12/12/2018 - 02:52
Enlace permanente
can i buy zovirax over the counter in canada 107 mg
Hello there! purchase acyclovir cream online excellent web site http://zovirax-acyclovir.com
AlvinbOymn (no verificado)
Mié, 12/12/2018 - 05:50
Enlace permanente
freemaledatingsites.us.com
freemaledatingsites.us.com
PhilipSmado (no verificado)
Mié, 12/12/2018 - 20:31
Enlace permanente
Watch Aquaman 2018 Online For Free Good Quality
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. ”
Ernestacade (no verificado)
Jue, 13/12/2018 - 01:15
Enlace permanente
best online pharmacy viagra 183 mg
Hello! viagra from a pharmacy in canada very good internet site http://canadianonlinepharmacyhq.com
Ernestacade (no verificado)
Jue, 13/12/2018 - 03:36
Enlace permanente
online canadian pharmacy 130 mg
Hello there! canada pharmacy generic viagra no prescription good site http://canadianonlinepharmacyhq.com
Ernestacade (no verificado)
Jue, 13/12/2018 - 06:53
Enlace permanente
erectile disfunction drugs without a perscription 201 mg
Hello! prescription drugs without prescription excellent web page http://canadianonlinepharmacyhq.com
Ernestacade (no verificado)
Jue, 13/12/2018 - 16:49
Enlace permanente
canada drugs with out prescriptions 262 mg
Howdy! canadian pharmacy for viagra beneficial web page http://canadianonlinepharmacyhq.com
Stewartlam (no verificado)
Jue, 13/12/2018 - 17:56
Enlace permanente
cmy6tpv9
PROPECIA gout colchicine buy vermox hydrochlorothiazide buy propecia mobic 15 mg cheap allopurinol albendazole kamagra
AlvinbOymn (no verificado)
Jue, 13/12/2018 - 21:02
Enlace permanente
bestwebcam.us.com|bestwebcam
bestwebcam.us.com|bestwebcam
AlvinbOymn (no verificado)
Vie, 14/12/2018 - 02:59
Enlace permanente
datingonline.us.com
datingonline.us.com
CharlesSat (no verificado)
Vie, 14/12/2018 - 08:02
Enlace permanente
health first rx pharmacyfor cialis capsules 288 mg
Hi there! canadian drugs phiser viagra good site http://canadianonlinepharmacyhq.com
CharlesSat (no verificado)
Vie, 14/12/2018 - 11:20
Enlace permanente
pharmacy tech online program 310 mg
Hello! canadian pharmacy viagara excellent internet site http://canadianonlinepharmacyhq.com
Ashleygag (no verificado)
Sáb, 15/12/2018 - 00:22
Enlace permanente
buy tadalafil 282 mg
Hello! buy cialis pills online buy finasteride liquid cialis does it work good web site
Ashleygag (no verificado)
Sáb, 15/12/2018 - 16:11
Enlace permanente
buy cialis pills online 207 mg
Hi! buy cialis uk buy propecia medication cialis toronto good website
AlvinbOymn (no verificado)
Sáb, 15/12/2018 - 19:20
Enlace permanente
paydayloansdirectlender.us
paydayloansdirectlender.us.com
Wesleychoxy (no verificado)
Dom, 16/12/2018 - 03:25
Enlace permanente
purchase tadalafil 382 mg
Hello! buy cialis uk buy propecia online without prescription walmart-pharmacy-cialis-price beneficial web page
Wesleychoxy (no verificado)
Dom, 16/12/2018 - 05:24
Enlace permanente
buy tadalafil pills 161 mg
Hi there! buy cialis cheap buy finasteride online american pharmacy cialis great web site
Antionerab (no verificado)
Dom, 16/12/2018 - 23:10
Enlace permanente
buy cialis medication 360 mg
Howdy! buy cialis with no prescription buy generic propecia obtaining cialis without prtescription very good web page
Páginas
Añadir nuevo comentario