Daily Snippet

Install Mono 3.4.1 on Ubuntu Server 12.04 64bit

Right after this tutorial, I wanna try to install mono 3.4 that have .net 4.5 luxury on my Ubuntu Server.

1. Go to https://github.com/mono/mono, I try the c option. Building the software from Git.

2. Make sure you have git : sudo apt-get install git automake.

3. git clone git://github.com/mono/mono.git. Be passion, it takes long to download all mono source.

4. Go into mono directory: cd mono.

5. I have an error that I don’t have libtool package after running this  :

./autogen.sh –prefix=/usr/local

So, from this tutorial, I have to install it first :

apt-get install libtool automake autoconf autotools-dev

6. ./autogen.sh –prefix=/usr/local

7. make install

8. Check installed mono version : mono –version

Image

9. Done!. Deploy your .net 4.5 apps.

 

Advertisements
Standard
Daily Snippet

Install MonoDevelop 5.1 on fresh Ubuntu 14.04 LTS 64bit

I use davidloo tutorial and I wanna add some point from my experience.

1. sudo apt-get install git automake gnome-sharp2 mono-xsp4

2. git clone https://github.com/mono/monodevelop.git

3. cd monodevelop

4. ./configure –profile=stable

At this point I have error “No package ‘glade-sharp-2.0’ found.” and with ‘monodoc’ package.

The solution is to install that packages from synaptic. 

apt-get install synaptic

Check this on synaptic and click Apply :

Image

Image

 

And run configure again.

4. ./configure –profile=stable

5. sudo make install

And now you have MonoDevelop 5.1 and .net 4.5.

Image

 

Standard
Daily Snippet, Developer to developer

PHP Webservice using php-wsdl-2.3

I want some alternative deploying soap web service on linux.
While there’s solution on .Net like ServiceStack, It’s difficult to deploy it on Linux using Nginx and fast-cgi.
So I’m googling php alternative. It’s in https://code.google.com/p/php-wsdl-creator/. And it’s damn easy.
1. After download it, put it in your var/www or xampp htdocs.
2. Change CreateInstance parameter demo.php code :
Snap 2014-05-12 at 14.18.26
3. Run it :
 Snap 2014-05-12 at 14.22.00
 
or just http://localhost:82/phpwsdl23/demo.php to see the description.
4. You can acces it using soapui, or .net service reference, or using php http://localhost:82/phpwsdl23/demo.php?PHPSOAPCLIENT.
Snap 2014-05-12 at 14.24.52
Standard