Custom Search

Posts tagged Linux

Windows error: cannot copy files, filename is too long

I was trying to upload a backup copy generated by cpanel to our new deployment server when There are some files that doesn’t seem to upload successfully, In my PC running windows I tried to copy the files to another folder but Windows prompts an error the filename is too long, I tried renaming the generated file name of the folder created by Cpanel to /x and all the long filenames to just /x until I get into the directory of the website. I tried to copy again, this time it is successful. I tried to reupload again using ftp. (success!!!)

The reason I use ftp client instead of ssh is bacause it is very dangerous to command line the live server especially for me not specializing administering system servers. The last time I have a hands-on on a live server, I crashed the thing.

Coding in Asp.net MVC

Its been more than 6 months now, I haven’t touch anything about C# MVC, I’ve been following asp.net mvc for 5 months, and I had created some web apps in my local drive, I have digested the concept of model-view-controller and transitioning to Zend Framework which is one of my current weapons right now is fast. Right now I have an Idea of a web application system that can give solution to project workflows and I want to deploy it in the cloud. I’ve done some UI design already and we are using it right now, although not automated since I just to the thing first in MS exel, but I want to deploy this system to the cloud because I find out that we have generated a very effective project management system here for project collaboration, even better than basecamp.

Well…. I still have a lot of projects to finish, I am targeting to finish my android game before the year ends, And still I haven’t find any resource that can be my reference on how to optimize java codes to run super fast in the Android Platfrom. The codes that I am using is super basic, and it cannot handle my game requirements, especially for animations.

I am very hungry already… have to go back home ASAP…. !!!!

Recovering Website from a Server System Crash – Magento or Cpanel Centos Linux

Last week, while having some deployment with one of your projects, I suddenly hit on a linux command that I don’t even know what it is that crushed our server. Don’t know what to do so I ask the help of our Boss, We can’t login using SSH but we can still access the cpanel if we state the port number on the URL, Maybe it is just a permission error or, we also don’t know.

We decided to rebuild the whole Cpanel Server, luckily my boss managed to backup the system using Cpanel’s backup whole website.
But he don’t know how to put that backup file back to live again.

When our Cpanel Server is up and running again, we then discuss how to explain this event, we all lose hope, until my Boss said that he did have a backup of the file but it won’t restore,
when I look at the file, it was actually a backup of the whole websites root directory, there you can find the files in public_html and the mysql database.

so what we did to recover our magento site is, we go to cpanel, restore the mysqldatabase, upload a fresh copy of magento to the server, run the installer, overwrite the ewly installed files with the one from your backup magento scripts, configure permissions and boom! up and running again.

hope this can help some magento devs out there.

Asp.net MVC yum,yum….

Right now I’m watching the asp.net mvc conference… daymmm… quite impressive.
omg… got to sleep now… preparing my linux command line tomorrow… Tomorrow is going to be a linux day for julpo…

daymmm… I still need to play with android during the weekends… and need to replicate something for iphone… gggrrrr….!!!!

Installing Php and mysql to Centos(Linux)

open terminal

edit yum.conf

# nano /etc/yum.conf

add this code

http_caching=packages
# yum install php
# yum install mysql-server

Connecting your Centos(Linux) to Internet

I am new to Linux so this maybe a start for some linux updates…

I was having a hard time connecting my centos to the internet, after reading some forums and blogs I didn’t get any solution to my problem, so I finally close the browsers from my laptop and use my instincts…

1.) In the device tab of the network configuration panel,
check if its activated, go to edit ,
1.a I want to use static Ip address so i check it provide the right Ip address, subnet mask and default gateway address.
1.b check in the hardware device if it has the right hardware (petho (Intel Corporatiion 82562V-2 10/100 Network Connection)) then Bind to mac address , press probe.

2.) activate the device, and then save the configuration, make sure profile in device tab is checked.

3. restart the network service by launching the terminal, execute service network restart.

4. ping juliusbacosachronicles.com

good luck!!!!