cPanel // Linux Server Getting Started Guide Page 1 cPanel // Linux Server Getting Started Guide cPanel for your Linux Server

Download cPanel // Linux Server  Getting Started Guide Page 1 cPanel // Linux Server Getting Started Guide cPanel for your Linux Server

Post on 07-Feb-2018

221 views

Category:

Documents

6 download

Embed Size (px)

TRANSCRIPT

<ul><li><p>AKJZNAzsqknsxxkjnsjxGetting Started Guide Page 1</p><p>cPanel // Linux Server</p><p>Getting Started Guide</p><p>cPanel for your Linux Server</p></li><li><p>Getting Started Guide: cPanel, Linux Server</p><p>Version 2.2 (1.6.2012)</p><p> Copyright 2012. All rights reserved.</p><p>Distribution of this work or derivative of this work is prohibited unless prior written permission is obtained from the copyright holder.</p><p>Trademarks used in this bookLinux is a registered trademark of Linus Torvalds.cPanel is a registered trademark of cPanel, Inc.SSH and Secure Shell are trademarks of SSH Communications Security, Inc. RedHat and Fedora are registered trademarks of Red Hat Software, Inc. Mac is a registered trademark of Apple Computer, Inc.UNIX is a registered trademark of The Open Group.Windows XP, Entourage, and Outlook are registered trademarks of Microsoft Corporation in the United States and/or other countries.Thunderbird is an unregistered trademark of the Mozilla Foundation.</p><p>All other trademarks and copyrights are the property of their respective owners.</p><p>AKJZNAzsqknsxxkjnsjxGetting Started Guide Page 2</p><p>cPanel // Linux Server</p></li><li><p>Table of ContentsIntroduction 5SECURITY INFORMATION! 5</p><p>REPROVISIONING YOUR SERVER! 6</p><p>GETTING HELP! 7</p><p>OTHER RESOURCES! 9</p><p>Setting Up Your Dedicated Server 10CHOOSING A HOST NAME, USER ID, AND PASSWORD! 10</p><p>LOGGING IN TO YOUR MANAGER FOR THE FIRST TIME! 13</p><p>Connecting to Your Dedicated Server 14CONNECTING TO YOUR SERVER USING WHM! 15</p><p>CONNECTING TO YOUR SERVER USING SSH! 20</p><p>GAINING ROOT ACCESS ON YOUR SERVER! 22</p><p>AKJZNAzsqknsxxkjnsjxGetting Started Guide Page 3</p><p>cPanel // Linux Server</p></li><li><p>Adding a Domain to Your Server 24LOGGING INTO WHM! 25</p><p>STEP 1 - CREATING AN ACCOUNT IN WHM ! 25</p><p>STEP 2 - ACCESSING CPANEL FOR YOUR DOMAIN! 27</p><p>Setting Up DNS for Your Domains 29STEP 1 - CREATING A ZONE FILE FOR YOUR DOMAIN! 29</p><p>STEP 2 - CREATING AND REGISTERING YOUR DOMAIN HOSTS ! 30</p><p>STEP 3 - ASSIGNING THE NAME SERVERS TO YOUR DOMAIN! 31</p><p>ACCESSING YOUR DOMAIN USING FTP (UPLOADING FILES)! 33</p><p>Setting Up Email on Your Server 34USING CPANEL TO SET UP AN EMAIL ACCOUNT! 34</p><p>ACCESSING YOUR ACCOUNT WITH AN EMAIL CLIENT! 36</p><p>USING WEBMAIL TO ACCESS YOUR EMAIL! 37</p><p>AKJZNAzsqknsxxkjnsjxGetting Started Guide Page 4</p><p>cPanel // Linux Server</p></li><li><p>IntroductionUnlike normal hosting plans, which put many customers' accounts on a single server, a server is reserved exclusively for the account and use of a single customer. This means that you have exclusive rights to the server's bandwidth, memory, and storage space.</p><p>When you purchase a server, you actually lease a server box that remains at our data centers, which you can configure and set up according to your preferences. </p><p>SECURITY INFORMATION</p><p>Compared with shared hosting, a server offers more power and more versatility. You can run and install virtually anything on your server. However, with this added control comes added responsibility.</p><p>You are responsible for the security, backup, and maintenance of your server.</p><p>CAUTION! Remember to keep your administrative password secure. Anyone who has administrative access to your server can manipulate the software and content that runs on your server.</p><p>AKJZNAzsqknsxxkjnsjxGetting Started Guide Page 5</p><p>cPanel // Linux Server</p></li><li><p>Unless you have Managed Backup Services with your server, we do not automatically back up your server. We do, however, offer an FTP backup service with our server accounts. For more information about our FTP backup service, please visit our website.</p><p>You can also purchase a hardware firewall for your server from us. You can use a hardware firewall to control the traffic to and from your server. For more information about our firewall service, please visit our website.</p><p>REPROVISIONING YOUR SERVER</p><p>If, at any time, you want to revert to a clean setup on your server, you can reprovision it. Reprovisioning erases all of the content on your servers hard drive. Your server resets to its state at the time you first purchased it.</p><p>You can reprovision your server by using the Hosting Control Center.</p><p>To Reprovision Your Server</p><p>1. Log in to your Account Manager.</p><p>2. Click Servers. </p><p>3. Next to the account you want to use, click Launch.</p><p>4. Under the Support section, click Reprovision Server. The Reprovision Server page displays.</p><p>AKJZNAzsqknsxxkjnsjxGetting Started Guide Page 6</p><p>cPanel // Linux Server</p></li><li><p>5. If you want to, enter a new host name and user name. These values default to the current host name and user name for the account.</p><p>6. Enter and confirm a new password, and then click Continue.</p><p>You receive a confirmation notice once your server is reprovisioned and ready to go. Typically, this takes less than five hours.</p><p>GETTING HELP</p><p>After you set up your server, you can easily get help by submitting a trouble ticket or initiating a chat session in the Hosting Control Center. Alternatively, you may contact Customer Support directly.</p><p>To Open a Trouble Ticket</p><p>1. Log in to your Account Manager.</p><p>2. Click Servers.</p><p>3. Click Launch Manager next to the server account that you want help with.</p><p>4. In the Hosting Control Center, under Support, click Trouble Tickets.</p><p>5. Enter your contact information, including an email address and phone number.</p><p>6. Under Trouble Ticket Description, enter a summary and a detailed description of your issue.</p><p>AKJZNAzsqknsxxkjnsjxGetting Started Guide Page 7</p><p>cPanel // Linux Server</p></li><li><p>7. Click Continue.</p><p>8. Review your trouble ticket information and then click Submit.</p><p>To Open a Chat Session</p><p>1. Log in to your Account Manager.</p><p>2. Click Servers.</p><p>3. Click Launch Manager next to the server account that you want help with.</p><p>4. In the Hosting Control Center, (in the top-right corner of the window) click Chat Now!</p><p>AKJZNAzsqknsxxkjnsjxGetting Started Guide Page 8</p><p>cPanel // Linux Server</p></li><li><p>OTHER RESOURCES</p><p>Use these resources to learn more about managing your server:</p><p>cPanel Documentation http://www.cpanel.net/docs.htm</p><p>You can find documentation for cPanel and WebHost Manager on cPanels website.</p><p>CentOS Documentation http://www.centos.org</p><p>You can find User Manuals on CentOS website.</p><p>AKJZNAzsqknsxxkjnsjxGetting Started Guide Page 9</p><p>cPanel // Linux Server</p><p>http://www.cpanel.net/docs.htmhttp://www.cpanel.net/docs.htmhttp://www.centos.orghttp://www.centos.org</p></li><li><p>Setting Up Your Dedicated ServerOnce you have purchased your server and weve worked on the initial configuration, you need to log in to your Hosting Control Center to finish setting things up.</p><p>The Hosting Control Center is an easy place for you to set up your servers host name, user ID, and password. You can also use it to schedule server maintenance, reprovision your server, view bandwidth stats, request additional IPs, and submit trouble tickets.</p><p>CHOOSING A HOST NAME, USER ID, AND PASSWORD</p><p>When setting up your server, you create a host name, user ID, and password for your server. This is the user ID and password that you will use to connect to your server in the future. Its a good idea to have this material ready when you log in for the first time.</p><p>Choosing a Host Name</p><p>The servers host name (also known as your account name) is a unique name for your server. If you have multiple server accounts, the host names help you differentiate among them.</p><p>A host name can be anything, as long as it:</p><p> Contains 3-15 characters</p><p> Starts with a letter</p><p> Only includes letters, numbers, periods, or a hyphen</p><p>AKJZNAzsqknsxxkjnsjxGetting Started Guide Page 10</p><p>cPanel // Linux Server</p></li><li><p> Does not start or end with a period or hyphen</p><p> Does not include any spaces or any other special characters</p><p>Choosing a User ID</p><p>A user ID is the primary ID that you use to access your server. This is also the user ID you use to access your server from an SSH or SCP program.</p><p>CAUTION! Due to security reasons, you cannot log in directly to your server as root. However, you do have root access. To gain root access to your server, log in with your usual user ID and then use the su command. </p><p>To learn more about root access, see Gaining Root Access on Your Servers. </p><p>Your user ID can be between 4 and 32 lowercase alphanumeric characters. Your user ID cannot:</p><p> Begin with a number</p><p> Contain spaces, symbols, or capital letters</p><p>AKJZNAzsqknsxxkjnsjxGetting Started Guide Page 11</p><p>cPanel // Linux Server</p></li><li><p>You cannot use the following reserved terms as a user ID:</p><p>adm</p><p>admin</p><p>administrator</p><p>anonymous</p><p>backup</p><p>binftp</p><p>body</p><p>games</p><p>gopher</p><p>guest</p><p>halt</p><p>iusrlp</p><p>mailnull</p><p>news</p><p>nfsno</p><p>nobody</p><p>nscdntp</p><p>operator</p><p>pcap</p><p>root</p><p>rpc</p><p>rpcuserrpm</p><p>smmsp</p><p>sshd</p><p>sync</p><p>system</p><p>uucp</p><p>vcsa</p><p>Choosing a Password for Your Server</p><p>You use your servers password, along with your user ID, to connect to your server. It is also the password you use when you want to gain root access to your server. Keep in mind that Assisted Service Plan servers do not allow root access.</p><p>To ensure your server is kept secure, your password must:</p><p> Contains 7-14 characters</p><p> Includes lowercase letters, uppercase letters, and numbers</p><p> Not begin with a number or symbol</p><p> Not contain backslashes, colons, single quotes, double quotes, spaces, ampersands (&amp;), or the caret symbol (^)</p><p> Not contain your user name</p><p>AKJZNAzsqknsxxkjnsjxGetting Started Guide Page 12</p><p>cPanel // Linux Server</p></li><li><p>LOGGING IN TO YOUR MANAGER FOR THE FIRST TIME</p><p>Once youve selected a host name, user ID, and password for your server, you can log in to your Hosting Control Center and finish setting it up.</p><p>To Finish Setting Up Your Dedicated Server Account</p><p>1. Log in to your Account Manager.</p><p>2. Click Servers.</p><p>3. Next to the account you want to use, click Launch.</p><p>4. On the Account Setup page, enter the host name for your server account.</p><p>5. Enter your user name and password for your account.</p><p>6. Click Continue.</p><p>7. Confirm your settings and then click Submit.</p><p>Once you click Submit, your server should be ready to use in approximately 12 hours. You receive an email message once it is ready.</p><p>AKJZNAzsqknsxxkjnsjxGetting Started Guide Page 13</p><p>cPanel // Linux Server</p></li><li><p>Connecting to Your Dedicated ServerIn general, there are two ways you can connect to your server. You can use a Web-based interface such as cPanels WebHost Manager (WHM), or you can connect directly to your server using the Secure Shell protocol (SSH). </p><p>Either way, you connect to your server using your servers IP address, the user ID, and the password you specified when you set up your account. If you are connecting to your account using WHM, log in with the user ID root instead of the user ID you specified when you set up your account. </p><p>To find the IP addresses for your server, log in to your Hosting Control Center. The Hosting Control Center lists the IP address for your server on the first page you see after you log in.</p><p>Depending on how you configured your server, you might have multiple IP addresses. You can use any of them to connect to your server.</p><p>AKJZNAzsqknsxxkjnsjxGetting Started Guide Page 14</p><p>cPanel // Linux Server</p></li><li><p>CONNECTING TO YOUR SERVER USING WHM</p><p>WebHost Manager (WHM) is a Web-based control panel that you can use to manage your server. More specifically, you can use cPanel to set up your domain, DNS, and email on your server.</p><p>Make sure you have your IP address ready before you try to log in to cPanel. Youll need to use your IP address to access cPanel on your server. You can find your servers IP address in the Hosting Control Center.</p><p>This procedure explains how to log in to WHM for the first time and includes some post- installation steps. You only need to perform these steps once.</p><p>To Access Your Dedicated Server Using WHM</p><p>1. Open a Web browser and go to:</p><p>https://ipaddress:2087/ (ipaddress is your servers IP address).</p><p>2. When the WHM login screen displays, enter root as your user name and enter the password you defined when you set up your server account, and then click OK.</p><p>AKJZNAzsqknsxxkjnsjxGetting Started Guide Page 15</p><p>cPanel // Linux Server</p></li><li><p>3. When you log in for the first time, WHM walks you through a wizard to help you set up your server. Under the Welcome to WebHost Manager section on the left, click Next.</p><p>4. The End-User License Agreement for cPanel displays on the right. Review the license agreement, and then click I Agree.</p><p>5. The Edit Setup page displays. This is where you configure the basic setup for your server. In the Server Contact E-Mail Address section, enter an administrative email address for this server.</p><p>6. In the Main Shared Virtual Host IP section, enter the default IP address for your server. Typically, this is the same IP you used to connect to WHM.</p><p>7. In the Hostname section, enter the primary domain name for your server. This needs to be a fully qualified domain name that you own. In this example, we use coolexample.com.</p><p>AKJZNAzsqknsxxkjnsjxGetting Started Guide Page 16</p><p>cPanel // Linux Server</p></li><li><p>8. Under the Primary Namserver and Secondary Namserver sections, enter ns1.coolexample.com and ns2.coolexample.com, where coolexample.com is the primary domain for your server. </p><p>This is just the preliminary step for setting up nameservers on your server. For more complete information on setting up DNS for your server, see Setting Up DNS for Domains.</p><p>9. Keep the other default settings that WebHost Manager created for you, and then click Save at the bottom of the page. </p><p>10.Under the Step 2: Setup Server Information section on the left, click Next Step.</p><p>11.Under the Step 3: Setup Quotas section on the left, click Next Step. You do not have to wait for the quota setup to finish.</p><p>12.Under the Enable Nameserver section on the right, click OK.</p><p>13.Under the Step 4: Setup Nameserver section on the left, click Next Step.</p><p>AKJZNAzsqknsxxkjnsjxGetting Started Guide Page 17</p><p>cPanel // Linux Server</p></li><li><p>14.Under the Step 5: Setup Resolver Config section on the left, click Next Step.</p><p>15.In the MySQL Root Passwd section, enter a password for MySQL on your server, and then click Change Password.</p><p>16.Under the Step 6: Set Mysql Root Password section on the left, click Finish.</p><p>17.Click Continue.</p><p>AKJZNAzsqknsxxkjnsjxGetting Started Guide Page 18</p><p>cPanel // Linux Server</p></li><li><p>The administrator interface looks like this when you log in to WHM for the first time. </p><p>This is the main dashboard that you use to manage and monitor your server. From here, you can create new domains and email accounts, manage IP addresses, and start and stop services on your server.</p><p>WHM has features to help you manage your server. To find out more about WHM and the other features not covered in this guide, visit the cPanel website at: http://cpanel.net .</p><p>AKJZNAzsqknsxxkjnsjxGetting Started Guide Page 19</p><p>cPanel // Linux Server</p><p>http://cpanel.nethttp://cpanel.net</p></li><li><p>CONNECTING TO YOUR SERVER USING SSH</p><p>Typically, only advanced users who are familiar with Linux and shell commands connect to their servers using SSH. You should be able to take care of most of your server management tasks using cPanel.</p><p>If you are a more experienced user and are comfortable using a command-line interface, you can use the Secure Shell, or SSH, protocol to connect to your server.</p><p>First, download and install an SSH client on your computer. We recommend PuTTY (http://www.putty.nl) for Windows, Mac SSH (http://www.macssh.com) for Mac, and OpenSSH for Linux or UNIX.</p><p>On...</p></li></ul>