Canvas-LMS and RoR setups on cpanel servers | Execjs not found – Solution

I had a quite a bit of issues lately installing canvas-lms for a client on my cpanel server. I first had tried to install on their namecheap hosting but they didn’t have a java installed which canvas uses execjs for various functions. ONce I staretd on my server I made sure all libs were installed and any problem I ran into resolved, until I ran into the execjs problems. Upon searching I found about installing nodejs which I did via source and packages.

But not only does it need the nodejs packages it needs the other packages that come with it. Follow the directions on this page for your distro – https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager
After you get nodejs installed make sure you have all other nodejs packages by doing install *nodejs*.

And that will solve it. Make sure you follow other instructions for installing the gems, bundles, etc; and your app will easily work.

To bypass the cpanel app install:

Im sure there may be a better way to do this but for now, what I did was simply go in cpanel add ror app – canvas, then in shell – deleted the folder. After that I moved the current working directory of canvas to it, or if you are just starting put all canvas files in here and continue with install. After that, make a redirect and edit in .htaccess if needed, that way your users dont have to go to site.com:12001 and so on.

Share

Server Management, Managed Servers, Ddos Setups and more services offered

I am now doing system admin work full time and in the process of launching serveradmins.us for outsourced support and monthly plans. If you need a reliable systems admin based in the US who can do the job right the first time and not leave you hanging during an emergency then I guarantee my services and can offer reasonable rates.

I will have all detailed services up soon but we basically do all except outsourced support at the moment.

Contact admin@gid0.net for more details

Share

New Grsecurity Kernel and Walkthrough

I have been working with the latest stable grsecurity with some pretty good results, It seems stable and not vulnerable to any known exploit. I have preconfigured it and enabled all needed options with sysctl support. Pax is enabled so you will have to set some flags for php and web server binaries pretty much right away. I have included it in the package.

Continue reading “New Grsecurity Kernel and Walkthrough” »

Share

Why Cloud Hosting is mostly a scam

Cloud hosting seems to be the rage these days on the net. It costs more and supposedly offers more and is supposed to be more reliable then dedicated server or typical VPS hosting. This is not the case with most providers. I have found doing server management the last year cloud hosting has taken off is that it is nothing more then a glorified VPS and that is all. There is usually no redundancy and a single point of failure. Also I have seen mostly horrible disk speeds from cloud providers.

The only thing I have seen with most cloud providers is that you are able to scale resources much larger then found on typical VPS hosting plans. But you also run into the same problems as on VPS and shared hosting which are server crowding and resource hogging users affecting the entire server.

When most people order a cloud they think that in the event of hardware failure, ddos or other problems that their sites will stay up no matter what, this is not true with most providers and I have seen plenty of entire cloud failures causing massive downtime and headaches.

For the price of these cloud hosting offerings you are better off getting a dedicated server with the amount of ram and disk you need. And if redundancy is what you are worried about you can either go with raid10 plus a backup solution or get 2 servers to make a mirrored cluster. All of this you can get for even cheaper in most situations or not much more then you would be paying for a non-redundant cloud hosting.

All because the provider is running OnApp or similar cloud platforms does not mean they are redundant. If you want to go with cloud hosting no matter what, whether you don’t want to manage a dedicated server or pay for management then you definitely need to make sure that the provider is using a redundant setup with no single point of failure. And even then most will lie to you or omit the truth to get the sale so another need to steer away from cloud all together.

In choosing a reliable setup for your server needs do your homework, don’t listen to the hype and compare prices with a similar dedicated server setup. Remember this is the internet where people can advertise and offer what they cannot provide and get away with it.

Share

WHMCS and WordPress Exploits

If you have WHMCS or WordPress, update it fast. Been exploitable a few weeks now. Lots of hacked sites already.

Share

How to Resize tmp in cpanel servers

Got this from cpanel forums and it has became quite handy latelty. Datacenters that install servers with 500mb tmp parition are wrong and do not leave enough room for a current hosting server with multiple users, opcode caches and other things.

From 1-2 gb is needed on most mid to high usage servers.

First edit /scripts/securetmp and look for the current size, change it to your desired size.

Then umount /tmp and /var/tmp:

umount -l /tmp
umount -l /var/tmp

Then remove the partition file:

rm -fv /usr/tmpDSK

Then create a nice new one:

/scripts/securetmp

And that is it.

Share

Contact your congressman now before its too late!

People, seriously you need to bug the hell out of your congressman about ths SOPA bill, its supposed to be for anti-piracy but this will definitely be abused and take the freedom from the net. Take action now!

http://americancensorship.org/#call

 

Share

Currently Employed

At the moment I will not be taking any new monthly server management clients as I will be working for seeksadmin.com However I will still be doing some one time jobs to supplement myself until money starts coming in so please email me admin@gid0.net if in question

Share

Content Writing for Hire

I am now offering content writing services for about any tech and internet related topic such as ddos, security, servers, tutorials, hosting and other related subjects. Prices vary depending on content, amount of words and other factors.

I have written articles and tutorials for many sites including some of my own. I have also been in the hosting and server administration industries for over 6 years having various companies, working for other companies and partnering in some companies so my experienced related to the content I write is vast and I am also a proficient writer.

For details

email – admin@gid0.net
skype – felosij

Or use Contact Form.

Share

Ddos Protection Services

We have always offered these services on a limited basis but am now expanding to offer a variety of reliable and effective ddos protection services. Protection is much more affordable then overpriced proxying or hosting solutions as we utilize powerful x86 machines and cheap ingress bandwidth to offer the most affordable costs. All protection allocations and burst periods are rock solid, no bait and switch scams like blacklotus/blcc and many others. We provide full stats and proof of attack strength, duration and packet capture logs. Instead of exaggerating attack size and trying to fleece customers we believe in a personal and honest relationship where you will continue to use our services as well as refer others.

The page is under construction but here are our ddos protection services.

Contact Us to get started. If you are under attack, no problem we offer emergency setup services as well and can get you under protection within 2 hours in most situations!

Proxied Protection
Keep your site or server where it is without changing hosts, Simply change dns records and let us filter the traffic and forward legit traffic to you. if you have a forum or user driven site we can use forwarded headers with modification of your target server’s config to insure all users are tracked with their real ip address instead of proxy ip.
Pricing is dependent on legit bandwidth needed as well as size of protection needed. We have 2 standard plans as follows, Contact Us to get started or for custom quote. Give all information you have on attack size, strength and normal bandwidth usage.

DDoS Protected Managed Servers or Clusters
We can do any possible setup to combat attacks to suit your budget. Example setups are clusters, multiple servers at different locations, failover dns, load balancing and much more. We can do this at any network or datacenter that can suit the bandwidth, protection and hardware needs. Unlimited amount of protection available. We have mitigated up to 30gbs using this method and can do even more depending on your needs.


Shared Hosting Protection

For smaller level attacks or sites that do not normally need a dedicated server. Protection ranges from 100mbs/25k pps up to 2 gbs/1mil pps. Servers are litespeed powered, current php/mysql, cpanel, softaculous scripts installed and unlimited account features.

We guarantee all of our services and will not take any job we cannot handle. All prices are low as possible and in most cases much cheaper then other services.

 

 

Share