In Feburary 2016 30,
Log in into your iPage account. Click on the 'Scripting and Add-Ons' hyperlink in your iPage control panel, and then click on the 'CGI and Scripted Language Support' link.
Click on the 'PHP Scripting' hyperlink in the CGI and Scripted Language Support menu. Set your PHP.INI file's version type. Select either 'PHP4' or 'PHP5' from the menu box in beneath the 'Select Default PHP Version' heading. Click 'Set.'
Edit the values next to each directive you'd like to alter in the PHP.INI file. For example, you'd set your maximum post data and upload size by editing the values next to the 'post_max_size=' and 'upload_max_filesize=' field.
Click on the 'Save' button to store your changes to the PHP.INI file.
In Feburary 2016 30,
Showing posts with label PHP. Show all posts
Showing posts with label PHP. Show all posts
Tuesday, 1 March 2016
Saturday, 27 February 2016
How to Build an Online Internet DirectoryIn Feburary 2016 27,
In Feburary 2016 27,
Purchase a domain name and monthly web hosting subscription. Domain names can be purchased at the same place where you buy web hosting services such as GoDaddy.com, Register.com or LiquidWeb.com. Make the domain name an easy one to remember as this will help your Internet directory's 'brand' and it also helps repeat visitors recall the site quickly. For Internet directories, the most basic web hosting subscription can be purchased; you can always upgrade your hosting account once your directory is established and has daily traffic.
Choose an Internet directory script. These scripts are typically automatic-type programs that include the essential tools you need for an Internet directory website. Both free and paid Internet directory scripts exist; consider your skills and web design knowledge when choosing one. An example of a paid script includes eSyndiCat; free ones include PHP Link Directory and In-Portal, included in the Resources section. Free scripts may have little support from authors/creators, but you can perform modifications by yourself or pay someone to do them. Paid directory scripts usually have a support team available to help you get set up and may have extra features in the script. Look for the integration of advertisements and featured directory listings if your plan is to own a paid Internet directory; other important characteristics of an Internet directory script include comprehensive administrative panels, the ability to accept directory listings automatically or with pre-approval and plenty of categories and listings included with the script.
Upload the Internet directory script to your website. Follow the instructions in the help guides of the directory script. Get help from your web host's customer service if you need additional assistance. Many Internet directory scripts require the use of a MySQL database which is set up in the administrative control panel of your web hosting management.
Log in to your Internet directory script's administrative panel and make any modifications that are necessary. Upload a logo and/or header image for your website and change any design elements that are able to be changed. You can hire a freelance web developer (iFreelance.com and Guru.com are two sources of freelancers) to make these changes for you if you lack the skills or knowledge.
Add categories to your Internet directory website. The administrative or control panel for your directory contains options for adding, deleting, and changing categories and listings. The categories you add are dependent on the type of online Internet directory you want to create. Add local business information if you're creating a directory for a city or local area. A few possible categories include restaurants, shopping centers, retail and department stores, and Internet forums just to name a few.
Test your online Internet directory website from the user side. Make sure that your categories and listings are in the right places and that all user features included with your script work correctly.
In Feburary 2016 27,
Purchase a domain name and monthly web hosting subscription. Domain names can be purchased at the same place where you buy web hosting services such as GoDaddy.com, Register.com or LiquidWeb.com. Make the domain name an easy one to remember as this will help your Internet directory's 'brand' and it also helps repeat visitors recall the site quickly. For Internet directories, the most basic web hosting subscription can be purchased; you can always upgrade your hosting account once your directory is established and has daily traffic.
Choose an Internet directory script. These scripts are typically automatic-type programs that include the essential tools you need for an Internet directory website. Both free and paid Internet directory scripts exist; consider your skills and web design knowledge when choosing one. An example of a paid script includes eSyndiCat; free ones include PHP Link Directory and In-Portal, included in the Resources section. Free scripts may have little support from authors/creators, but you can perform modifications by yourself or pay someone to do them. Paid directory scripts usually have a support team available to help you get set up and may have extra features in the script. Look for the integration of advertisements and featured directory listings if your plan is to own a paid Internet directory; other important characteristics of an Internet directory script include comprehensive administrative panels, the ability to accept directory listings automatically or with pre-approval and plenty of categories and listings included with the script.
Upload the Internet directory script to your website. Follow the instructions in the help guides of the directory script. Get help from your web host's customer service if you need additional assistance. Many Internet directory scripts require the use of a MySQL database which is set up in the administrative control panel of your web hosting management.
Log in to your Internet directory script's administrative panel and make any modifications that are necessary. Upload a logo and/or header image for your website and change any design elements that are able to be changed. You can hire a freelance web developer (iFreelance.com and Guru.com are two sources of freelancers) to make these changes for you if you lack the skills or knowledge.
Add categories to your Internet directory website. The administrative or control panel for your directory contains options for adding, deleting, and changing categories and listings. The categories you add are dependent on the type of online Internet directory you want to create. Add local business information if you're creating a directory for a city or local area. A few possible categories include restaurants, shopping centers, retail and department stores, and Internet forums just to name a few.
Test your online Internet directory website from the user side. Make sure that your categories and listings are in the right places and that all user features included with your script work correctly.
In Feburary 2016 27,
Friday, 19 February 2016
How to Use the vBulletin Tools in a .Php FileIn Feburary 2016 19,
In Feburary 2016 19,
Open the vBulletin.zip file and locate the “do_not_upload” folder.
Double-click the “do_not_upload” folder to access the “tools.php.”
Log in to the Web server hosting your vBulletin installation by using an FTP client.
Copy and paste the tools.php file to the “admincp” folder of vBulletin.
Launch any Web browser and navigate to Domain.com/forum/admincp/tools.php. Replace “Domain.com” with the URL of your vBulletin site.
Make the necessary changes to your site using the vBulletin Tool page.
Delete the tools.php file from your vBulletin installation after you are done making changes.
In Feburary 2016 19,
Open the vBulletin.zip file and locate the “do_not_upload” folder.
Double-click the “do_not_upload” folder to access the “tools.php.”
Log in to the Web server hosting your vBulletin installation by using an FTP client.
Copy and paste the tools.php file to the “admincp” folder of vBulletin.
Launch any Web browser and navigate to Domain.com/forum/admincp/tools.php. Replace “Domain.com” with the URL of your vBulletin site.
Make the necessary changes to your site using the vBulletin Tool page.
Delete the tools.php file from your vBulletin installation after you are done making changes.
In Feburary 2016 19,
Friday, 12 February 2016
How to Connect PHP to MySQL Using WAMPIn Feburary 2016 12,
In Feburary 2016 12,
Launch a plain text editor, such as the Notepad, and create a new file.
Enter the script to connect PHP to a MySQL database by passing the hostname, username and password. For example, type:<?php
mysqli_connect('localhost', 'username', 'password') or die('Connection failed! ' . mysqli_error());
echo 'Connection successful!';
?>
Save the file as 'connect.php' and place it in the 'htdocs' directory for your WAMP implementation.
Test the connection by opening
connect.php in a Web browser and confirm that the connection was successful.
In Feburary 2016 12,
Launch a plain text editor, such as the Notepad, and create a new file.
Enter the script to connect PHP to a MySQL database by passing the hostname, username and password. For example, type:<?php
mysqli_connect('localhost', 'username', 'password') or die('Connection failed! ' . mysqli_error());
echo 'Connection successful!';
?>
Save the file as 'connect.php' and place it in the 'htdocs' directory for your WAMP implementation.
Test the connection by opening
connect.php in a Web browser and confirm that the connection was successful.
In Feburary 2016 12,
Tuesday, 9 February 2016
Why Use a Relational Database for Your Website?In Feburary 2016 09,
In Feburary 2016 09,
One of the primary reasons for using a relational database is that it makes updating and maintaining website content easier. Often within a website, the same piece of information will be included in more than one location, so if that information needs to be amended or updated, the same editing process must be carried out multiple times. With a relational database, a data item can be listed once and then read from the same location whenever it is required within the site. This means that information only needs to be updated in this one place and the changes will filter throughout the site.
Consistency
Relational databases can increase consistency in the way website content is both structured and presented. When data is kept in a database, items within the same category will be listed within the same table and a server-side scripting language such as PHP or ASP will pull the data for presenting within the site pages. The data will normally be structured in HTML and styled in CSS (Cascading Style Sheets), using the same structures for everything within a category of data, making the site structure and appearance uniform and therefore more user friendly.
Reliability
Database systems offer a reliable way to store website content and are less likely to become corrupted than static HTML files. Most Web database systems such as MySQL can be easily backed up to protect against data loss. Many Web database systems can also provide secure functions, preventing data updates from being carried out by anyone who is not authorized. For corporate needs, there are powerful database systems such as Oracle that can provide extensive levels of security.
Dynamic Functions
Within Web development, sites are described as being either static or dynamic. Sites built using server-side scripting on top of a relational database are dynamic, which is in contrast with static sites where the content is included within HTML files that are simply viewed on request by visitors. Database-driven sites are dynamic because the pages are only built when a visitor requests them, with the HTML content being written by the server-side program according to whatever is in the database. This means that relational databases make a site more fluid and changeable, potentially offering a unique user experience with each visit.
Separating Content From Style
Websites are generally more usable to people when content and style are kept separate within the code. The content of a site is the data, text and other media displayed within it, and the style is the formatting rules (for example in CSS), determining how this content should be displayed. Keeping content and style separate allows websites to adapt to different environments and lets users tailor the presentation to suit them. Database-driven websites separate content from style automatically due to their inherent design.
In Feburary 2016 09,
One of the primary reasons for using a relational database is that it makes updating and maintaining website content easier. Often within a website, the same piece of information will be included in more than one location, so if that information needs to be amended or updated, the same editing process must be carried out multiple times. With a relational database, a data item can be listed once and then read from the same location whenever it is required within the site. This means that information only needs to be updated in this one place and the changes will filter throughout the site.
Consistency
Relational databases can increase consistency in the way website content is both structured and presented. When data is kept in a database, items within the same category will be listed within the same table and a server-side scripting language such as PHP or ASP will pull the data for presenting within the site pages. The data will normally be structured in HTML and styled in CSS (Cascading Style Sheets), using the same structures for everything within a category of data, making the site structure and appearance uniform and therefore more user friendly.
Reliability
Database systems offer a reliable way to store website content and are less likely to become corrupted than static HTML files. Most Web database systems such as MySQL can be easily backed up to protect against data loss. Many Web database systems can also provide secure functions, preventing data updates from being carried out by anyone who is not authorized. For corporate needs, there are powerful database systems such as Oracle that can provide extensive levels of security.
Dynamic Functions
Within Web development, sites are described as being either static or dynamic. Sites built using server-side scripting on top of a relational database are dynamic, which is in contrast with static sites where the content is included within HTML files that are simply viewed on request by visitors. Database-driven sites are dynamic because the pages are only built when a visitor requests them, with the HTML content being written by the server-side program according to whatever is in the database. This means that relational databases make a site more fluid and changeable, potentially offering a unique user experience with each visit.
Separating Content From Style
Websites are generally more usable to people when content and style are kept separate within the code. The content of a site is the data, text and other media displayed within it, and the style is the formatting rules (for example in CSS), determining how this content should be displayed. Keeping content and style separate allows websites to adapt to different environments and lets users tailor the presentation to suit them. Database-driven websites separate content from style automatically due to their inherent design.
In Feburary 2016 09,
How to Move an OpenX ServerIn Feburary 2016 09,
In Feburary 2016 09,
Log in to your site's administrative back-end and make sure that the server points to your new domain name. Your host might do this for you automatically.
Connect to your site via an FTP client or a file manager provided by your Web host, whichever is most convenient for you. Navigate to the 'var' directory within your OpenX server files and locate the 'olddomain.com.conf.php' file, where 'olddomain' is the URL of your old domain. Right-click the file and select 'Rename.' Change 'olddomain' to your new domain name.
Double-click the newly named file to open it. Change every instance of your old domain name in the file to the new domain name. Save and close the file.
Double-click the 'default.conf.php' file. Replace every instance of your old domain name in the file with your new domain name. Save and close the file.
Open every other file with 'conf' in its name and change any instance of your old domain to the new domain. The number and names of these configuration files will vary depending on how you have previously used your OpenX server. Once all of the files point to the new domain, you are ready to use OpenX with your new domain name.
In Feburary 2016 09,
Log in to your site's administrative back-end and make sure that the server points to your new domain name. Your host might do this for you automatically.
Connect to your site via an FTP client or a file manager provided by your Web host, whichever is most convenient for you. Navigate to the 'var' directory within your OpenX server files and locate the 'olddomain.com.conf.php' file, where 'olddomain' is the URL of your old domain. Right-click the file and select 'Rename.' Change 'olddomain' to your new domain name.
Double-click the newly named file to open it. Change every instance of your old domain name in the file to the new domain name. Save and close the file.
Double-click the 'default.conf.php' file. Replace every instance of your old domain name in the file with your new domain name. Save and close the file.
Open every other file with 'conf' in its name and change any instance of your old domain to the new domain. The number and names of these configuration files will vary depending on how you have previously used your OpenX server. Once all of the files point to the new domain, you are ready to use OpenX with your new domain name.
In Feburary 2016 09,
Monday, 8 February 2016
The Cost of Starting a WebIn Feburary 2016 08,
In Feburary 2016 08,
Registering a domain name is necessary for an online business. Once a business name is established, the domain name is registered at websites such as Dotster.com, Register.com and GoDaddy.com. The cost of a domain name is dependent on the extension. For most business owners, a .com extension is beneficial because it is the most commonly known extension among people. A one-year registration service for a .com domain name is around $15. This service needs to be renewed every year.
Hosting Service
Hosting services have a wide range of prices, and prices are determined by the platform the business uses. Programming a website in .NET is usually more expensive, whereas a PHP website can be hosted for as low as $5 to $10 a month. Free services are available, but free services require ads or popups, which is not professional for business purposes.
Database
Database service is for websites that host dynamic content. The most common databases for Internet websites are mySQL and SQL Server; the former is usually a free or minimally charged service from the host of the website, and the SQL Server costs slightly more and is used with .NET websites. SQL Server costs can be as low as $10 per month.
Programming and Design
Unless the business owners have programming and design experience, it's necessary to hire a professional programmer and designer. Some shops have both services in-house. The programming and design can be accomplished using separate service providers. The designer can provide a design that the programmer works with to create the web pages. The cost of a programmer and a designer is dependent on experience and the complexity of the website. Some professionals may charge as low as $20 per hour. More advanced sites may need a highly skilled programmer and designer, which can cost $50 to $75 per hour.
Computer Resources
Owning a web-based business means that you need a computer with high-speed online service. These costs are also dependent on location and type of service. High-speed Internet access is necessary for the business owner to communicate with clients, conduct research and upload new pages and images. The cost for Internet connect can run from $30 to $100 per month.
In Feburary 2016 08,
Registering a domain name is necessary for an online business. Once a business name is established, the domain name is registered at websites such as Dotster.com, Register.com and GoDaddy.com. The cost of a domain name is dependent on the extension. For most business owners, a .com extension is beneficial because it is the most commonly known extension among people. A one-year registration service for a .com domain name is around $15. This service needs to be renewed every year.
Hosting Service
Hosting services have a wide range of prices, and prices are determined by the platform the business uses. Programming a website in .NET is usually more expensive, whereas a PHP website can be hosted for as low as $5 to $10 a month. Free services are available, but free services require ads or popups, which is not professional for business purposes.
Database
Database service is for websites that host dynamic content. The most common databases for Internet websites are mySQL and SQL Server; the former is usually a free or minimally charged service from the host of the website, and the SQL Server costs slightly more and is used with .NET websites. SQL Server costs can be as low as $10 per month.
Programming and Design
Unless the business owners have programming and design experience, it's necessary to hire a professional programmer and designer. Some shops have both services in-house. The programming and design can be accomplished using separate service providers. The designer can provide a design that the programmer works with to create the web pages. The cost of a programmer and a designer is dependent on experience and the complexity of the website. Some professionals may charge as low as $20 per hour. More advanced sites may need a highly skilled programmer and designer, which can cost $50 to $75 per hour.
Computer Resources
Owning a web-based business means that you need a computer with high-speed online service. These costs are also dependent on location and type of service. High-speed Internet access is necessary for the business owner to communicate with clients, conduct research and upload new pages and images. The cost for Internet connect can run from $30 to $100 per month.
In Feburary 2016 08,
Saturday, 6 February 2016
How to Edit Your WebsiteIn Feburary 2016 06,
In Feburary 2016 06,
If your website is content driven, it may be based in a CMS such as WordPress or Joomla. If you are unsure of this, ask the person who designed your website. To initiate changes to content on a CMS-based website, you log in to your site's administrative panel. The administrative panel offers buttons for various types of content management. After you log in, you can add, delete or edit posts and articles on your site. You can also use a CMS to change some of the other parameters of your site. For example, if your site uses WordPress, you can install a different theme to change the layout of the site, and you can install plugins to change some aspects of your site's functionality.
Changing the Content and Functionality of Your Website
If you need to edit the structure or content of your website and your site does not use a CMS, you must edit the actual files on your site. Use caution if you are implementing HTML, PHP or JavaScript for the first time. If you are not confident in your Web-development skills, the changes you make directly to code could impair the functionality of your website. In such a case, a WYSIWYG editor can be useful. WYSIWYG editors display the changes to your website as you make them, and you drag elements around rather than alter the page code in a text editor.
Changing the Visual Style of Your Website
Most of the visual flair of your website is contained in one or more Cascading Style Sheets files. These files tell the HTML of your site where to position certain elements, how to color the background and what font to use. By editing the CSS files, you change the stylistic aspects of a page. If you rename a CSS file, you must make sure that the applicable HTML files link to the renamed version of the file. This link is in the HTML document's
section. With a WYSIWYG editor, you can confidently make these changes if you are not comfortable making them to your site's code.
Uploading Files to Your Website
After you make changes to your site's code, upload the files to your hosting server for the changes to take effect. If the changes are minor, you may want to download a copy of the file onto your local computer, edit that and then return it to the server. For example, if you want to change one line in your website's index.html file, download it from the server first to make sure that you are modifying the most current version of the file. After you make the changes, upload the file to the server, making sure to overwrite the old one. You accomplish these transfers using a File Transfer Protocol client. An FTP client connects your computer to a remote server for the exchange of files.
In Feburary 2016 06,
If your website is content driven, it may be based in a CMS such as WordPress or Joomla. If you are unsure of this, ask the person who designed your website. To initiate changes to content on a CMS-based website, you log in to your site's administrative panel. The administrative panel offers buttons for various types of content management. After you log in, you can add, delete or edit posts and articles on your site. You can also use a CMS to change some of the other parameters of your site. For example, if your site uses WordPress, you can install a different theme to change the layout of the site, and you can install plugins to change some aspects of your site's functionality.
Changing the Content and Functionality of Your Website
If you need to edit the structure or content of your website and your site does not use a CMS, you must edit the actual files on your site. Use caution if you are implementing HTML, PHP or JavaScript for the first time. If you are not confident in your Web-development skills, the changes you make directly to code could impair the functionality of your website. In such a case, a WYSIWYG editor can be useful. WYSIWYG editors display the changes to your website as you make them, and you drag elements around rather than alter the page code in a text editor.
Changing the Visual Style of Your Website
Most of the visual flair of your website is contained in one or more Cascading Style Sheets files. These files tell the HTML of your site where to position certain elements, how to color the background and what font to use. By editing the CSS files, you change the stylistic aspects of a page. If you rename a CSS file, you must make sure that the applicable HTML files link to the renamed version of the file. This link is in the HTML document's
section. With a WYSIWYG editor, you can confidently make these changes if you are not comfortable making them to your site's code.
Uploading Files to Your Website
After you make changes to your site's code, upload the files to your hosting server for the changes to take effect. If the changes are minor, you may want to download a copy of the file onto your local computer, edit that and then return it to the server. For example, if you want to change one line in your website's index.html file, download it from the server first to make sure that you are modifying the most current version of the file. After you make the changes, upload the file to the server, making sure to overwrite the old one. You accomplish these transfers using a File Transfer Protocol client. An FTP client connects your computer to a remote server for the exchange of files.
In Feburary 2016 06,
Labels:
actual,
aspects,
caution,
files,
functionality,
HTML,
implementing,
PHP,
plugins,
structure
Thursday, 4 February 2016
How to Create a Proxy Server With PHPIn Feburary 2016 04,
In Feburary 2016 04,
Search online for a good Web hosting company that offers support for PHP and sign up for an account. Because PHP is so widely used, most companies offer support for it by default. Furthermore, you can run PHP scripts on almost any free Web host.
Use a FTP client to log in to your Web hosting account. Navigate to the 'public_html' folder and open the 'php.ini' file in a text editor ( for example, Notepad or WordPad). Set the 'safe_mode' setting to 'Off' and the 'allow_url_fopen' setting to 'On' to allow the proxy server to connect to other servers. Save and close the file. If these two settings are not present, add them at the bottom of the file.
Open your favorite Web browser on your computer and navigate to the 'code.google.com/p/caprio' Web page. Click on the 'Downloads' link in the navigation bar and click on the 'PHP Proxy Script' link in the next page. Click on the 'CaprioPHP-Script.zip' link and save the archive on your hard disk drive.
Right-click on the archive and select 'Extract' from the resulting menu. Select a location to save the script to and click the 'Extract' button. Upload the 'PHProxy.class.php,' 'index.php,' 'url_form.inc,' 'javascript.js' and 'style.css' files to the root of your Web hosting account.
Use the Web browser to navigate to your account's URL and enter the destination URL in the box. Click on 'OK' to save the changes and your proxy server is up and running. It will forward all requests from your users to the destination URL.
In Feburary 2016 04,
Search online for a good Web hosting company that offers support for PHP and sign up for an account. Because PHP is so widely used, most companies offer support for it by default. Furthermore, you can run PHP scripts on almost any free Web host.
Use a FTP client to log in to your Web hosting account. Navigate to the 'public_html' folder and open the 'php.ini' file in a text editor ( for example, Notepad or WordPad). Set the 'safe_mode' setting to 'Off' and the 'allow_url_fopen' setting to 'On' to allow the proxy server to connect to other servers. Save and close the file. If these two settings are not present, add them at the bottom of the file.
Open your favorite Web browser on your computer and navigate to the 'code.google.com/p/caprio' Web page. Click on the 'Downloads' link in the navigation bar and click on the 'PHP Proxy Script' link in the next page. Click on the 'CaprioPHP-Script.zip' link and save the archive on your hard disk drive.
Right-click on the archive and select 'Extract' from the resulting menu. Select a location to save the script to and click the 'Extract' button. Upload the 'PHProxy.class.php,' 'index.php,' 'url_form.inc,' 'javascript.js' and 'style.css' files to the root of your Web hosting account.
Use the Web browser to navigate to your account's URL and enter the destination URL in the box. Click on 'OK' to save the changes and your proxy server is up and running. It will forward all requests from your users to the destination URL.
In Feburary 2016 04,
Wednesday, 3 February 2016
How to Change PHP Settings on PleskIn Feburary 2016 03,
In Feburary 2016 03,
Log in to your Plesk control panel as the administrator.
Click 'Domains,' then open the domain with the PHP settings you want to alter.
Click 'Web Directories,' and then select 'Preferences.'
Press 'OK,' and then click the 'PHP settings' button.
Make the changes you wish to make in the onscreen editor, then click the 'Save' button to apply them and then restart the Apache Web server.
In Feburary 2016 03,
Log in to your Plesk control panel as the administrator.
Click 'Domains,' then open the domain with the PHP settings you want to alter.
Click 'Web Directories,' and then select 'Preferences.'
Press 'OK,' and then click the 'PHP settings' button.
Make the changes you wish to make in the onscreen editor, then click the 'Save' button to apply them and then restart the Apache Web server.
In Feburary 2016 03,
How to Install Plesk on UbuntuIn Feburary 2016 03,
In Feburary 2016 03,
Open your network configuration file in a text editor as the root user. To open the file in Gedit as root, open Gnome Terminal and enter “gksudo gedit /etc/network/interfaces” (without quotes, here and throughout) at the prompt. Ubuntu's default interface uses DHCP to assign an IP address at boot, but you must change this configuration to use a static IP address instead. Comment out the line “iface eth0 inet dhcp” by adding a “#” symbol to the beginning of the line, then add the following seven lines to the bottom of the file:iface eth0 inet static
address
network
netmask
broadcast
gateway
dns-nameservers
Substitute your server's value for each number inside brackets in the above lines, but don't include the brackets in the code you add to the file. You can get these values from your Web host or Internet service provider. Save the file and close Gedit.
Restart your network interface to apply the changes by entering “sudo ifdown eth0 && sudo ifup eth0” at the prompt.
Install PHP 5 by entering “sudo apt-get install php5” at the prompt. If you already have the latest version of PHP 5 installed or you don't plan to install the Web Presence Builder, you can skip this step. The Parallels Web Presence Builder is a custom website designer that supports drag-and-drop graphical site construction, shopping cart checkout and traffic analytics. Many hosting resellers use Presence Builder as an all-in-one solution for their customers.
Uninstall AppArmor to prevent conflicts between the two services. By removing AppArmor, you introduce a level of vulnerability to your system, so you may want to install an alternative kernel security layer such as SELinux or Grsecurity. To uninstall AppArmor, enter “sudo apt-get remove apparmor” at the prompt.
Open firewall ports for any Plesk components you want to use. Visit the Parallels site to see a list of Plesk components and their associated ports (link in Resources). At the minimum, you probably need FTP, SSH, DNS, HTTP, Auth and a database component such as MySQL or PostrgreSQL. To open a port in the default Ubuntu firewall, enter the following command at the prompt:sudo ufw allow Substitute the appropriate port number for “port number,” but don't include the brackets in the command.
Download the one-click installer from the Plesk site using the wget command. At the terminal prompt, enter the following command to launch the installer:wget -O - http://autoinstall.plesk.com/one-click-installer | shThis command downloads the Plesk installation script to your current directory and installs Plesk in Ubuntu. After about five minutes, when the installation completes, you can log in to the Plesk control panel and initialize the service.
Open a Web browser and enter “http://<your IP address>:8443” in the address bar, substituting your IP address for “
” and omitting the brackets. The Plesk control panel displays a first-time configuration page, and you're prompted to enter your name, phone number and email address and create a new password.
Purchase a Plesk license by clicking “Tools and Settings,” selecting “License Management” and choosing “Order New Key.” You can use the Plesk control panel through the trial key until your license is authenticated.
In Feburary 2016 03,
Open your network configuration file in a text editor as the root user. To open the file in Gedit as root, open Gnome Terminal and enter “gksudo gedit /etc/network/interfaces” (without quotes, here and throughout) at the prompt. Ubuntu's default interface uses DHCP to assign an IP address at boot, but you must change this configuration to use a static IP address instead. Comment out the line “iface eth0 inet dhcp” by adding a “#” symbol to the beginning of the line, then add the following seven lines to the bottom of the file:iface eth0 inet static
address
network
netmask
broadcast
gateway
dns-nameservers
Substitute your server's value for each number inside brackets in the above lines, but don't include the brackets in the code you add to the file. You can get these values from your Web host or Internet service provider. Save the file and close Gedit.
Restart your network interface to apply the changes by entering “sudo ifdown eth0 && sudo ifup eth0” at the prompt.
Install PHP 5 by entering “sudo apt-get install php5” at the prompt. If you already have the latest version of PHP 5 installed or you don't plan to install the Web Presence Builder, you can skip this step. The Parallels Web Presence Builder is a custom website designer that supports drag-and-drop graphical site construction, shopping cart checkout and traffic analytics. Many hosting resellers use Presence Builder as an all-in-one solution for their customers.
Uninstall AppArmor to prevent conflicts between the two services. By removing AppArmor, you introduce a level of vulnerability to your system, so you may want to install an alternative kernel security layer such as SELinux or Grsecurity. To uninstall AppArmor, enter “sudo apt-get remove apparmor” at the prompt.
Open firewall ports for any Plesk components you want to use. Visit the Parallels site to see a list of Plesk components and their associated ports (link in Resources). At the minimum, you probably need FTP, SSH, DNS, HTTP, Auth and a database component such as MySQL or PostrgreSQL. To open a port in the default Ubuntu firewall, enter the following command at the prompt:sudo ufw allow Substitute the appropriate port number for “port number,” but don't include the brackets in the command.
Download the one-click installer from the Plesk site using the wget command. At the terminal prompt, enter the following command to launch the installer:wget -O - http://autoinstall.plesk.com/one-click-installer | shThis command downloads the Plesk installation script to your current directory and installs Plesk in Ubuntu. After about five minutes, when the installation completes, you can log in to the Plesk control panel and initialize the service.
Open a Web browser and enter “http://<your IP address>:8443” in the address bar, substituting your IP address for “
” and omitting the brackets. The Plesk control panel displays a first-time configuration page, and you're prompted to enter your name, phone number and email address and create a new password.
Purchase a Plesk license by clicking “Tools and Settings,” selecting “License Management” and choosing “Order New Key.” You can use the Plesk control panel through the trial key until your license is authenticated.
In Feburary 2016 03,
Subscribe to:
Comments (Atom)