How to setup a ubuntu server that can receive iOS ASIHTTPRequests - iphone

I have a ubuntu PC that I don't use for anything and I already know how to submit ASIHTTPRequests from an iPhone.
I would like to setup a very basic system where I can send an image from iPhone to my Ubuntu server and have my server just save that photo to a specific folder on my Ubuntu PC.
I have ZERO server knowledge but from what I have heard, this shouldn't be too terribly difficult to implement. Does anyone know of an easy way to do this? (Easy for someone with no server knowledge?)

Any web server will do. https://help.ubuntu.com/6.06/ubuntu/serverguide/C/httpd.html

Related

Setup a server on my laptop/desktop for app

I want to setup a server as a backend for my android/web app with mongodb(nosql) (Just like Firebase) on my own laptop/desktop with all the functionality and API.
I read something about creating a server with apache but not sure what to do.
And please tell if there is anything to do of parse server.
Can anyone suggest a video or give great description for this.
Parse Server needs NodeJS not Apache.
Make sure you have installed NodeJs and git to your computer first.
https://github.com/parse-community/parse-server-example Other steps are written in page. Follow the steps one by one

connecting Darwin Caldav to thunderbird calendar

I am a newbie to caldav and server setups and need some specific, detailed help from anyone who knows Darwin caldav.
I installed Darwin caldav server onto my iMac w/ Maverick. I have it up and running in the background. After some fiddling I connected iCal and my iphone to it and they are exchanging info regularly.
I am now trying to connect my Thunderbird calendar to it. When creating the connection, Thunderbird calls for Location. No matter what I enter (comp ip with portals, http foramt of same) Thunderbird won't connect.
I was able to connect through iCal, entering the computer's ip address, 192.168.1.19, but in Thunderbird this address doesn't work. I enter it as a web location, http://192.168.1.19, but still no connection.
Would someone explain how Darwin caldav is spoken to, connected to, what Thunderbird is looking for as far as location, and what I should be entering? As I said, I'm a newbie to this some I would appreciate some explanation of why I would enter things as given, not just what to enter.
Also, while installing Darwin caldav I read that once installed I would connect using a web browser. Is there a separate way to connect to D-caldav directly using some kind of built in gui, or was this just a reference to connecting to it as I am already doing, using a calendar and a web connection?
Thanks.
Thunderbird doesnt seem to support collection discovery (calendar-home), so it needs to be pointed directly to a calendar collection.
According to some other guidelines (e.g. here: http://sabre.io/dav/clients/thunderbird/ or http://oxpedia.org/wiki/index.php?title=SetUpThunderbirdLightningCalDAVClient you need to find out for your server the absolute url to an calendar instead pointing like other clients to the root folder of the server.
http(s)://[domain]/[pathtocalendarfolders]/[username]/[calendarname]/
Hope this helps a little bit.
Best Regards, Hilmar

What is the best operating system for home server?

Sorry for repeating this question, but wanted to get the latest/updated news in this issue. I am planning on running my own home server so that I can access my files and webpages over the internet. Then I got stuck on the basic problem, which operating system to use. The options that I have in mind are FreeBSD and Ubuntu Server. Both look the same to me as a beginner, but can you guys give me a deep view on what I should choose to run my server on (I am open to other suggestions as well)?
Thank you!
I will suggest you to go with the CentOS, You can easily install/upgrade any packages which you want on your server.

Is it a good idea to use WAMP server as a web server?

I have bought a VDS (Virtual Dedicated Server) that Windows Server 2008 is installed on it. I needed to use server because I have developed a C# console application that can read data by TCP socket and write them in the MySQL database.
Now I need to start a website on this server. I think WAMP server is so easy for me.
Maybe in future a lot of people visit my website.
Is it a good idea to use WAMP server as a web server?
In principal there is nothing wrong with using WAMPServer as a LIVE webserver.
However, not the out of the box version.
Out of the box WAMPServer and XAMPP for that matter expect to be used as a single seat developer tool and while that is great for a click and go solution to get a developer up and running on Apache/MySQL and PHP in a few minutes it is not secure enough to be considered as a LIVE web facing webserver.
Now if you have the knowledge and experience to create an user account on Windows Server that has access to only what Apache needs to do its work, and can get Apache to run in that account instead of its default account (which has way to many privilages for a live server) and are prepared to explore all the Apache security features/modules that would be required for a web facing server then it is possible. However this is not a trivial task, and any mistakes or ommissions will leave your server open to the simplest of hacks.
In short, unless you really know what you are doing with Windows Server and Apache, you would be far better to pay for a professionally configured and managed web server environment.

Downloading/Uploading a file from a sftp server on the iphone

I need to connect to a sftp/scp server download a file, edit it and then reupload it.
As far as i know the SKD itself doesn't give you the ability for secure connections via ftp.
Any Ideas?
There we go: http://www.chilkatsoft.com/ssh-sftp-objc.asp
Does everything and a bit more. It's commercial but it doesn't really matter in our case as developing our own libssl2 wrapper would take weeks and weeks.
https://github.com/karelia/libssh2_sftp-Cocoa-wrapper
I have not tried it (yet...), but it's from the same person who made ConnectionKit. It's SFTP (I'm not sure if they mean secure ftp or ssh file transfer protocol)