Centos Network Configuration – is very simple on a full installation. However, I downloaded the Centos’ “Minimal Install” cd and used yum to install various packages I needed.
The simple way to do it if you have a standard installation is to use the Network Administration
Tool (system-config-network), which is a graphical interface to edit the configuration files. Since I haven’t installed this tool, I needed to edit the files manually.
How to Configure Network in Centos from Command Line:
A quick way to see if your interface works and if you can ping internal resources. ifconfig eth0 192.168.0.2 netmask 255.255.255.0
Use your IP addresses.
Note that this is not persistent, at the first reboot, ot first network services restart this will be lost.
For a DHCP address assignment use: ifdown eth0
To get a persistent centos network configuration use the following procedure:
Edit the network configuration file
Edit the configuration file so it contains your IP address configuration as follows: DEVICE="eth0"
This configures your interface with the IP 192.168.0.2 and the netmask 255.255.255.0.
For more info about Centos’ network configuration look here: .
Set up Name Resolution
Name resolution configuration, is more consistent across various Linux distributions. Most of the Linux distros will have the configuration file at /etc/resolv.conf.
Edit this file and change according to your network: vi /etc/resolv.conf
Modify the file so it contains pointers to your DNS servers like this: nameserver 192.168.0.254
You’ve finally decided that you want to start a blog. Whether the blog is for a business for a nonprofit association or as a personal blog has little importance, the important thing is to have a plan an the know-how.
Define Your Blog’s Strategy
First of all you need a strategy for your blog. What do you want to write about? Does your blog have a theme a niche or is a bit of all. Most successful blogs have a certain theme. Once you’ve decided on your blog’s topics you need to define the goals of your writing. If it’s a personal blog most likely you don’t need any goals. But on the other hand if it’s a business’ blog your main goals could be promotion of your business main website, drive traffic to specific areas of this website, or simply a PR campaign. How often and who will write content and who will publish/approve your posts?
Once you have determined the initial steps you can go forward and think about the technical details of your blog.
You want to start blogging today, is that possible? Yes it is, if you don’t have any special requests that can delay your initiative.
Starting a blog is not as hard as it might seem.
If you want to make it simple go with the same provider for both your domain name and your website hosting. It’s easier, and you get support for all of your services in one place.
If you need more control over your domain name and hosting account then you definitely want to host with one company and register domains with another company.
I always use for my blogging needs a combination. I use Godaddy for domain names and hosting with one of the Hostgator or Hostmonster.
The Simple Free Alternative of Blogging
Choose a Free Blogging Platform
Although many blogging platform exist, the best for professional blogging is WordPress. One can argue about the competition: Typepad, Blogger, etc… But in the end WordPress is great for its flexibility, features and community. It is the most spread blogging platform. Create a free account with any of these blogging communities and start blogging. Is that simple. The addresses are typepad.com, wordpress.com and blogger.com.
Pick A Domain Name for Your WordPress Blog.
Choosing a domain name is one of the most important decisions you will take for your blog.
The ideal domain name will be short enough to remember and write down and will contain the most important keyword of your business, the one you want high ranking on search engines. Don’t avoid the dashes they are totally fine. Great gTLDs are .com, .net, .org, .info, etc…
Choose A WordPress Hosting Provider.
As I said before my personal favorites are hostgator, hostmonster, but if you have reliable information about another good hosting company go with that, I don’t know them all… (And by the way I am not hiding that this is an affiliate link.)
Install WordPress Using Control Panel
Installing WordPress is really trivial. If you are totally nontechnical then you can watch this video that shows you how to do that. After the initial installation, however things are a little more complicated.
Choose a WordPress Theme
There are hundreds of free themes and commercial themes. The differences between free and commercial themes are design flexibility and SEO features. Premium themes will give you way more design options and will be optimized for SEO. A premium theme will also be better optimized for speed.
Take the time to tweak the chosen theme. If you are non technical you definitely need a premium theme to allow you to set up features like font type, background colors, layout and site dimensions. You need a nice looking blog because that retains visitors.
SEO Aspects to Be Fixed in WordPress
Optimize Your Website’s Address
Go to the General tab from the Settings panel inside your WordPress Dashboard.
Modify the name of your WordPress blog address to include the www portion as shown here.
More Sites to Ping to
Add some more sites to ping to. This way every time you post or update an article these services will be announced of your changed content. Search engines will pick up the this information from your site and from the pinged sites, improving your chances to get your content indexed. You will do this into your Update Services section.
Home Page Optimization for SEO
If you want to optimize your blog’s first page you need to set up your blog as in the image. You can do this from your reading tab in the Settings control panel of your dashboard. This will allow a full optimization of the page for both speed and keywords, etc…
Set your Blog’s Permalink Structure
The default permalink structure for WordPress is not optimized for SEO.
The best for SEO is the following A good SEO permalink structure has to be keyword rich, using the categories and post names. You can use either /%postname%/ or /%category%/%postname%/. If the latter is used careful attention is needed when the category is chosen. You will do this from your permalink tab.
Install Essential Plugins to Your WordPress Blog.
Plugins are an excellent way to improve your WordPress website. You can install whatever works for your site, but be cautious because bad plugins can do harm to the performance of your site or to your traffic. Choose wisely and install only what you need. The basic minimum is: Akismet, WordPress Mobile Edition, WP-Optimize, WP Super Cache, All in One SEO Pack, Google XML Sitemaps.
As a Windows Network Administrator I always have to make space delete unneeded files, archive old files, compress files that we don’t need but we might need at some point.
I don’t use the same compression method every time, because the scenario is different. Here are a three compression methods for Windows.
Compress Files Using the NTFS Compression
This method of compression only works on NTFS partitions. You don’t have the option for a FAT or FAT32 partition.
The most usual and easier way to do this is to use the Windows’ Graphical Interface and access the Advanced File Properties and select Compress contents to save disk space.
Compact – Compress files or folders from command line
If you would like to compress files from a batch file use this command line variant. Usually if you access the advanced file properties, (right-click => properties and => advanced) you have the option to compress contents to save space. Another good use of the command line is that it gives you a better view of the progress. The graphic interface sometimes hangs and you don’t know if the job is still active.
The command to compress a folder from within the folder is compact /c /s. It compresses all of the files within the folder and marks the folder as compressed so that new files are created compressed.
Why would you choose Compact and not Zipped Folder?
The main reason is that a compacted folder can be used by applications. In other words if the path of a log file points to a compacted folder this is transparent for the application that writes the log file. As a result your log files will be compacted. You cannot do this with Zipped folders or files.
Compress files using the Windows’ built-in zip archiving utility
Why would you choose Compressed (Zipped) Folder over the Compacted Folder?
The zipped Folder has better compression and better portability. The zipped folder has a slightly better compression rate, and you can copy the files to any other Operating System, send them by email and they will retain the compression. The compacted folders will only be compressed on the original location unless you compress the file again at the new destination. Note in the image below the difference between the two file compression formats. The Windows shell has the option to “show NTFS compressed files in color”, which is a great option. Note that the zipped file is slightly smaller than the compacted, (blue colored), one.
Is there a Compressed (zipped) Folder – command line variant?
Unfortunately, there isn’t any Windows built-in option. The good news though is that there is a free archiver that has a command line version as well. 7zip is a great free utility very flexible that manipulates all of the popular archiving file formats.
Compressing from the command line with 7zip is very simple, the simplest command is 7z a NewFolder.zip “New Folder” that compresses the folder New Folder into the archive: NewFolder.zip. For more options and switches type: 7z –h, note that 7z doesn’t understand the /? switch, usual on any Windows application.
Why would you choose 7Zip over the Windows’ built in compressing solutions?
The main reason is flexibility. 7zip has a lot of options/switches that control a lot of the compression aspects and it is very easy to use in a batch file.
An interesting application is to separately archive a lot of folders from a batch file. Let’s say you have 500 folders that you want to archive and you know you will be accessing those folders on a regular. It makes more sense to archive the folders separately and not in one big file. It is easier to access smaller zip files from the Windows shell and keeps the system responsive. To do this manually for 500 folders is a nightmare. Here is a command that runs from a batch file that will compress those folders separately, each folder one zip file:
for /D %%d in (*.*) do 7z a -tzip “%%d.zip” “.\%%d\*”
To run the command from the command line and not from a batch file the command is slightly different:
for /D %d in (*.*) do 7z a -tzip “%d.zip” “.\%d\*”
There are other great archiving utilities such as Winzip, Winrar, Pkzip, etc… They are not free, but you can get a trial-ware which in many cases is good enough for anybody.
A few tips on what to compress and what not.
Usually Installation files are already compressed so there is no benefit in compressing.
Digital photos in a jpg or gif format are already compressed using special algorithms.
PDF files don’t compress.
Text files, (plain text, log files, etc…) compress the best.
Word files can be compressed but not as much as the text files.