As most of use know and Wordpress is the most popular platform for building websites and blogs. While working in wordpress many times you need to upload the data. This data can be of any type like an application file, an image or any video. The default limit set for such uploads is 8 megabytes. Experienced webmasters who has hosted there websites with large web hosting resources, know very well that many times the data to be uploaded can be larger than 8 megabytes and fortunately one can increase this 8 megabytes limit in wordpress. Many webmaster try to do it by making changes in ‘.htaccess‘ file, but this doesn’t work always. I would like to share following simple method to extend the maximum upload file size limit in wordpress.
- Crate a ‘php.ini’ file and upload it in to ‘/wp-admin’ folder.
- Then add the following code
memory_limit = 28M
upload_max_filesize = 28M
post_max_size = 28M
file_uploads = On
Here I have used 28 megabytes for just a example and you can replace with your desired limit to be set for maximum upload file size limit in wordpress.
Threats to Online Businesses are not new in today’s widely spread internet world. To achieve highest security for an online business SSL Certificate plays an important role. The term ‘SSL’ is basically related with website hosting services. It’s expected from Webmaster to think and implement the security systems in a smarter way. The websites with SSL certificates are the most trusted websites on the internet, the simplest way to identify such websites is the starting of URL as ‘https://’ where as you will find other normal websites starting with ‘http://’. SSL certificate is a Digital certificate assigned to a website which approves the identity of a Website as a secured website. When a website deals with online transaction involved with money the people are very conscious about its reliability and how secure it is to make payment thorough those websites. The specialty of SSL opted websites is that every information is encrypted for security purpose before it passes thorough networks, to avoid an the leakage of sensitive information. So if one is dealing through an SSL secured website then he can be sure that the information he is providing through it will remain fully confidential and secure.
Following are is some of the information that is contained in the SSL Certificate
- Name of the owner of the SSL Certificate
- Serial Number and the Expiry date of the Certificate
- Copy of the certificate owners public key
- Digital Signature of the Certificate issuing authority
We saw ‘What Is WAMP And WAMPServer’ in the last post, here we are going to learn about ‘LAMP’ which is nothing but a substitute to WAMP when one has hosted his website on ‘Linux Hosting Server’. LAMP consists of Linux, Apache, MySQL and PHP/Perl/Python, where Linux is an operating system, Apache is a Web Server, MySQL fulfills database requirements and PHP/Perl/Python work as scripting languages. The idea of LAMP was originally invented in 1999 by ‘Michael Kunze’ in a German magazine, though the four elements were not approached to work together but in the later period these open source applications were made available for free of cost and as a bunch called as ‘LAMP stack’. Because of having the ability to make a strong web application platform, LAMP gained the popularity in very early stage in such a way that in today’s market LAMP services are available as by default with almost all the website hosting services providers.
There are multiple security options available while using LAMP, you can configure Apache and PHP to remain hidden so that your information would not be leaked by any possible hacking attacks. You can find more about LAMP security at :- Is Your ‘LAMP’ Secure Enough?. LAMP tools are easily available with the features of easy configuration and being very robust. Being as an open-source application, LAMP is supported by the larger community, which constantly adds features and development to meet the requirements of it’s users. For deployment, configuration and maintenance of LAMP, one needs to spend very little effort and time, furthermore you don’t need any type of administrative details for it.
WAMP is quite a well known term among Website Hosting Services industry. WAMP is acronym for the combination of Windows, Apache, MySQL and PHP/Python/Perl. In this combination the first three are constant ones and for the fourth one it varies among PHP, Python and Perl. There may be a few occasions in which Python and Perl can be used together. The reason behind the popularity of WAMP is because it provides four important elements Operating System, Database Web Server and scripting application which are required for a web hosting server. When all these four elements are used as combined then such a usage is called as ‘Server Stack’. In this (WAMP) server stack you use ‘Microsoft’ Windows as an operating system, ‘Apache’ as a Web Server, MySQL to work as a Database and you can choose one from PHP, Python and Perl to be used as scripting language. WAMP it is totally related with Windows Web Hosting Servers and has nothing to do with Linux Hosting Servers. For Linux Hosting users there is ‘LAMP’ which substitutes ‘WAMP’
To adopt WAMP one needs to download ‘WAMPServer’ which is an open-source Windows web development environment. It comes with a service manager as a tray icon. This enables an easy management of the server and easy installation of multiple releases of Apache, MySQL and PHP as add-ons. With WAMPServer the installation process is automated and you can secure your setting files while making any changes over your web servers. You can experience a great flexibility with ‘WAMPServers’ as enabling and disabling services of WAMPServer is just a matter of clicks.
With a left click on WampServer’s icon, you will be able to:
- manage your Apache and MySQL services
- switch online/offline (give access to everyone or only localhost)
- install and switch Apache, MySQL and PHP releases
- manage your servers settings
- access your logs
- access your settings files
- create alias
With a right click :
- change WampServer’s menu language
- access this page
With growing demand for web hosting resources, there are a number webmasters opting for cheap VPS Hosting solutions which is renowned for its higher reliability compared to shared hosting and lower cost than the most expensive Dedicated Server Hosting.
Here I would like to share the steps required for the installation of cPanel on a VPS type of web hosting services account. If you want to install the licensed version then you need to pay for it (Host.co.in provides it for $ 9 / month) and if you are just installing a trial pack then it is available at http://www.cpanel.net/store/ for free of cost.
Follow these steps to install cPanel on your VPS Hosting account.
First Login to your VZMC
Now create a new VPS with the Sample Ve Config call vps.cpanel
Here you will be able to choose the IP addresses which can be used for that virtual private server and DNS servers.
Now Select RedHat Enterprise Template (not minimal)
You do not need any addon for a cPanel so don’t select any of it.
Now select the resources (space, RAM, CPU) and other required stuff for your VPS
Keep start on boot and the remaining of the normal stuff also remember to use unlimited Vps.
Move to Ev1 member’s section and open a ticket with your IP and root password, by doing this you request your ev1 to enter your VPS register in up2date.
Now move to SSH and follow the below given steps
mkdir /home/cpins
cd /home/cpins
wget http://layer1.cpanel.net/latest
sh latest
And here you have finished the installation of cPanel.
‘Site Definition entries’ used while defining a site play an important role in connecting a MySQL database in ‘Dreamweaver’ successfully. Here I would like to share an example of PHP / MySQL Definition which uses a Linux Hosting Server with PHP and which runs over a machine named such as mywebsite.host.co.in, and MySQL runs on other machine which can be named such as mysql.host.co.in, furthermore the ‘Dreamweaver should be running on a local workstation.
In this tutorial, we will be using FTP for the purpose of transfer of file between the Linux Hosting server and workstation.
Local Info:
Site Name: mywebsite
Local Root Folder: C:\mywebsite\
Remote Info:
Access: FTP
FTP Host: mywebsite.host.co.in
Host Directory: /htdocs/
Login: Admin (Your Log In Name)
Password: ********* (Your set Password)
Testing Server:
Server Model: PHP / MySQL
Access: FTP
FTP Host: mywebsite.host.co.in
Host Directory: /htdocs/
Login: Admin (Your Log In Name)
Password: ********* (Your set Password)
URL Prefix: http://mywebsite.host.co.in/
Most of the webmasters prefer to display time on their websites or blog, for particular events like post submitted, comment posted. In the previous post we saw ‘Customization Options With Date Formats In Wordpress‘. In this post I would like to share similar type of options available to customize the Time formats. Following are the characters to be entered in the ‘Text Box’ beside the custom button option under ‘Time Format’, to get the output shown, on the actual Website or Blog.
|
a
|
Small form of character ‘A’ is used to get the appearance of ‘Abbreviation - AM and PM Ante Meridiem and Post Meridiem’ after the time as ‘character in lower case’. e.g. am, pm
|
|
A
|
Capital form of character ‘A’ is used to get the appearance of ‘Abbreviation - AM and PM Ante Meridiem and Post Meridiem’ after the time as ‘character in upper case’. e.g. AM, PM
|
|
g
|
Small form of character ‘G’ is used to get the appearance of ‘Hour in 12-hour format without leading zeros’. e.g. 1 to 12…..
|
|
h
|
Small form of character ‘H’ is used to get the appearance of ‘Hour in 12-hour format with leading zeros’. e.g. 01, 02 to 12…..
|
|
G
|
Capital form of character ‘G’ is used to get the appearance of ‘Hour in 24-hour format without leading zeros’. e.g. 1 to 23
|
|
H
|
Capital form of character ‘G’ is used to get the appearance of ‘Hour in 24-hour format with leading zeros’. e.g. 01, 02 to 23
|
|
i
|
Small form of character ‘I’ is used to get the appearance of ‘Minutes, with leading zeros’. e.g. 01, 02 to 59
|
|
s
|
Small form of character ‘S’ is used to get the appearance of ‘Seconds, with leading zeros’. e.g. 00, 01, 02 to 59
|
|
T
|
Capital form of character ‘T’ is used to get the appearance of ‘Timezone abbreviation ’. e.g. EST, MDT…..
|
|
c
|
Small form of character ‘C’ is used to get the appearance of ‘ISO 8601 Standard format’. e.g. 2011-12-10T18:32:10+00:00
|
|
r
|
Small form of character ‘R’ is used to get the appearance of ‘RFC 2822 Standard format’. e.g. Fri, 21 Oct 2011 21:01:07 +0200
|
Rsync is a great utility to manage downloads of transformation of Linux hosting servers and it is very easy to set up on a web hosting server. After technically studying it one comes to know that it copies only diffs of files which have been actually changed and compressed, through SSH. And this copying process is conducted without any scripted FTP session or any other format of file transfer script.
Following are a few concepts explained which are involved in ‘Rsync’ operations.
Diffs – Not the whole file, but only the changed portion of those files are transferred. This selective transformation makes the speed of update process faster. Unlike ‘Diffs’ FTP transfers the entire file though the change is very tiny.
Compression – The transferred small portions (Diffs) of the files are compressed while the transformation process is going on and this reduces the time required for transferring the Diffs. This also reduces the load on networks used for transformation.
SSH Encryption – With ‘Rsync’ security is provided on (a) higher level than the FTP because the stream from ‘Rsync’ is passed through the ssh protocol which encrypts your session and not the RSH.
Rsync can not be used with a windows web hosting server so one should approach other suitable utilities like ‘Robocopy’ or ‘Richcopy’.
Commands for Text Edition
In this post I have described the VIM commands used for text modification and commands used through Input Mode.
x - to delete the character which exists under the cursor.
rn - while using this command ‘n’ to be replaced with the character which you want to place in the place of any character under the cursor.
cw - this command puts you into input mode by replacing the current word at which cursor exists.
dw- to delete the current word on which cursor exists.
dd - to delete the current line in which cursor exists.
yy - to copy a line into the buffer.
P - to paste the copied line where the cursor exists.
Input Mode Commands
i - to insert text before the cursor.
I - this works similar as ‘i’ but starts inserting text from the beginning of the current line.
a - to append text after the cursor.
A - this works similarly as ‘a’ but starts appending text at the end of the current line.
R - this command replaces characters which is currently under the cursor, it works similarly when we type the characters in windows with the insert key on. In short it is used for overwriting the current characters. To stop this command you should press the ‘Esc’ key.
o - to open the new line under the current line.
O - to open the new line above the current line.
Thus we saw the different VIM commands which are very handy while working on a Linux Hosting server or a Linux based system.
In previous post we saw how important VIM commands are for handling a Linux hosting server, these commands basically come under Command mode of VIM
h - to move the cursor to left side
j - to move the cursor to down side
k - to move the cursor to up side
l - to move the cursor to right side
n| - to move the cursor to a particular character of the line, this is done by giving the that place’s number and if its valid the user notices a beep sound from the system. Entering just ‘|’ will move the cursor at the starting position of a particular line.
0 - to move the cursor at the beginning of the line
^ - to move the cursor at the first non blank character of a particular line.
$ - to move the cursor at the end point of a particular line.
fx - in this command you need to use any desired character in place of ‘x’ to move the cursor at the next appearance of that particular character used in the pace of ‘x’ within a single line.
Fx - it works similarly as ‘fx’ but in the reverse order, means you can fine previous appearance of the character placed instead of ‘x’.
[wW] - moves the cursor’s position word by word.
[bB] - moves the cursor’s position word by word in reverse order.
H- to move the cursor at topmost line of your screen.
M - to move the cursor at the middle line of your screen
L - to move the cursor at lowest line of your screen.
Ctrl-d - to scroll down the half page.
Ctrl-u - to scroll up the half page.
Ctrl-f - to scroll down the full page.
Ctrl-b - to scroll up the full page.
nG - in this command ‘n’ to be replaced by your desired number, which moves you to that particular numbered line of a file. i.e. if you typed 81G then you will be taken to the 81st line of that particular file.
Mx - in this command ‘x’ can be replaced by any single letter to which you want to comeback after going elsewhere. In short it is used for setting a line with a marker to be visited after the next move.
” - its command with two single quotes, and used for switching the positions simultaneously between two required places. In short it acts as a toggle.