Pages

Showing posts with label open source. Show all posts
Showing posts with label open source. Show all posts

Friday, May 20, 2016

CUDA installation on centOS 7

well! tried, tried and tried...and if you havn't yet been able to install CUDA on your favourite EL 'coz of some dumb dependencies, this post is for your.

In my case dkms troubled me. It stands for Dynamic Kernel Module Support. More about dkms could be read on its project page.

Well if this or any other package troubles you, the best places to find them are either rpmforge or epel community.


here is how you enable rpmForge repository in centOS 7.x (64 bit):

$ wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
$ rpm -Uvh rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm


here is how you enable epel repository on centOS 7.x (64 bit):
 
$ wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-6.noarch.rpm
$ rpm -ivh epel-release-7-6.noarch.rpm
 
 
However, as most EL(s) including centOS borrow their packages from fedora project, you may be lucky to have epel pre-enabled. (fedora acts more like beta release of ELs and only stable packages gets to be part of ELs - may be this is why most of the times fedora has newer packages compared to currently available ELs).

Now, dkms - - well once you have rpmforge enabled, all you have to do is punch in command written below. 

$ yum --enablerepo rpmforge install dkms

Once done goto CUDA download website, and select your disto, and follow the steps there. here, is a screen shot of my selection for centOS 7. 


 Once CUDA installation is complete, you should get screen as follows: 

Saturday, March 15, 2014

how to manually install WordPress on a web based server?

  We do have a lot of paid and free web hosting (php+mysql) services which provide inbuilt applications to auto install most of the popular scripts. However, just in case if you want to explore manual method for fun, follow this short tutorial. To begin playing with wordpress and other similar CMSs you may also consider hosting them on your local system using WAMP/LAMP or XAMPP.
To illustrate the procedures in this tutorial i have used www.my3gb.com -a free web host service.
1. To begin with create a account on www.my3gb.com. Its free and simple and takes less than 2 minutes.
2. After you are done with registration, login into the site (www.my3gb.com) using your username and password.
New Picture
3. After you have successfully logged in, you will be redirected to control panel, if you aren’t, click on “control panel” at right top.
New Picture (1) - Copy
4. Now, you will see a page as shown below.
 New Picture (1)
5. Now open “create/delete MySQL database” from the set of icons on control panel. this will redirect a new page as shown below.
New Picture (8) 
on this page you will find different sections viz: “create Database”, “Create User”, “Assign Privileges”. Follow the steps in sequence, and create a new database (on my3gb you can create upto 2 databases when using free account); next create a user and assign it privileges (leave default selected, unless you want to disable certain queries). keep a note of the values entered on this page, as you will be using the same values for connecting your frontend with database.
6. Now, go to “file manager”.
once there click “Upload files” and choose wordpress# archive file (wordpress.zip) from your hard disk.
#you will find wordpress archive at www.wordpress.org.  (Download latest/suitable/compatible version from wordpress site onto your hard disk.)
New Picture (11)
once uploaded, up pack the files from the zip. and you are ready to go! (just few steps left and wordpress  will guide you through it. easy isnt it!).
Now, follow your site’s URL on control panel’s home page, which should look something like below --
New Picture (1)

7. After clicking the above URL, you will be redirected to a page as shown below --
New Picture (16)
So, click on the ‘Create a Configuration File’, and you will be redirected to a new page as follows --
8. New Picture (17)
Click Let’s go! 
Isn’t it as simple as some of your windows installations, where all you need to do is ‘next-next-ok-agree-finish’!
9. On this stage wordpress will ask you to fill up a little form, 
New Picture (19)
If you remember the values entered in step 5 above, feed them here. simple!
10. wordpress will show following dialog, click install and finish the setup.
New Picture (20)
11. now, wordpress will show a sample message, and will ask you to set password and some other details, fill up and click next.
New Picture (21)
12. success!
New Picture (22)
13. login with user name and password, which you entered in step 11.

New Picture (23)
it will take you to your dashboard.
New Picture (24)
14. If you remember your URL, feed it in your address bar, it will take u to your site’s home page(which will look some what like below depicted image). type ‘your_url/wp-admin’ in address bar and it will take you back to dash board/admin login page. look around dash board, experiment, and you will discover the true potential of this open source CMS. you can design your site, blog, gallery or what ever else you can think of using wordpress.
happy posting!  

New Picture (25)



(p.s. – keep visiting, I ll be posting more cool stuff from ‘how to customize your wordpress site’ to ‘how to develop your own themes and pluggings for wordpress and other CMS’. If you want any specific tutorial, feel free to contact me through any medium- links to my social profiles are available on right sidebar. cheers and take care!)

Friday, November 25, 2011

Everything In Future will run on Android!

Diogo Ferreira, a young hacker who attended the Droidcon India, the first-ever international Android conference in the country believes that Android will power everything, from refrigerators to heaters to of course most of the mobile devices.  



Android is getting bigger and better. It is becoming increasingly powerful in all parts of the world, including India. Diogo Ferreira, a young hacker who turned up at Droidcon India, the first-ever international Android conference in the country believes that Android will power everything.
According to a report from The Hindu, Ferreira said that this open source mobile operating system will be ubiquitous, powering digital devices across the board. He said, “We'll see it power everything ... even cars, maybe.”

He cited an example of the CISCO gadget presentation at the event where he saw a smartphone with a tablet built into it (that's made on Android). This enables you to pick up the tablet from the phone and proceed for a meeting.

The sheer fact that Android is open source makes him believe that the platform has the potential to go places. He said, being open source, it can be adopted by anyone. "They just have to take the code and modify it in the direction of their choice.”

Ferreira, who is currently pursuing his Ph.D., is a known name in the Android world. He has developed apps and contributed significant code. He is a part of CyanogenMod, which maintains a community version of Android.
It is a distribution of Android that you can install in the device after you buy it. It offers features like private browsing, or something as simple as FM Radio that a manufacturer may choose not to enable. He says that the beauty of CyanogenMod is its property of being customised. It allows the developers to build what they want and use it on their device.
Commenting on the issue of Android dealing with 'hardware interface' and the perception that it is only for geeks, Ferreira said, it is unfair to make a comparison of low-end, slower-processing Android device with iPhone. If an iPhone is positioned against a high-end Android device, the latter one is the clear winner. The chinks with the user interface, he adds, are currently undergoing huge improvement by Google.

Having said that, the young hacker believes that Android is one platform that can bridge the gap between the high end and low end devices. He said, “Even if we consider the notion that performance is not to the optimum level, people who can't afford an iPhone should be able to be part of the ecosystem.”

courtesy: EFY Times

Wednesday, November 16, 2011

Centre To Promote FOSS At National Level; Seeks Tips From Kerala



The Centre seems to be keen on taking the Free and Open Source Software (FOSS)-based initiatives to the national level. It has reportedly asked Kerala to provide it with open software tips, which can be used by the Government to popularise its use at the national level.

According to a Deccan Chronicle report, the Department of Information Technology (DIT) has approached the International Centre for Free and Open Source Software (ICFOSS) to seek help in this regard. “We will be submitting a set of suggestions on the FOSS-based initiatives that could be taken at the national level,” Satish Babu, director, ICFOSS told Deccan Chronicle. “There is a huge potential for open source which is now being used in new sectors including the film industry,” he added.

As per its IT policy, Kerala aims to support the use of FOSS in all projects, especially those for e-governance. One of the first states in the country to adapt to free software, Kerala is also working to maintain its leadership position and ICFOSS (launched in February this year) is a step in this direction.

The state government recently introduced FOSS in schools through the IT@School programme. The programme introduces specific FOSS-based ICT training programme for students who require special attention. It has been developed entirely on GCompris, a FOSS-based application. The IT@School project aims to empower the teachers and students of the state with ICT skills. Kerala also recently insisted on the use of FOSS-based software for the Aadhaar (a 12-digit unique number) enrollment.