Finally the help of IT is here

Blog of computer solutions.

How to install .NET Framework in Windows Server 3.5 2012 R2

Created by Xaus Xavier Nadal on November 19th, 2014

Install .NET Framework in Windows Server 3.5 2012 R2 gives the following error:

InstallNETFramework35inWindows2012R2_1

In this article, we show how to solve the error: Error while enabling Windows feature: NetFx3, Error Code: -2146498298

It's simple, we only have the windows cd and run a command.

Megacrack read »

Created in Windows, windows server 2012 | No Comments »

404 Error Found in Magento Admin Login after Upgrade Hosting

Created by Xaus Xavier Nadal on July 6th, 2014

good morning

Yesterday I found this problem when migrating from an online store with Magento to another hosting, we migrated database, we migrated files, check routes and everything worked fine until we entered the admin panel Magento where the error appeared 404 Error Page Not Found in Magento admin.

To solve this problem all you have to do is execute the following SQL statement from your PHPMyAdmin.

SET FOREIGN_KEY_CHECKS = 0;
UPDATE SET core_store store_id = 0 WHERE code = 'admin';
UPDATE SET core_store_group group_id = 0 WHERE name = 'Default';
UPDATE SET core_website website_id = 0 WHERE code = 'admin';
UPDATE SET customer_group customer_group_id = 0 WHERE customer_group_code = 'Not logged in';
SET FOREIGN_KEY_CHECKS = 1;

I hope you have been helpful.

See you soon.

Created in Online store | No Comments »

Detect free space on Centos directory and check fuller

Created by Xaus Xavier Nadal on May 25th, 2014

When we run out of free space on Centos there are several ways to detect where we use space but we will show you which is the fastest and most effective for us and also with tidy result.

For example we will see that the folder is normally occupies the / Backup folder / home (where the email and files of the websites and the / var where they reside databases and log files are stored.

First we show the command to be used to detect free space is as follows:

df -h

How to see free space on Centos

With this command we see that we have room Total, used, available and percentage in use.

And the command for detecting that the directory is used is as follows:

du -chs / * | sort -h

Megacrack read »

Created in Centos, Linux, VPS | No Comments »

As cancel import duties on Amazon AWS of

Created by Xaus Xavier Nadal on May 18th, 2014

As we discussed in the previous article we can migrate virtual environments to Amazon AWS a fairly simple, but there are times that the task of migration to AWS failure and different instantiated Amazon EC2 in our environment we can not eliminate. The error that appears when you remove an instance EC2 is similar to the following.

Error terminating instances

 

Operation TerminateInstances is denied for the instance (s): i-0321dc43 (. Instance is being used by VM Import task import-i-ffx1u0r0 No charges are Incurred by stopped instances.)

To cancel tasks import in Amazon AWS and not wait for the expiration time of the task (which are usually 7 days) we access the command line of our AWS client and run several commands that I will explain below to stop the migration tasks and to finish the EC2 instance normally.

The first is to know the region where we have done the work of import or export, I remind you that with the command ec2-describe-regions or short command ec2dre we can see the list below and ensure a little nomenclature of each region

REGION us-east-1 ec2.us-east-1.amazonaws.com
REGION eu-west-sa-REGION ec1.eu-west-2.amazonaws.com 1-1 ec2.sa-east-1.amazonaws.com REGION east-northeast-ap-northeast ec1.ap 2-1.amazonaws. com REGION west-us-us-REGION ec2.us-west-2.amazonaws.com 2-1 west ec2.us-west-1.amazonaws.com ap-southeast REGION-1 ec2.ap-southeast-1.amazonaws .com

In our case the region where we have test servers we use to make the migration from VMware virtual environment is Ireland and will look there if we find a slope of finish work to remove instances work EC2 blocked by import

Run the command ec2-describe-conversion-tasks or the short name ec2-dct

C: \ AWS \ CLI \ bin>-region ec2dct eu-west-1
TaskType ImportInstance TaskId import-i-fflbhk06 ExpirationTime 2014-05-24T18: 09: 03Z Status active StatusMessage Pending InstanceID i-5d33ce1d Diskimage DiskImageFormat VMDKs DiskImageSize 6436109312 VolumeSi ze 30 AvailabilityZone eu-west-1c ApproximateBytesConverte d 0 Status active StatusMessage Pending: Downloaded 650117120 TaskType ImportInstance TaskId import-i-fh5aml6s ExpirationTime 2014-05-24T19: 22: 39Z Status active StatusMessage Pending InstanceID i-2e21dc6e Diskimage DiskImageFormat VMDKs DiskImageSize 6436109312 VolumeSi ze 30 AvailabilityZone eu-west-1c ApproximateBytesConverte d 0 Status active StatusMessage Pending: Downloaded 0 TaskType IMPORTINSTANCE TaskId import-i-ffx1u0r0 ExpirationTime 2014-05-24T19: 24: 04Z Status active StatusMessage Pendin g InstanceID i-0321dc43 Diskimage DiskImageFormat VMDKs DiskImageSize 6436109312 VolumeSi ze 30 AvailabilityZone eu-west-1c ApproximateBytesConverte d 0 Status active StatusMessage Pending: Downloaded 0 TaskType ImportInstance TaskId import-i-fg2jd969 ExpirationTime 2014-05-24T19: 27: 35Z Status completed InstanceID I-5021dc10 DISKIMAGE DiskImageFormat VMDK DiskImageSize 6436109312 VolumeId vol-abba0bac VolumeSize 30 AvailabilityZone eu-west- 1c ApproximateBytesConverted 6436102752 Status completed

We can see that we have many tasks with active status and status message is Pending (This means that work is on-hook)

Now knowing which of these migration tasks we want to eliminate use the command ec2-cancel-conversion-task or the short name ec2cct TaskId and name together with the region.

The command is used as follows:

ec2cct -region <region> TaskID

 

Let's see the outcome.

 

C: \ AWS \ CLI \ bin>-region ec2cct eu-west-1 import-i-fflbhk06

CONVERSION-TASK import-i-fflbhk06

 

If we check the status of migration with ec2dct -region eu-west-1 we can see that the state instead of active and puts canceling canceled after a while.

We do the same procedure with all pending tasks and migration and can eliminate the EC2 quietly outstanding instances.

I hope you have been useful article.

Greetings and until next time.

Created in Amazon AWS | No Comments »

Migrating virtual server to the Cloud with Amazon AWS

Created by Xaus Xavier Nadal on May 17th, 2014

Conduct a converter of a virtual machine from physical to virtual or virtual to virtual is a breeze with VMware Converter, as we have talked about it in other articlesBut now that many of you are making the move to the Cloud we show you other techniques to migrate virtual server to the Cloud and vice versa, from the cloud to your on premise environments.

But not all operating systems can be migrated and meet some prerequisites that we will see in the following link: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/VMImportPrerequisites.html

In this post we will show you how to migrate a server in a virtual infrastructure (On premise) that is in our infrastructure to a cloud environment (the cloud that we have chosen is Amazon as we quite like and some had to go). When we have much experience on Amazon see other options such as Azure or re-environments on premise and surely we will stay with Amazon, but it will be time and money will tell you definitively what environment is that we pay for and maintain (What to think of everything, air conditioners, cpd, painting, cleaning, light ...), the server will be migrated into a virtual environment based on VMware but also served with Citrix or Microsoft Hyper-V.

The benefits they currently have cloud environments like Amazon are paid for months and use, if you have a server off not pay for it (Well, .. more or less (keep in mind the Elastic IP, disks EBS, snapshots in S3, VPC, ....) Now I will explain later how these products work or while skipping asking with comments or via e you'll solved your doubts. Another of the benefits of these systems Cloud is that they are highly scalable, if we need more resources only expand the server is already in minutes have more CPU, more RAM, more disk even SSDs, or even more IOPS on a specific disk, if for example we want to set up a system of video streaming or game Mobile (app) and do not know how many users are going to have in the system and can not preveerlo may use methods like Auto-Scaling to start instances EC2 (Servers) of the same features that make Load Balancing between them and have unlimited resources to provide our customers the desired service, but best of all is that when customers stop using the application, game, or stop viewing the soccer match streaming these servers will go by turning off / removing and cost of the product will be only used.

But enough of both text and what we've really come to do.

Megacrack read »

Created in Amazon AWS | 1 Comment »