Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts

Monday, July 20, 2009

Linux Hard Links vs. Symbolic Links

Today I was looking for a solution for some problem in my website,

A solution of the problem was to use upload a folder X, in each subfolder on my server, the content of the X folder is the same in all subfolders, and if the content changed in one subfolder, it should changed in all the subfolders :O , so now, I need to copy this folder in each subfolder and each new created subfolder should contain this X folder too.

Stupid Idea (was mine) was to copy the folder in each subfolder, and the process of concurrent content checking will be done manually, Imagine the situation when you have about 50 folder and each on contain this X folder, BAAAAAAAAAAAAD

another Idea there was to create the X folder in somewhere on the server, and link it in every where you need it on the server with the same name (X), here, you will ensure that any change in the main X folder will be reflected in the links.

I myself find the Idea Excellent, but the Question was, Which type of file linking?
HardLinking or SoftLinking?

I founds SoftLinking (symbolic linking) better as I can refer to any location on the disk from any other location on the disk, not only the same partition.

My Question Here:
Will the symlinks increase the time of accessing the content from the original (X) folder than accessing it from X folder in the first solution?

Still can't find the answer, but still looking for it!

Saturday, October 18, 2008

Mono2.0, .NET outside Windows

Although I like .NET technology too much and like work by it, I hate the system Called 'Windows', and this for several reasons no place to list them here!

and as I'm a ubuntu user, I've spend days looking for a way to work with C# on my lovely Linux System, and finally I've found an alternative way to work with C# and .NET other language outside Windows Cage :D



the Happy news is that mono provide these languages:
  • C# 3.0 (including LINQ),
  • VB 8,
  • Java,
  • Python,
  • Ruby (http://www.ironruby.net/),
  • Eiffel (http://www.eiffel.com/),
  • Oxygene (http://remobjects.com/oxygene),
  • F# (http://research.microsoft.com/fsharp/),the new member in microsoft languages family
also you will find MonoDeveloper IDE for developing C# and ASP.NET solutions.
last 6/10 the new release Mono2.0 with the previous features which I think will be the best alternative for developing .NET Applications outside Windows Cage.


See You Soon

Sunday, June 22, 2008

Run RM Files on Linux

a very common music files format is .rm files,
on linux, .rm files need special handling which not provided with 'ubuntu' by default (I don't know about other distros)

I've found 'RealPlayer' Music Player version for linux provided by Helix , and here, I'll guide you to Install it on Your Ubuntu Machine.

Installing RealPlayer :
1. Download (RealPlayer 11) from this page http://www.real.com/linux
it will download a .bin file (never mind)
2. After download, from bash, log in as system root (I prefer this way) and run the .bin file.
-> su - (optional but prefered)
> enter toor password
-> cd /home//Desktop
-> ./RealPlayer11GOLD.bin
3. then the installation will begin and ask you about the setup location,
I myself have installed it on /etc/Real , you can change the destination or make like me,


Note, Fedora and openSuse users can download the .rpm file from the same page

Hope I help someone
Salam

Monday, March 17, 2008

The magic of OpenSource

It's really Magic when you work with this great world,
The open source world, The World of Innovation, free, great and useful software,
Open Source doesn't mean only to view the source code of software,
it include:
free distributing of the program,
Ya, you should distribute you program without money,
the source code should be included in the software
This mean that you need to attach the source code with your compiled code,
Derived work is Guaranteed
this simply mean that your license should allow others to improve your work as well as derive from your work

and alot of other points that ensure the non-profit concept of your work,

these point and more make the flavor of innovation in our work under the OSI (Open Source Intiative)

In next Posts we will talk more about Open Source most popular software like, gimp, aMule, linux, MySQL, openJDK, and will also talk about the Software forge of all these programs

Monday, January 21, 2008

Linux Arab Community Magazine

The First Issue of Linux Arab Community
The Magazine Released in Arabic
The Magazine Released in Arabic Language and You can Download it From link Below.