• This is Slide 1 Title

    This is slide 1 description. Go to Edit HTML and replace these sentences with your own words. This is a Blogger template by Lasantha - PremiumBloggerTemplates.com...

  • This is Slide 2 Title

    This is slide 2 description. Go to Edit HTML and replace these sentences with your own words. This is a Blogger template by Lasantha - PremiumBloggerTemplates.com...

  • This is Slide 3 Title

    This is slide 3 description. Go to Edit HTML and replace these sentences with your own words. This is a Blogger template by Lasantha - PremiumBloggerTemplates.com...

Monday, 20 October 2014

ionCube Loader

Manually Install ionCube Loader

For Linux packages.

Follow the steps below to download and install ionCube Loader to your Linux Hosting package using only FTP.

ionCube Loader is a free tool for executing pre-compiled PHP code. The code must have been pre-compiled using the ionCube PHP Encoder for the ionCube Loader to be able to execute it. The advantage of pre-compiled code means that the code has already been slightly processed and is no longer human readable. The PHP code will also execute faster since it has already been pre-compiled.

Many web applications (such as content management systems) that can be purchased online may be pre-compiled using ionCube PHP Encoder or other similar tools to prevent reverse engineering or tampering of the PHP code. To be able to install a web application that has been pre-compiled using ionCube PHP Encoder, you will need to install ionCube Loader in your web space before the code will execute properly.
Step 1
Download and save the Linux (x86) ionCube Loader in zip format from the ionCube site to the Desktop of your own computer.Download and save the ionCube Loader
Download and save the ionCube Loader
Step 2
Uncompress the .zip file by right-clicking the file and selecting Extract All.Select Extract All
Select Extract All
Step 3
After extraction, you should be left with an ioncube folder. We will upload this folder later. Continue with the next steps.ionCube is extracted
ionCube is extracted
Step 4
Launch a basic text editor such as Notepad and copy and paste the code below into it:
<?php phpinfo(); ?>
Copy and paste the code
Copy and paste the code

Save the file as phpinfo.php to your desktop.
Save the file to your desktop
Save the file to your desktop
Step 5
Using an FTP program, upload only the phpinfo.php file to the folder that contains the ionCube PHP Encoded files.
Please reference our FTP section of the 1&1 Help Center for more help if necessary.
Step 6
Next, access the phpinfo.php page from the browser on your computer (such as Mozilla Firefox) using a URL that points to the folder containing your ionCube PHP Encoded files and the phpinfo.php page. http://s123456789.onlinehome.us/phpinfo.php
Step 7
First check the version of PHP being used at the top of the screen. Write down the version on a piece of paper.The PHP version is displayed
The PHP version is displayed
Step 8
Now, scroll down the page until you see the Environment heading. Highlight the value ofDOCUMENT_ROOT.Highlight the DOCUMENT_ROOT value
Highlight the DOCUMENT_ROOT value
Step 9
Open your text editor again to create a new text document and copy and paste theDOCUMENT_ROOT value into it.Copy and paste the DOCUMENT_ROOT value
Copy and paste the DOCUMENT_ROOT value
Step 10
Now add the text /ioncube/ioncube_loader_lin_4.4.so to the end of the line. You may need to replace the version number to match the version of PHP you are running. For instance, if the version of PHP you are using is 5.2.13, you would change the text to 5.2.Add the text to the text file
Add the text to the text file
Step 11
At the beginning of the line, add the text zend_extension=Add the text to the text file
Add the text to the text file
Step 12
Save the file to your desktop as php.iniSave the file to your desktop
Save the file to your desktop
Step 13
Using an FTP program...
  • Upload the php.ini file to the folder than contains your ionCube PHP Encoded files and phpinfo.php page.
  • Upload the ioncube/ folder to the root of your webspace. Do not upload the ioncube/folder to a subfolder in your webspace.
Step 14
Access the phpinfo.php page again and you should now see that the ionCube Loader has been installed as is recognized by PHP.ionCube is installed
ionCube is installed
Step 15
Since the settings defined in the php.ini file only apply to the folder where it is saved (which should be the same folder as your ionCube encoded files and phpinfo.php page), it is now necessary to upload the php.ini file to any additional subfolders that contain files which require the ionCube Loader.
Tip: If your package allows SSH access, you may create symbolic links in subfolders that point to your original php.ini file. This way, if the original php.ini file needs to be edited, the changes will then be recognized by all symbolic links that point to it instead of having to overwrite all php.ini files in all the subfolders.
Please note:
With Managed Servers, please make sure that the PHP module is set to inactive in your Control Panel within the Advanced Configuration section.
For additional information, you may want to reference:



Monday, 13 October 2014

Linux Command-Line Cheat Sheet

Linux Command-Line Cheat Sheet

Moving Around the Filesystem

Commands for moving around the filesystem include the following.
  • pwd: The pwd command allows you to know the directory in which you're located (pwd stands for "print working directory"). For example, pwd in the desktop directory will show ~/Desktop. Note that the GNOME terminal also displays this information in the title bar of its window.
  • cd: The cd command allows you to change directories. When you open a terminal, you will be in your home directory. To move around the filesystem, use cd.
      •  To navigate to your desktop directory, use cd ~/Desktop
      •  To navigate into the root directory, use cd /
      •  To navigate to your home directory, use cd
      •  To navigate up one directory level, use cd ..
      •  To navigate to the previous directory (or back), use cd -
      •  To navigate through multiple levels of directories at once, use cd /var/www, for example, which will take you directly to the /www subdirectory of /var.
Manipulating Files and Folders
You can manipulate files and folders by using the following commands.
  • cp: The cp command makes a copy of a file for you. For example, cp file foo makes an exact copy of the file whose name you entered and names the copy foo, but the first file will still exist with its original name. After you use mv, the original file no longer exists, but after you use cp, that file stays and a new copy is made.
  • mv: The mv command moves a file to a different location or renames a file. Examples are as follows: mv file foo renames the original file to foo. mv foo ~/Desktop moves the file foo to your desktop directory but does not rename it. You must specify a new filename to rename a file.
  • To save on typing, you can substitute ~ in place of the home directory.
    Note: If you are using mv with sudo, you will not be able to use the ~ shortcut. Instead, you will have to use the full pathnames to your files.
  • rm: Use this command to remove or delete a file in your directory. It does not work on directories that contain files.
  • ls: The ls command shows you the files in your current directory. Used with certain options, it lets you see file sizes, when files where created, and file permissions. For example, ls ~ shows you the files that are in your home directory.
  • mkdir: The mkdir command allows you to create directories. For example, mkdir music creates a music directory.
  • chmod: The chmod command changes the permissions on the files listed.
    Permissions are based on a fairly simple model. You can set permissions for user, group, and world, and you can set whether each can read, write, and/or execute the file. For example, if a file had permission to allow everybody to read but only the user could write, the permissions would read rwxr--r--. To add or remove a permission, you append a + or a - in front of the specific permission. For example, to add the capability for the group to edit in the previous example, you could type chmod g+x file.
  • chown: The chown command allows the user to change the user and group ownerships of a file. For example, chown jim file changes the ownership of the file to Jim.
System Information Commands
System information commands include the following.
  • df: The df command displays filesystem disk space usage for all partitions. The command df-h is probably the most useful. It uses megabytes (M) and gigabytes (G) instead of blocks to report. (-h means "human-readable.")
  • free: The free command displays the amount of free and used memory in the system. For example, free -m gives the information using megabytes, which is probably most useful for current computers.
  • top: The top command displays information on your Linux system, running processes, and system resources, including the CPU, RAM, swap usage, and total number of tasks being run. To exit top, press Q.
  • uname -a: The uname command with the -a option prints all system information, including machine name, kernel name, version, and a few other details. This command is most useful for checking which kernel you're using.
  • lsb_release -a: The lsb_release command with the -a option prints version information for the Linux release you're running. For example:
    user@computer:~$ lsb_release -a
    LSB Version: n/a
    Distributor ID: Ubuntu
    Description: Ubuntu (The Breezy Badger Release)
    Release:
    Codename: breezy

  • ifconfig: This reports on your system's network interfaces.

  • iwconfig: The iwconfig command shows you any wireless network adapters and the wireless-specific information from them, such as speed and network connected.

  • ps: The ps command allows you to view all the processes running on the machine.
The following commands list the hardware on your computer, either of a specific type or with a specific method. They are most useful for debugging when a piece of hardware does not function correctly.

  • lspci: The lspci command lists all PCI buses and devices connected to them. This commonly includes network cards and sound cards.

  • lsusb: The lsusb command lists all USB buses and any connected USB devices, such as printers and thumb drives.

  • lshal: The lshal command lists all devices the hardware abstraction layer (HAL) knows about, which should be most hardware on your system.

  • lshw: The lshw command lists hardware on your system, including maker, type, and where it is connected.
Searching and Editing Text Files

Search and edit text files by using the following commands.


  • grep: The grep command allows you to search inside a number of files for a particular search pattern and then print matching lines. For example, grep blah file will search for the text "blah" in the file and then print any matching lines.

  • sed: The sed (or Stream EDitor) command allows search and replace of a particular string in a file. For example, if you want to find the string "cat" and replace it with "dog" in a file named pets, type
    sed s/cat/dog/g pets.
Both grep and sed are extremely powerful programs. There are many excellent tutorials available on using them, but here are a few good Web sites to get you started:

Three other commands are useful for dealing with text.

  • cat: The cat command, short for concatenate, is useful for viewing and adding to text files. The simple command cat FILENAME displays the contents of the file. Using cat FILENAME file adds the contents of the first file to the second.

  • nano: Nano is a simple text editor for the command line. To open a file, use nano filename. Commands listed at the bottom of the screen are accessed via pressing Ctrl followed by the letter.

  • less: The less command is used for viewing text files as well as standard output. A common usage is to pipe another command through less to be able to see all the output, such as ls | less.
Dealing with Users and Groups

You can use the following commands to administer users and groups.

  • adduser: The adduser command creates a new user. To create a new user, simply type sudo adduser $loginname. This creates the user's home directory and default group. It prompts for a user password and then further details about the user.

  • passwd: The passwd command changes the user's password. If run by a regular user, it will change his or her password. If run using sudo, it can change any user's password. For example, sudo passwd joe changes Joe's password.

  • who: The who command tells you who is currently logged into the machine.

  • addgroup: The addgroup command adds a new group. To create a new group, type sudo addgroup $groupname.

  • deluser: The deluser command removes a user from the system. To remove the user's files and home directory, you need to add the
    -remove-home option.

  • delgroup: The delgroup command removes a group from the system. You cannot remove a group that is the primary group of any users.

Getting Help on the Command Line

This section provides you with some tips for getting help on the command line. The commands --help and man are the two most important tools at the command line.
Virtually all commands understand the -h (or --help) option, which produces a short usage description of the command and its options, then exits back to the command prompt. Try man -h or man --help to see this in action.
Every command and nearly every application in Linux has a man (manual) file, so finding such a file is as simple as typing man command to bring up a longer manual entry for the specified command. For example, man mv brings up the mv (move) manual.
Some helpful tips for using the man command include the following.

  • Arrow keys: Move up and down the man file by using the arrow keys.

  • q: Quit back to the command prompt by typing q.

  • man man: man man brings up the manual entry for the man command, which is a good place to start!

  • man intro: man intro is especially useful. It displays the Introduction to User Commands, which is a well-written, fairly brief introduction to the Linux command line.


There are also info pages, which are generally more in-depth than man pages. Try info info for the introduction to info pages.

Searching for Man Files

If you aren't sure which command or application you need to use, you can try searching the man files.

  • man -k foo: This searches the man files for "foo". Try man -k nautilus to see how this works.
    Note: man -k foo is the same as the apropos command.

  • man -f foo: This searches only the titles of your system's man files. Try man -f gnome, for example.
    Note: man -f foo is the same as the whatis command.


Using Wildcards

Sometimes you need to look at or use multiple files at the same time. For instance, you might want to delete all .rar files or move all .odt files to another directory. Thankfully, you can use a series of wildcards to accomplish such tasks.

  • * matches any number of characters. For example, *.rar matches any file with the ending .rar.

  • ? matches any single character. For example, ?.rar matches a.rar but not ab.rar.

  • [characters] matches any of the characters within the brackets. For example, [ab].rar matches a.rar and b.rar but not c.rar.

  • [!characters] matches any characters that are not listed. For example, [!ab].rar matches c.rar but not a.rar or b.rar.


Executing Multiple Commands

Often you may want to execute several commands together, either by running one after another or by passing output from one to another.
Running Sequentially
If you need to execute multiple commands in sequence but don't need to pass output between them, there are two options based on whether or not you want the subsequent commands to run only if the previous commands succeed or not. If you want the commands to run one after the other regardless of whether or not preceding commands succeed, place a ; between the commands. For example, if you want to get information about your hardware, you could run lspci ; lsusb, which would output information on your PCI buses and USB devices in sequence.
However, if you need to conditionally run the commands based on whether the previous command has succeeded, insert && between commands. An example of this is building a program from source, which is traditionally done with ./configure, make, and make install. The commands make and make install require that the previous commands have completed successfully, so you would use ./configure && make && make install.
Passing Output
If you need to pass the output of one command so that it goes to the input of the next, after the character used between the commands, you need something called a pipe, which looks like a vertical bar or pipe (|).
To use the pipe, insert the | between each command. For example, using the | in the command ls | less allows you to view the contents of the ls more easily.

Moving to More Advanced Uses of the Command Line

There are a great number of good books out there for working the command line. In addition, because most of the command line has not changed in many years, a large body of information is available on the Internet. If you need help with something, often simply searching for the command will turn up what you need.
To get you started, here are some recommendations.

Monday, 6 October 2014

Use a custom domain to enhance your reseller brand in godaddy

Use a custom domain to enhance your reseller brand.

You can customize your storefront by displaying your own domain name in the browser’s address bar. For example, your storefront URL can display as http://www.coolexample.com instead of https://www.securepaynet.net/?prog_id=1234.
We could not connect the DNS for your domain. Please follow the instructions below to update your DNS and resubmit your domain name below:
  1. Log in to your Domain Manager, and then go to the DNS records for your domain name.
  2. Add a new CNAME (Alias) record for the Subdomain Name you entered above.
  3. Point the CNAME record to cdrapplication.securepaynet.net.
  4. Save the new record. Your new record displays in the CNAME section.
For an example of how to add a CNAME, see Adding or Editing CNAME Records.
If you currently have a custom website at www.yourdomain.com, entering www for your Subdomain Name will replace your existing site. To maintain your custom website, we recommend using a different Subdomain Name, such as shop.
    

Set up CNAME record with GoDaddy

Set up CNAME record with GoDaddy

Table of Contents
  1. 1. Overview
  2. 2. Video
  3. 3. Steps

Overview

It's easy to customize your domain on GoDaddy.  Watch the video or follow the steps below to create a CNAME record and set up your custom mobile domain.

Video

Steps

1.  Login to your GoDaddy account from the GoDaddy home page.
01.jpg
2.  Click the 'Launch' button next to domains, You may have to click the 'My Account' link if you don't see the domain options.
2rm.jpg
3.  Click on the domain you are going to use.
3rm.jpg
4.  Click the DNS Zone File tab.
4rm.jpg
5.  Click Add Record
5rm.jpg
5.  Select CNAME
6rm.jpg
6.  In the two boxes place the following information:
        Host: m
        Points To: mobile.dudamobile.com
then press Save.
7rm.jpg
7.  Click on "Save Changes" toward the top right.
8rm.jpg
8. You're done! Domains can take up to 48 hours to propagate, but will usually propagate within two hours. Check back then to see your mobile site!

Friday, 12 September 2014

WordPress Showing Blank Page – Blog and Admin Both

WordPress as any other web software can have some errors that can annoyed users, but also can be fixed. There are many wordpress errors that are on the list of most common wordpress errors that with solution can be fixing and to not harm to people businesses.
One of those common wordpress error is – worpress blog and admin is showing blank page. This  error is usually happens when the user will do a new  theme installation or wordpress upgrade. So, what is happening in this situation? When the user will do a wordpress upgrade or a new theme installation the entire blog is showing a blank page and the same is happening with the wordpress admin login page.
In these situations many users of wordpress are panic and they afraid that they will lose their data and everything that they post on their wordpress blog. However, there is no need to panic and be afraid because the wordpress team has a solution for this wordpress error. There are actually two solutions if your wordpress blog and admin is showing blank page.
The first solution is to rename current installed theme folder via FTP. Many users of wordpress do not know how to do this, so if you are one of them is better to follow the steps and solve this wordpress error. If you rename the currently installed theme folder via FTP that can force wordpress to choose the default theme to be put into service and in that case you will be able to access in wordpress wp-admin.
First, you need to do is navigate to the wp-contents or theme directory via FTP. Then you can rename currently installed theme folder. For example, from the name “twentytwenty” to the name “twentytwenty-temp”. After this you can login to your wordpress wp-admin, than check if your theme is compatible with your version of WordPress and at the end you can check if your theme contains coding which can’t be executed.
Beside solution number one, there is solution number two. Solution number two is to plugin folder via FTP which will help to solve this wordpress error.
First that you need to do is actually the same thing from the first solution – navigate to the wp-contents directory via FTP. After this you can rename plugins folder to “plugins-temp”. Then you can create a new folder called “plugins” at wp-contents. After this you should try login to your wordpress wp-admin to see if the previous steps are working properly.
Then you should move your plugin from “plugins-temp” to “plugin” and activate them one by one. At the edn of solution number two you should check if any plugin is not compatible with your version of WordPress.
These two solution for this wordpress error where your blog and admin is showing blank page are really helpful and they are always working. So, when you will have this wordpress error, just not panic and search these solutions on the internet or on wordpress website.

Wednesday, 27 August 2014

Java Platform Standard Edition 8 Documentation

Oracle has two products that implement Java Platform Standard Edition (Java SE) 8: Java SE Development Kit (JDK) 8 and Java SE Runtime Environment (JRE) 8.
JDK 8 is a superset of JRE 8, and contains everything that is in JRE 8, plus tools such as the compilers and debuggers necessary for developing applets and applications. JRE 8 provides the libraries, the Java Virtual Machine (JVM), and other components to run applets and applications written in the Java programming language. Note that the JRE includes components not required by the Java SE specification, including both standard and non-standard Java components.
The following conceptual diagram illustrates the components of Oracle's Java SE products:
JDK Java Language
Java Language
  
Tools &
Tool APIs
javajavacjavadocjarjavapjdepsScripting
SecurityMonitoringJConsoleVisualVMJMCJFR
JPDAJVM TIIDLRMIJava DBDeployment
InternationalizationWeb ServicesTroubleshooting
JREDeployment
Java Web StartApplet / Java Plug-in
User Interface
Toolkits
JavaFX
SwingJava 2DAWTAccessibility
Drag and DropInput MethodsImage I/OPrint ServiceSound
Java SE
API
Integration
Libraries
IDLJDBCJNDIRMIRMI-IIOPScripting
Compact
Profiles
Other Base
Libraries
BeansSecuritySerializationExtension Mechanism
JMXXML JAXPNetworkingOverride Mechanism
JNIDate and TimeInput/OutputInternationalization
lang and util
Base Libraries
lang and util
MathCollectionsRef ObjectsRegular Expressions
LoggingManagementInstrumentationConcurrency Utilities
ReflectionVersioningPreferences APIJARZip
Java Virtual Machine
Java HotSpot Client and Server VM