How to install and run (setup) reddit.com on windows environment? - windows

Reddit.com is providing their code as open source and free.
I want to setup the reddit.com website at my local machine in Windows Environment.
Could anybody please help me or guide me to the best approach.
Also, i have apache (WAMP) installed in my machine.
Kindly somebody help, I have searched everywhere but unable to find the way to setup it in my local environment.

From Reddit blog it is built and runs upon:
Debian, lighttpd, PostgreSQL, Python ...
None of them is an acronym of WAMP.
A good place to start would be:
http://code.reddit.com/
I recommend setting up a Virtual Box with Debian linux and work within it.

Related

Apache install on Windows, cannot find installer

I'm trying for a couple of hours to find a MSI or EXE install package for Apache in Windows, and simply could not find it anywhere. All i get is a zip file with the directory structure, but when i extract it obviously the service is not installed / configured.
Can someone please point me to a place where i can find a MSI installer pro Win 2008 / 64bit ?
Thanks in advance.
This is why there are several packages including WAMP, XAMPP etc because it must be compiled and Apache will not provide binaries.
The Apache HTTP Server Project itself does not provide binary releases
of software, only source code.
A quick search would reveal some sources where you can download load them. I suggest to go with one of these to make maintaining it easier for yourself.
http://httpd.apache.org/docs/current/platform/windows.html#down
Here are some suggestions as noted in the docs.
ApacheHaus
Apache Lounge
BitNami WAMP Stack
WampServer
XAMPP
Edit:
I do not know specifically where you can get 2.4 msi and there may not be but 2.2 is still available if you have to have an installer. Which is still the most used version. Which is what I run on all my servers. Get 2.2.25
https://archive.apache.org/dist/httpd/binaries/win32/
If you want 2.4 for windows which is NEWER that is the correct package from Apache Lounge you don't need an installer. The package give you the exact layout for the web sever. You're looking for a pretty little msi that goes through a wizard like WAMP, you're not going to find that. Installing from that zip you downloaded is easy and only takes like 5 minutes to setup. You can also put httpd.exe in the windows startup to so that it starts when it boots. Watch this video, it walks your through setting 2.4 up.
http://www.lynda.com/Apache-HTTP-Server-tutorials/Installing-Apache-HTTP-Server-24-Windows-New/77958/150487-4.html

Clarity on Vagrant usage and provisioning tool

Ok, so I'm a bit late jumping onto the Vagrant band-wagon, but figured it's about time I did.
Brief background: I've been a freelance developer for quite some time now developing solutions based on Magento and Drupal, and have finally gathered enough demand to warrant the need to build up a team. Previously, whenever I started development on any new project, I use to clone a preconfigured base VM in Virtualbox, and use that. Of course there were still configurations to do on it until I could start with actual development. Every project's web files therefore all resided inside /var/www/projectname on an Ubuntu VM.
Now I've read up on why I should be Vagrant, especially considering that I now have a team of 4 developers working with me, but I would appreciate any feedback on the following questions I have:
Moderator note: I know this isn't exactly asking a programming question, so please advise if this could be turned into a wiki, as I'm sure that feedback into this will help someone just like me.
I am still reading through the Vagrant docs, so please be kind...noob questions ahead!
I now work on a Mac. Does it matter if I use Parallels, and another developer uses VirtualBox on Windows if we need to share or collaborate on projects?
When I issue the command, vagrant up for an existing project, will it start the VM up as I would in VirtualBox or will it recreate the VM?
Is the command vagrant halt the same issuing sudo poweroff in Ubuntu, for example?
I currently use PhpStorm and its SFTP feature for project files synchronization with the option to exclude certain files on the remote server (VM) from being imported and sync'ed...will I be able to specify the same using Vagrant folder sharing?
Could I easily zip or archive a Vagrant VM, move it to a file server, and then "re-import" when and if needed? (example bug fixes, or new feature enhancements)
What do we use to easily provision VMs for common projects? Should we being using Puppet, Chef, Puphpet or Salt? I've seen that Puphpet provides a nice GUI to create a vagrantfile which I'm sure once generated, we could customize for future projects. At a very basic level, we need to ensure that certain applications are installed onto the server (zip, phpmyadmin, OpenSSL, etc.), certain PHP settings, PHP and PEAR modules, and Apache settings. I already have base VMs set up as I'd like them for both Magento projects as well as Drupal projects.
EDIT: I should also add that I use to enable Host Adapter in VirtualBox (on Windows), configure the VHost inside Ubuntu, and then update my host machine's hosts file with something like 192.168.56.3 drupalsite1.dev. So I'm unsure if Port Forwarding would be better to use? I'm not very clued up on that I must admit.
Like i said - noob questions! However, I would really appreciate any feedback on these questions. My deepest thanks!
Most of what you are asking is subjective so common sense and experience are the best tools.
I recommend all team members use the same provider (parallels isn't officially supported) and virtualbox is readily available. The base boxes, by provider, could have slight variances, you never know.
Vagrant will start the vm similarly but vagrant also does other things like configuration the network, hostname, shared folders, etc. Not quite the same. The big power lies in the capability to be able to teardown the environment and bring it back in a cleanly provisioned state.
Basically, yes.
Yes, your vagrant VMs are just like your own mini cloud. You would interact the servers similar to the way you'd interact with external boxes.
Yes, the simple answer is that it's called packaging and you can share the resultant .box. However, it's good practice to keep the base box and provisioning scripts under CM so you can rebuild and modify as needed.
For provisioners, I think it is dependent upon your experience and your familiarity with the provisioner language and how much you want to invest in learning them. Look through the provisioner support and see what fits your need and budget. Chef has a very steep learning curve, in my experience, but also has a lot of thought built in. Most provisioners have wide libraries of available installation "scripts".
The host adapter can be handled identically in vagrant.
Learn by doing, I recommend going down the table of contents (navbar) of the vagrant docs and trying each step where it makes sense. Then make your decisions.
That is my 2 cents. Hope this helps!

Using Chef Solo to provision a Windows EC2 instance and bootstrap it

I'm trying to automate our CI process for a couple of .NET apps, and in a perfect world I'd like to spin up a Windows EC2 instance for each, bootstrap the instance to install Chef Solo and then execute a Chef recipe to install some dependencies and the packaged software itself.
However - I'm a novice and have no idea even if that is feasible let alone where to start :)
I'm fairly well versed with the command line tools for AWS so can spin up an AMI ok, but beyond that point I'm pretty stuck. I would like to avoid building a custom AMI with chef pre-installed as that takes a lot of the advantages away.
I think this is essentially what I need to do - but is (unsurprisingly) focused on Linux:
http://www.opinionatedprogrammer.com/2011/06/chef-solo-tutorial-managing-a-single-server-with-chef/
Does anyone have a link to someone who has done this or similar before? Or a better way of achieving what I'd like to do?
Any help appreciated.
Okay, this requires that you have Chef preinstalled on your AMI:
http://scottwb.com/blog/2012/12/13/provision-and-bootstrap-windows-ec2-instances-with-chef/
But this is a strategy for installing Puppet to a stock Windows AMI, which could easily be modified for Chef:
http://dansrandombits.blogspot.com/2012/06/bootstrapping-custom-windows-ec2.html
I can't say I've done this yet, but I've both in my bookmarks bar since they was posted and have been planning on giving it a shot in at least our dev environment at some point. It seems like as long as there's a solid silent install for Chef, you could pull this off.
I realize this post is a bit old, but for those that still may come across this. I'm provisioning servers using Chef-Solo. Essentially I configure the User-Data of the instance to download and install Chef, download the cookbooks/recipes, and then launch Chef-Solo.
Here's a blog post I've made to demonstrate the steps: http://thesysadminswatercooler.blogspot.com/2015/11/aws-bootstrap-windows-ec2-instance-with.html

Trying to create dev with SPEasySetUp and VMWare

I am trying to create a dev box for SharePoint 2010 Server utilizing the following:
http://blogs.msdn.com/b/cjohnson/archive/2010/10/28/announcing-sharepoint-easy-setup-for-developers.aspx
So first of all this is new to me. I understand that these are instructions are for dual boot in Windows Native, but I am more interested in using a VHD/image of the OS to run on VMWare.
I have tried creating an image of a running virtual machine with sysprep tool, but hit a dead end with capturing the image to a file that I can reference within the running machine to run the scripts against.
I took a look at Diskpart on TechNet, but as I am new to this, I am not sure this is what I want to do?
I tried installing to the local host (virtual machine that is running) and am getting an error there also; fails at Windows Identity Framework.
It is a clean install of Windows 7 (literally nothing else), and the UAC has been disabled.
Is there any insite, help, or advice anyone can provide me regarding this? I would really appreciate it as I have to get working on the development aspects of SP (workflows, web parts,etc), and need a dev env, and I can't seem to get anywhere with this.
Thanks
Justin

Joomla FTP problem!

Good evening everyone, I been workin' on Ubuntu server, and I work from a remote pc that uses Windows XP Pro and ubuntu 9.10 too...ok the thing is...I installed joomla 1.5 last version on the ubuntu server from my pc and everything was good until I had to fill the ftp information, never found the connection path so I installed without it...now I have my joomla but I want to install some extensions and here's the problem, with the FTP Filezilla runin' on windows I connect perfectly with the server as with SSH in Ubuntu, but when I try to fill the FTP information on joomla, it doesnt recognizes the path, any idea about it?...
If it's 1.5, you really don't need the FTP in the Joomla configuration set.
Try this: disable FTP in Joomla. (Global Configuration / Server)
Then try to install a component / module / plugin / whatever.
It's a bit counterintuitive, but will most likely work - or at least it does in my experience. Joomla's file system can manage files for you... it's that whole content management system thing.
If you're dead set on enabling FTP, then check the Global Configuration, and see what the :Path to Temp-folder: is set to. In 1and1's case, it'll be something like:
/homepages/26/d264424517/htdocs/english/tmp
Strip the 'tmp' and you'll see where '/english' would be the root path for the FTP setting, but again you most likely don't need it.
Please read the FTP Layer hints on the Joomla! forum. The info here had helped me resolved similar problems in the past.

Resources