Archive for the "Internet" Category

Install Ioncube Loader while SELinux Enabled

When you install ioncube loader under CentOS 5.x, which has SELinux enabled by default, you will see following error message:

“cannot restore segment prot after reloc: Permission denied”

This is a common problem when you install ioncube with SELinux enabled.

You have a few options here.

You can disable SELinux, edit /etc/selinux/config, look for” SELINUX=”, put “disabled” to the right of “=”, it reads like this “SELINUX=disabled”, when you restart the machine, SELinux will be totally disabled. But when you want to enable SELinux lately, the system will relabel all the files at the boot time, it will take very long time to finish the relabeling process, so disable SELinux is not recommended.

Then you can put “permissive” in place of “disabled”, or run “setenforce 0” on command line(“setenforce 1” re-enable it),  you will see warning messages but SELinux won’t do anything to stop unauthorized access. If you are serious about security, probably you won’t feel comfortable when SELinux is not enforcing it’s rules.

Now you’re ready for the real solution.

When you see the error messages when you restart your HTTP server, run following command(step 1):

audit2allow -l -a -r

You should see the required types and classes being displayed and the permissions you need to load into selinux module, you’re not going to see them all at once, you will have to try a few times(load the  first set of rules if there are still problems, start from step 1 again ) to get all the required types, classes and permissions. Following I will show you how make it work, step by step:

You need to create an file “local.te”, which will hold all the required types, classes and permissions to be loaded in to SELinux module, in our case, you need to add following into local.te:

module local 1.0;

require {

class process {execstack execmem execheap};

class file { ioctl lock append create getattr setattr link relabelfrom unlink write read rename execmod };

type unconfined_t;

type httpd_t;

type httpd_sys_content_t;


allow unconfined_t httpd_sys_content_t:file execmod;

allow httpd_t self:process {execstack execmem execheap};

End of code.

When you have the local.te ready, run following command:

checkmodule -M -m -o local.mod local.te
semodule_package -o local.pp -m local.mod
semodule -i local.pp

Now you HTTP server will load ioncube loader without any trouble.

Technorati Tags: ,

Promote Your Business By Building Your Own Blogging Groups

Recently I am trying to use blogs to promote my business websites, almost all the blogs on which I chose to work were based on wordpress, so far we all agree that wordpress is perfect for casual as well as professional bloggers, together with Open Source License make the WordPress the fastest growing blogging platform ever.

Finally I realized I should have my own blogs, then I can use established and fully owned blogs to advertise other websites, of course this is not a new idea, the existence of blog networks already says it all, but those are not my own sites and I don’t have control, not to mention I can’t just post to them, obviously I will have to pay the owner to use their blogs, probably not cheap at all.

Its quite difficult to manage more than a few blogs manually, if you want values for your blogs, the real content writing is time and money consuming, its never easy to build successful blogs. Check out a couple of interesting blogs, let’s examine this one, Ratchet Strap Deals, the domain name is pretty good, and there are a lot of interesting articles on it, since this is not a themed blog, there are all kinds of posts on the site. Here is another one, Trucking A Way , this one has main theme, the content on the this site has a theme, quite a few keywords rank well for this site. there are more sites like these out there, though I guess you get the point already. Here is one last note, some of your blogs should not be very serious ones, let them get some content occasionally, just like this blog,  cargocontrol ,  doing this right you will have a natural blogging networks.

If you have a few established blogs already, you can try to build a few more, then use the established blogs to promote the new ones, this way you get your little blog network rolling. It sounds pretty simple, but the real stuff will be more complicated, one of the most important things is that don’t get your site black listed by major search engines.

Technorati Tags: , ,

5 Ways to Advertise Your Project for free

Have you launched a super cool project and is it still unknown around the world and people do not reach you? Tutorial Blog has five interesting tips to promote our project, our newly formed company, without spending even a single dollar. A sort of “free advertising budget.”

Among those mentioned:

* Create your own website
* Join social networks (Facebook, LinkedIn, Twitter)
* Design your own brochures and business cards presentation
* Attend local networking events
* Includes information on what you do in your signature to all e-mails

For presentation cards, I think it is very important and is something physical that serves to remind the person whom you knew, and of course it does. Not necessarily have to be an expert designers to make, especially with all the tools for that. And of course, less is more. Do not miss the “card for creating the ideal”

Participation in social networks is very important, especially because not only it is a quick way to communicate with people, but we may have more contacts and a much more direct communication.

You can see the point in detail in Tutorial Blog:

Technorati Tags:

Increase the speed of Firefox, tips to improve performance

Her eare a handful of tips to improve the speed of Firefox. While Firefox is a great browser, it some times fails and crashes, especially firefox 3.0 and you could easily fix this issue with a little bit of tuning the browser settings.

In fact, there are few times where launching Firefox itself is a much heavier task for the machine, like how the same kind of problem occurs with Safari, the browser which is simply a part of the operating system in MAC computers. And for this reason more and more people are moving towards Chrome which launches just in a second.

By modifying the way Firefox handles certain functions, we can not only improve the performance of the browser, but the speed with which pages load.

Reduce the amount of RAM Firefox uses for its cache feature

1. Type “about:config” (no quotes) in the adress bar in the browser.
2. Find “browser.sessionhistory.max_total_viewer
3. Set it’s value to “0“;(Zero)

Increase the Speed at Which Firefox loads pages

1. Type “about:config” into the address bar and hit Enter.
(Normally the browser will make one request to a web page at a time. When you enable pipelining it will make several at once, which really speeds up page loading.)

2. Alter the entries as follows:
Set “network.http.pipelining” to “true
Set “network.http.proxy.pipelining” to “true
Set “network.http.pipelining.maxrequests” to some number like 10.

This means it will make 10 requests at once.

3. Lastly, right-click anywhere and select New-> Integer. Name it “nglayout.initialpaint.delay” and set its value to “0“;.(Zero)

This value is the amount of time the browser waits before it acts on information it receives. If you’re using a broadband connection you’ll load pages faster now.
Optionally (for even faster web browsing) here are some more options for your about:config (you might have to create some of these entries by Right Click –> New– > Interger or String

network.dns.disableIPv6: set “false”
content.notify.backoffcount”: set “5“; (Five)
plugin.expose_full_path”: set “true”.
ui.submenuDelay”: set “0; (zero)

Reduce RAM usage when Firefox is minimized:

This little hack will drop Firefox’s RAM usage when minimized:

1. Open Firefox and go to the Address Bar. Type in about:config and then press Enter.
2. Right Click in the page and select New -> Boolean.
3. In the box that pops up enter “config.trim_on_minimize”. Press Enter.
4. Now select True and then press Enter.
5. Restart Firefox.

Now you can try these tricks!

Technorati Tags: , , ,

How fast is your broadband

I have a 12 Mbps broadband internet connection, but i really don’t know what my exact download speed is. Because when i download some files from the internet it shows some download speed and it would be completely different when i download some other time. So i was not in a position to get a clear idea about my average download speed. That is where broadband speed checker comes in.

Just click on the button “Start speed test” and stop using your internet connection for a while (Do stop all the download which are active). This

speed test measures speed between your PC and closest server in Amazon( network, therefore should give you quite a good estimate what your line is capable of.

I have tested the speed and I get around 9840 Kbps download and 480Kbps download. What is your speed?

Technorati Tags: ,

Reduce consumption of RAM to use Firefox cache

* Type “about:config” in the browser bar
* Search browser.sessionhistory.max_total_viewer
* Set the value to 0

What we are changing here, as per the Firefox Knowledgebase is that we are reducing the number of pages stored in your Firefox cache. That is the number of pages that are stored in memory so that when you click on the “Back” button, there is a least delay in the loading time of the page.

Setting the value to 0, helps to recover the RAM, because Firefox does not save pages in the cache, but if you decide to go back then it will force the browser to reload the page completely.

You can experiment with different settings (the default is -1, which calculates the number of cached pages, according to available RAM).

Technorati Tags: ,

Online Games Technology Trends

A new popular trend in online gaming is the Flash-only game. A Flash game allows a player to play games directly off the Internet without having to download or install any software. The installation of a site’s full game takes up space in the computer’s hard drive and it’s a time consuming process. Flash technology, on the other hand, allows a player to begin playing online games immediately and that’s the number one reason for the popularity of Flash-only games.

There are two types of technology that allow a player to game immediately, Flash and JAVA. Flash technology is the better of the two. JAVA software sometimes has limitations with regards to graphics, while Flash games use streaming technology to create a more realistic experience.

Flash games are also better if a player wants to diversify the online gaming experience. If a player wants to try different online games rather than staying loyal to one company, playing the Flash version is a logical alternative to downloading and installing a few full games, which would take up a lot of space on the computer and a lot of time.

With a reasonably fast broadband connection, the instant-play version of the game software works just as well as the download version. Of course if a player downloads the full game version they will have access to more games and better graphics; but Flash versions still bring all the popular games to the player. This technology is also a blessing for Mac users since game sites for some reason neglect the growing number of Apple enthusiasts around the globe.

Playing in a Flash games is easy; just find an online games that offers Flash games. Click the “Instant Play” option rather than the “Download” option and you’ll be playing in a matter of seconds, especially if you’re already registered.

It’s good that online games offer their customers the option of choosing either a Flash game or a downloadable version; it gives the player more choice and allows them to decide what’s more convenient, adding to the ultimate experience in online games.

Technorati Tags: , , ,