Linux Archive

  • How to 301 Redirect Entire Domain

    How to 301 Redirect Entire Domain

    Did you get a new domain and now want to point all the URLs from the old domain to the new one? If you’re using Apache Web Server, you can do this with a .htaccess file. 301 redirects are Google SEO friendly as well and should preserve link juice over time. Put the following in [...]

    Read More

  • How to Set Static IP in Fedora Linux

    How to Set Static IP in Fedora Linux

    Edit /etc/sysconfig/network-scripts/ifcfg-eth0 BOOTPROTO=static IPADDR=192.168.0.X NETMASK=255.255.255.0

    Read More

  • Install Magento 1.4.1.0 on CentOS 5.5 on VirtualBox 3.2.4

    Install Magento 1.4.1.0 on CentOS 5.5 on VirtualBox 3.2.4

    Install CentOS 5.5 on Virtualbox 3.2.4 Run through the install steps on CentOS 5.5, the only thing you have to pay attention to is to NOT select virtualization Install MySQL on CentOS 5.5 By default, CentOS 5.5 does not come with MySQL server. yum install mysql-server Set the root password for MySQL Before doing anything [...]

    Read More

  • Install Magento 1.4.0.1 on CentOS 5.4 on VirtualBox

    Install Magento 1.4.0.1 on CentOS 5.4 on VirtualBox

    Installing Magento 1.4.0.1 onto CentOS 5.4 on VirtualBox is fairly straight forward and if you follow these general steps, you’ll be up and running quite quickly. Install CentOS 5.4 on VirtualBox Create a new virtual machine in VirtualBox, select the type Linux and Redhat. Mount the downloaded CentOS 5.4 ISO and start the virtual machine. [...]

    Read More

  • How to Install Magento 1.4.0.1 on Fedora Core 6

    How to Install Magento 1.4.0.1 on Fedora Core 6

    So, for some reason, you’d like to install Magento on Fedora Core 6. I’ve just recently had to do this, and thought I’d share my experience since I couldn’t find much articles on this myself. YUM Updates on Fedora Core 6 First off, I love yum, it is absolutely wonderful, and you should ALWAYS try [...]

    Read More

  • Linux Equivalent of ipconfig

    Linux Equivalent of ipconfig

    So, you’re on a Linux machine and you’re wanting to find out some ip information and ipconfig isn’t doing anything for you? Try this: ifconfig -a

    Read More

  • How Do I Search for something in Linux Command Line?

    How Do I Search for something in Linux Command Line?

    Try: locate “some_text” or ls -la | grep “some_text”

    Read More

  • What Linux Distribution Am I Using?

    What Linux Distribution Am I Using?

    cat /etc/issue This is probably the most appropriate answer that you’re looking for. It’ll show things like Fedora Core release 6 (Zod)

    Read More