This simple guide demonstrates adding a new user to mysql and giving that user full access rights to a particular db within MySQL. This is really useful when you want to create a new database user for a new wordpress isntall.
You can do this from the command line of your server if you login with: mysql -u root -p
Or you can do it from within phpmyadmin (phpmyadmin is probably the best option if you are using a web hosting account)
Before you create the new user, you will want to create a new database (you can do that from the main page of phpmyadmin)
Use the following 2 lines to create a new user named sammy with password strong_password and give him full access rights for the database called MY_DB CREATE USER 'sammy'@'localhost' IDENTIFIED BY 'strong_password';
GRANT ALL PRIVILEGES ON MY_DB.* TO 'sammy'@'localhost' WITH GRANT OPTION;
Nokia has made it incredibly easy for anyone who is connected to the internet to create their own application with the Ovi App Wizard. It basically captures the RSS feed from your blog and prints it to a neat looking, customizable, application frame that you can put on the Ovi store either for free or for a price not exceeding 5 Euros. You can also turn you Facebook, Blogger, Tmblr, Youtube, Picasa, and Flickr feeds into sections of your Ovi app, or give them their own independent applications. Up to 4 feeds are allowed per application and they can be from the same platform (ie. 2 rss feeds from different sites of yours.)
What You’re Going to Need
Feed Url(s) If your using WordPress it will be the www.yourblogs.com/feed/, otherwise all you need to do is copy the url of your account
A Logo for Each Feed This should be a 256×256 pixel PNG, JPG or GIF that will be displayed on the Ovistore website, Ovistore app, and in the users app drawer as the app icon. Make sure its not too complicated as many Nokia phones will scale it down to 60x60px and you dont want it to look blurry or “mashed”.
A Banner for Each FeedThis should be a 360×60 pixel PNG, JPG or GIF that will be displayed across the top of the application. Uploading a screencapture of you blog header that’s at the perscribed size will do fine, Ovi wizard has a cropping tool for you to get the size perfect.
(Optional) A Millennial Media or an Mpression AccountThe Ovi App Wizard lets monotize your app beyond including a price tag by adding advertising. Unfortunately, it can only be served by one of the two ad distributors listed above.
Once you’ve got all your components, just follow the Ovi Wizards instructions and you’ll end up with something like this →
The text colour of the links and app bar are both customizable, as is the background colour of the app bar itself. The placement of sections (ie the app bar, banner, posts) are not customizable but you can choose to display your posts as a grid of pictures instead of the title excerpt. In our example we only have a blog feed, if you have other feeds included in your app then there would be a drop-down menu on the app bar to navigate between them.
So we’ve crafted this nifty Nokia app with about an hour’s worth of work; not bad. Its a great tool for reader/fan retention and it can turn into solid source of revenue from advertising or sales. The App wizard also has an automated social network sharing tool as well as a web tool to create a banner for your app.
Try it out and post your app links below in a comment!
Here is the quick guide on installing the Sun Java jdk on Ubuntu Linux. I needed to do this on 10.04 server edition, but it should be the same for just about all versions. If you don’t want to do too much from the command line, substitute step 2 with: sudo gedit /etc/apt/sources.list to edit the file with gedit instead of vi.
Open the terminal
run: sudo vi /etc/apt/sources.list
Add This Line (you can add the new line anywhere in the file): deb http://archive.canonical.com/ lucid partner
In most default configurations netbeans, does not create a war file in the dist folder where you would expect it. By default it often just copies the exploded war file into the jboss or glassfish deploy folder.
In order to create a war file:
Right-Click your project in the explorer
Go to Build and Run
From the ‘Build Project’ drop-down select ‘archive’
Right Click on your project
Select Build (this will create the war)
Go to your projects//dist folder and you will see your war file