Posted on

Install wordpress using cPanel and Softaculous

cPanel is a simple to use dashboard that allows you to manage your server. Many providers provide cPanel to their customers. From cPanel, you can perform a number of important actions such as installing WordPress.

Softaculous is a web interface that allows the user to install the type of site they want with a simple click.

In this post we indicate the best procedure to quickly install wp using cPanel and Softaculous. The post starts first with the procedure not to perform.

Wrong Procedure

  1. With cPanel we create the mysite.it domain. The new directory will exist on the server.
  2. I don’t create the directory dir (example) under the root directory
  3. The installation through Softaculous tells me to indicate an installation directory and this must not exist. I write “dir”. The intent is to install wp in a directory dir below the main one which will be created automatically.
  4. I launch the installation
  5. the result is incorrect because the site installed will not be http://miosito.it, but http://miosito.it/dir

Correct Procedure

  1. With cPanel we create the mysite.it domain. The new directory will exist on the server.
  2. From cPanel, through the domain management program, I indicate the directory in which I want the site to reside. I put dir. The procedure automatically creates the directory dir.
  3. The installation through Softaculous tells me to indicate an installation directory and this must not exist. I don’t write anything. The program will only take delivery of the new site http://miosito.it but will install in the directory http://miosito.it/dir
  4. I launch the installation
  5. the result is correct because the site installed is http://mysite.it, All files reside in http://mysite.it/dir
Posted on

vmware – lost connection to nfs datastore

In your vmware environment you have created a nfs datastore but when you are trying to copy files to it, you lost the connection.

Symptoms

You can check the file vmkernel.log that you can find in your esx host in :

/var/log

You should find these lines of error :

Lost connection to the server xxx.xxx.xxx.xxx mount point /yourdatastorefolder mounted as ........... ("yourdatastorename")

Restored connection to the server xxx.xxx.xxx.xxx mount point /yourdatastorefolder mounted as ........... ("yourdatastorename")

or

vmnic3: 4026 bytes packet couldn't be sent (mtu=1500)

or

vmnic3: oversized tsoMss: 8948, mtu=1500

Solution

As explained in vmware documentation you have to check communication with your nfs datastore. So using , for example Putty over ssh, you can :

Ping your nfs datastore

vmkping xxx.xxx.xxx.xxx

Find your vmkernel network card :

esxcfg-vmknic -l

In the output you can see the MTU value of your network card and which is the vmkernel network card. Now you can ping your datastore using the network card, trying different MTU values :

vmkping -I vmk1 -s 1420 xxx.xxx.xxx.xxx

You probably need to change the MTU of your esx host’s network card. Maybe you have an MTU set to 9000 and you need to set it to 1500.

Using the vsphere client : Configuration – Networking. Select vmkernel network card and select “Properties” . Select “Vmkernel” and click on “Edit” :

Change MTU:

You will be able to see the new MTU value using the previou command :

esxcfg-vmknic -l