How to setup Windows VPN in Ubuntu

sudo apt-get install network-manager-pptp
sudo killall nm-applet
sudo /etc/init.d/dbus restart
nm-applet –sm-disable &

Then configure your Microsoft VPN Connections in Network Manager. It’s the one on top right corner.

How to install libssh2 with PHP on CentOS 5 x86_64

This post is just for archiving it, if you find it useful I’m glad!

If you are dealing with CentOS 5 x86_64 (Free version of RHEL5), try to install libssh2 for your PHP development you might fail in doing so.

So here’s a quick tip how to install libssh2 on X86_64 systems(I think i386 works just fine)

Edit: /usr/share/pear/pearcmd.php

Set: @ini_set(’memory_limit’, ‘16M’);

And try again!

How to reset MySQL root password in Ubuntu Linux

In case you have forgotten your root password on your Ubuntu Linux, here’s a small tip on how to reset it.

$ sudo mysqld –skip-grant-tables &

$ mysql -u root mysql

$ mysql> UPDATE user SET Password=PASSWORD(’MyNewPasswordHere’) WHERE User=’root’;

$ mysql> FLUSH PRIVILEGES;

$ mysql> \q

$ sudo /etc/init.d/mysql restart

Now you can login using your new root password.

Sun to acquire MySQL

Jonathan Schwartz reports they are to acquire MySQL.

I am excited to see yet another good deal on Open Source projects, the fact that free software can do a good business.

Hopefully, they, Sun, will remain true to the Open Source spirit.

WordPress theme layout structures

In our first part on how to create WordPress(WP) theme we’ve covered basic installation of WP and also got to know where are the theme files located.

Before we proceed any further let’s take a look into different WP layouts.

This one will be most common layout used among bloggers. It’s very basic layout, designing and customizing this kind of theme is much easier than the most.

This is what we call two column WP layout. Because you have two columns - Main and Sidebar.WordPress two column layout
It has a header, where we usually put our logo, blog name and tag lines. Also it’s a common practice to put navigation bar there as well.

Then a sidebar, its where we have blog categories, blogroll, may be some ads and things like that.

The main part is where we have our blog posts shown, it will contain posts with details like date published, author and if there are comments to the posts.

Lastly we have footer, usually people want to put some Copyright/Copyleft, site credits.

WordPress three column layoutWordPress three column layoutAlso we have another popular layout with three columns. This one can be in two variations, it differs from each other on the sidebars positions.

In the first layout, we can see that sidebars are kept at both sides, so that the main part(the part where you have your blog posts) is kept in the center.

And the second layout is where we like to have our sidebars on the right or the left side of the blog.

So these are more or less standard WP theme layouts you will see in the blogosphere. These types of layouts are common ones but of course there are other types.

So, I have covered basic WP layout types. My next blog post will be about WP theme files and their functions.

Please make sure you have the following:

  1. Working WordPress blog installed. It can be on your workstation(local webserver) or hosted in the internet.
  2. Basic HTML and CSS knowledge.
  3. Your favorite text editor. You can use Macromedia Dreamweaver or any kind of IDE tool at that point. As long as you are comfortable and can manipulate text.
  4. Graphical FTP client or knowledge of command line FTP.
  5. Covered my previous posts :)

If you have any other tips or suggestions please drop your comments, I really appreciate your feedback!

Reminder: This post is a 2nd post in a How to create WordPress Theme series. If you want to get updated make sure you subscribe to my RSS feed at http://www.jusupov.com/feed/

Page 2 of 29«12345»...Last »

Categories


Clicky Web Analytics