|
June 10, 2009
Filed Under (lxadmin) by admin on 10-06-2009
Lxadmin Host-In-A-Box, a full featured web hosting platform that supports apache/lighttpd, bind/djbdns and pure-ftpd, is the most revolutionary thing to happen to vps hosting. When used with lighttpd, it finally makes vps hosting a reasonable choice to the millions of people who are suffocating in the shared environment. The primary barrier to the vps adoption was the minimum RAM requirement, which was completely independent of the number of websites. Even if you had only a couple of websites, to run it comfortably you would at least need 256MB RAM. With its 15MB RAM requirement Lxadmin HIB finally makes a vps affordable to everyone. HostInABox is tightly integrated with our VPS control panel. Main Features:
General Features:
Client functions:
Mail Functions
Stats
Web functions
Subdomains
Database Management
Server Functions:
Related posts
June 10, 2009
Filed Under (lxadmin) by admin on 10-06-2009
Much of what you need to know can be found clicking the ‘Help’ tab at the top right in your lxAdmin control panel. A direct link is here: http://doc.lxlabs.com/lxadmin/admin/ If you got ‘hostinabox’, the login to lxadmin will be at http://your-ip:7778 or https://your-ip:7777. The initial login name and pass are both ‘admin’. If you installed lxadmin from your VPS control panel, you can either access it with the above urls or you can click on ‘Lxadmin management’ tab in the VPS control panel. The First thing you should do (after you change the password) is to update lxadmin by clicking the ‘update home’ icon:
Next, you should create your main client. Its not a good idea to start creating domains under the admin account. Create a new client and name it whatever you want. This is the client where you will create your main domain hosting.. the domain name that you will use also for your dns nameservers. Say your main domain name is ‘cool-domain.org’, later in this tutorial you will be setting up 2 nameservers, ns1.cool-domain.org and ns2.cool-domain.org and assigning them 2 ip addresses that you own with your VPS.
The next thing to do is to set up your dns templates. At first, you may notice that there is an ip address set to be used when you go to create your first dns template : 207.10.240.20. THIS IS NOT A CORRECT IP! Make sure you create a new template and pick one of your own IP addresses. If it will not allow you to pick another ip address, you did not update lxadmin…go update it. The most common error our clients make is that they use this wrong ip instead of the ips that belong to their VPS.
Now you are ready to create your first domain! Go to the main client you created earlier, and choose the ‘Domains’ icon. Then click the ‘Add Domain’ Tab. You will see there is a spot to pick the dns template…pick one of the ones you created that you want to use for the domain. You next will set up the DNS for this new domain. Pick the ‘Manage Dns’ icon:
If this is your main domain where you will define your nameservers, (remember ns1.cool-domain.org, ns2.cool-domain.org ?) you will add 2 ‘a’ records here. Say the first 2 ips you own are 207.10.240.20 and 207.10.240.21. you will create an ‘a’ record for ‘ns1′ to point to the first ip and an ‘a’ record for ‘ns2′ to point to the second ip. Now your next move is to go to your domain registrar (where you bought the domain, for example, godaddy, enom, etc…) and create the custom nameservers there and add what ip addresses they are assigned in your lxadmin. After 24-48 hours (the time for the new nameservers you created at your registrar to propagate all world root-servers) Your nameservers will now work and can be used for all new domains created on your lxadmin hosting management! Notice Below how the 2 ns1,ns2 entries are added as ‘a’ records:
Related posts
July 03, 2008
Filed Under (General) by admin on 03-07-2008
a simple trick using the .htaccess file A simple tutorial which only involves editing one little file. Useful for those of us who have mime-typed extensions or who are creating lots of test design files and want an easy way to make the design they like best their default file. 1. Create a file called .htaccess in the /public_html/ folder if you don’t have it. I think one should be there already when you get your site so if it isn’t you should create it anyway!
3. Replace best_design.weirdext with the file you want your index page to be. Related posts
March 24, 2008
Filed Under (Linux Security) by admin on 24-03-2008
The purpose of syctl hardening is to help prevent spoofing and dos attacks. This short guide will show what I have found to be a good configuration for the sysctl.conf configuration file. The most important of the variables listed below is the enabling of syn cookie protection. Only place the bottom two if you do not want your server to respond to ICMP echo, commonly referred to as ICMP ping or just ping requests. Backup sysctl.conf : # mv /etc/sysctl.conf /etc/sysctl.conf.bak Open to edit the file: # nano -w /etc/sysctl.conf Now paste the following into the file, you can overwrite the current information. #Kernel sysctl configuration file for Red Hat Linux # Disables packet forwarding # Disables IP source routing # Enable IP spoofing protection, turn on source route verification # Disable ICMP Redirect Acceptance # Enable Log Spoofed Packets, Source Routed Packets, Redirect Packets # Disables IP source routing # Enable IP spoofing protection, turn on source route verification # Disable ICMP Redirect Acceptance # Disables the magic-sysrq key # Decrease the time default value for tcp_fin_timeout connection # Decrease the time default value for tcp_keepalive_time connection # Turn off the tcp_window_scaling # Turn off the tcp_sack # Turn off the tcp_timestamps # Enable TCP SYN Cookie Protection # Enable ignoring broadcasts request # Enable bad error message Protection # Log Spoofed Packets, Source Routed Packets, Redirect Packets # Increases the size of the socket queue (effectively, q0). # Increase the tcp-time-wait buckets pool size # Allowed local port range After you make the changes to the file you need to run the commands below to enable the changes without a reboot: # /sbin/sysctl -p # sysctl -w net.ipv4.route.flush=1 Tags: hardening, syctlRelated posts
March 24, 2008
Filed Under (Linux HOW TOs) by admin on 24-03-2008
vnStat is a network traffic monitor for Linux that keeps a log of daily network traffic for the selected interface. vnStat isnt a packet sniffer. The traffic information is analyzed from the /proc -filesystem, so vnStat can be used without root permissions. Installing: # cd /usr/local/src Making vnstat root only: # chmod 700 /usr/bin/vnstat Now you can check the stats, use help for possible commands: # vnstat –help Tags: vnstatRelated posts
March 24, 2008
Filed Under (Linux HOW TOs) by admin on 24-03-2008
You should hide apache banner information from being displayed so the attackers are not aware of what version of Apache version you are running and thus making it more difficult for them to exploit any system holes and thus making vulnerability scanners work harder and in some cases impossible without knowing banner information. # nano /etc/httpd/conf/httpd.conf Change the ServerSignature line to: ServerSignature Off Change the ServerTokens line to: ServerTokens Prod Restart Apache: # /sbin/service httpd restart Tags: apache, serversignature, servertokensRelated posts
March 24, 2008
Filed Under (Linux HOW TOs) by admin on 24-03-2008
You should often check for updates that will fix certain bugs or improve system stability. Exploits are discovered from time to time thus leaving your system exposed to new attacks. To list available updates: # up2date -l To install updates that are not excluded: # up2date -u To install updates including excluded: # up2date -uf Tags: patches, up2dateRelated posts
March 24, 2008
Filed Under (Linux HOW TOs) by admin on 24-03-2008
The /etc/login.defs file defines the site specific configuration for the shadow password suite. By default the minimum password length is “5″ characters. Lets change this to “8″ for stronger passwords. nano /etc/login.defs Change: PASS_MIN_LEN 5 to PASS_MIN_LEN 8 Now type Ctrl+X then hit Y and enter No tag for this post.Related posts
March 24, 2008
Filed Under (Linux HOW TOs) by admin on 24-03-2008
Change directory to find your city time zone: # cd /usr/share/zoneinfo In our case it is: Asia/Manila To change: # ln -sf /usr/share/zoneinfo/Asia/Manila /etc/localtime To verify it is correct: # date You should see something similar to this: Mon Mar 24 07:10:11 PHT 2008 That’s it! Tags: linux, timezoneRelated posts
March 24, 2008
Filed Under (Linux HOW TOs) by admin on 24-03-2008
New to Linux? Need to change the hostname of you server? (A hostname is the unique name by which a network attached device is known on a network.) If you enter the wrong hostname during the installation, and you need to change the hostname, here is how you do it: Edit file /etc/sysconfig/network using your favorite editor: # nano /etc/sysconfig/network Look for HOSTNAME=xxxxxx Change the xxxx to the name you wish to set for your computer. (ex: HOSTNAME=server.mabuhayhosting.com) Save the file by typing: Ctrl+X then hit Y and enter Now restart the xinetd service: # service xinetd restart Done! You have just changed your hostname in Linux platform Tags: hostname, linux, xinetdRelated posts |
|