Creating A New User In Centos
Dec 23, 2007How do you create a user and group in Centos?
useradd says command not found.
How do you create a user and group in Centos?
useradd says command not found.
Here is a summary:
One) allow users to register at the homepage. Then give them automatically a URL such as username mydomain com
Two) A catch-all subdomain so that if someone browses to xxxx mydomain d0t com and xxxx is not registered by any user; then it is redirected to www mydomain com
Three) All registered subusers details to be maintained in Mysql database (this seems to be easy)
Four) If possible, impose individual quota on each registered user (not really critical).
Which hosting plan should I go with for this? VPS? Shared hosting? Something else?
any particular company? what's the best approach for automatically creating the subdomain for each user upon registering at the site?
how can i create directories in my (public_html / htdocs folder) that have disk space and traffic quota?
i activated the disk quota to the native linux file system and i tried to create a user but i could not put this user in any folder in the public_html (i dont know how to do this) also there is no option to create bandwidth quota..
one more detail is that the folders need to be protected with login and password because people may try to enter this folders (e.g. www.mydomain.com/protectedfolder)
all this using webmin or another free good script.
I have CentOS 5.1, and I can create a new user to be added to the wheel, however it will not let me login directly through SSH.
The only way I can login as that user is to su - from the root account. I have checked, and the user is added to the wheel, and it does recognize the password when I su -.
Does anyone know what could be causing this? Is there some mundane step I missed?
info on user preferences when buying a VPS for running CentOS.
Feel free to PM me if you do not want your answers to be publicly displayed.
When you are buying a VPS to run CentOS:
1. Do you want to install the operating system on it or do you want it pre-installed with defaults?
2. Do you want the server to run Gnome desktop or is SSH access enough?
3. If you have it running a desktop, is accessing it using VNC over an SSH tunnel connection acceptable or do you need some other way to access the GUI?
I thought I knew enough about my .htaccess stuff to do this, but I can't seem to work it out. What I want to do is if a user visits domain.com/folder, we check to see if the folder exists. If so, show as normal (IE domain.com/support)
If a user visits domain.com/dynamicusername (dynamicusername is not a physical folder), redirect to dynamicusername.domain.com
What is the difference between CentOs 5.0 and Centos 4.5? (Both contains Plesk)
Would CentOS 5 contain more updates and fixes? CentOS 4.5 be more stable?
when I find the subscription from the admin side of PPA, if I select "Login as user" I've noticed that it is different from actually logging in as the user - for example - "add domain alias" is missing when I login as a customer - but not as an admin... I need my customers to add their own aliases and manage them - how do I add that feature to the client login side?
View 9 Replies View RelatedFirst thing I would like to clear off I DO NOT WANT TO MAKE VPS FOR PROFITS/BUSINESS. I need to make VPS because me and my friend have bought this server
[url]
I want to make VPS because my friend like to use Ubuntu desktop and I like to use CentOS from the OVH website they pretty much give you the basics to make VPSes so I have chosen virtuozzo
So my enquiry is
1. Can I have Ubuntu desktop and CentOS on it at the same time
2. How easy is it to create VPSes using virtuozzo since I need a GUI and ease of use
3. Also if I want can I change from CentOS to forexample Ubuntu desktop too
4. Also does anyone know and good tutorials
My main use of creating different VPS with different OS on them so I can learn there language and other stuff
I want to create from a Dedicated server some vps.
What software i will need ?
Some basic info on how to create a vps offering Direct Admin as a panel?
Cpanel i think is more expensive...
When you create a SSL certificate for www.mydomain.com vs mydomain.com, is the "www" vs "non-www" decided when you generate the CSR (for example, in cpanel/whm)? Or is it "decided" when you actually purchase the certificate?
View 14 Replies View RelatedI have done the following guides below but I cant connect my ftp account. And i dont know my directory to public html
I would like to create an account for my staff but im quite novice of this and i dont know the directories name
Create a FTP user group. eg: ftpaccounts
#/usr/sbin/groupadd ftpaccounts
Add a new user to this group, and set the default path of that user to /home/user/.
#/usr/sbin/adduser -g ftpaccounts -d /home/user/ testuser
Set a password for the newley created user.
#passwd testuser
Set ownership of /home/user to the testuser and ftpaccounts.
#chown testuser:ftpaccounts /home/user
Give Read/Write access to testuser and all members in ftpaccounts
#chmod 775 /home/user
Edit /etc/vsftpd/vsftpd.conf file and make sure 'local_enable=YES' is uncommented.
Restart the vsftpd service.
#/etc/init.d/vsftpd restart
The server I got from LayeredTech has two hard drives, obviously they set up the first hard drive with Linux etc.
The second hard drive is just there, not showing any partitions in 'fdisk' when I checked, so I assume they just leave it blank in every new server for the owner to deal with however they want.
I've been looking up guides to create a new partition for the full size of the hard drive and then mount it. However, it hasn't been very successful. Everytime I created the partition in fdisk, I have to set a size, and then when I mount it, it only says that the drive is ~98MB big.
Is there a way to partition the drive to its full capacity? And then mount it somewhere on the system? Or anywhere I can go to to find out easily?
I have a old pentium 2 lying around. I was actually wondering if I install a smll linux distro such as DSL linux, is there a way to make it into a fileserver only?
3 comptuers will connect to it.
My main computer and server will use the same internet (ive got a 5MBS line but right now I am just doing an expirment so I dont care if its slow.)
theres a laptop which connects wirelessly using my neighbours (i dont have wireless) so thats a whole different IP and differnt ISP.
and my dads computer which is about 3 KM away.
So I want to do it, store like a couple of word documents
I want to create a forum and have not got any idea in where to start. All I have at the moment is a PhpBB2 template which I would like to use.
The few questions I have are:
1: Do I need to purchase Webspace, if so which are recommended?
2: How would I install the template to the webspace and would the users login information get stored in a seperate database or would that come with the web hosting?
All help would be very much appriciated as i have no idea where to start and how to get it up and running.
I have an AMD Athlon 1.2MHz with 512MB of RAM. I would like to change this computer into a server where to host my websites. However I do not have any experiance on what web hosting includes.
I am definitly going to use tomcat or jetty as application server. Would it be enough this computer? could I just upgrade it? would the people comming on my website experiance a very slow loading?
I have a dedicated business III linux root server (CentOS + Plesk) with 1and1.co.uk and have two domains purchased through them. What I want to do is set up resellers and then the resellers can point their own external domains to their reseller packages. To test the process, this is what I have done...
In the 123-reg.co.uk control panel (where I have my own list of domains), I change the nameservers from ns/ns2.123-reg.co.uk of example.com to ns59/ns60.1and1.co.uk and then proceed to set up web forwarding to my servers IP. Now, after setting up a reseller account through Plesk, I log in and click add the domain example.com. After waiting 24+ hours, when I type in example.com, I get the 'address not found' message through my browser. Clearly something is not set up right.
The only way I can host external domains is to use the domain control panel in the 1and1 screens to transfer an external domain to my root package - not an efficient way of setting up a reseller account.
Does anybody have any guideance on where I am going wrong? Do I need to set up my own nameserver for reseller clients to point their domains to?
I want to set up my server (a linux dedicated server) to automatically create daily backups of the pop3, mysql, & webfiles. I want it to go to a server which i have purchased with the exact same specifications.
I am not very good at unix command line/scripting. So what I need is for someone to help me define the backup strategy, select the scripts, and tell me of how to make sure backup server is secure.
I would like to create custom nameservers for a Server i just purchased. I seem to be getting unclear messages from my Host & Domain registrar on what the process should be.
I have [url] registered. i would like to be able to provide [url]& [url]etc. to clients to use as nameservers.
i have no other servers hosting nor do i have a DNS created somewhere's else? what should be the process in getting these created?
Do i have to have full root access to create a SSL certificate, it seems if not i have to pay my the host $10 to have it setup for me!
View 1 Replies View RelatedI have some URLs like:
[url]
[url]
Now,I would like to create an alias/sub-domain for this URL. For example:
[url]-> [url]
[url]-> [url]
how this can be done? Do I have to create a subdomain for this? But when I try to create a subdomain throught the OLM control panel, it asks me for the real path i.e. '/var/www/html/subdomain_folder' which I don't have in this case. Secondly, can this be done without modifying any information in the DNS? Changing DNS costs be $5/change from OLM
I've created many vpn connections in the past using private ip addresses allocated automatically but I haven't really found much on making a vpn server that hands out a dedicated ip address.
The problem:
Basically, I have Windows Server 2003 x64 Enterprise and an extra public IP address that is unblocked from the internet. I have a private server (Windows Server 2003 Enterprise R2 i386) sitting here at home that is behind many firewalls (both my isp and my own) that controls my x10 light system, etc.
I have custom written software so that within my home network, I can goto my server's IP address via a web browser and http address and bring up a control panel that controls my lights, etc. Everything works great, but when I'm on my mobile phone, I cannot access this nice control panel because it is on the internet outside of my home network.
I am wondering if there is a way to configure my public web server to act as a VPN server, accept public requests from this IP address and forward them onto my private home server that would have a vpn established 24x7. I haven't found much documentation on doing this, and I'm not entirely sure what to search for.
I have a dedicated server with no control panel. I have a main, root FTP account. But now I'd like to create an FTP account with access to just one folder.
For example, I want the FTP account to only be able to view and upload files only to "mysite.com/special/upload"
It would also be nice if the new FTP user could only modify/delete the files that he uploaded.
I have recently bought a dedicated box and want to run some gameservers on it. I know how to install server at all with hldsupdatetool. But the thing I need to know: what is the perfect command line to get 1000FPS constant server with pingbooster and cpu priority.
./hlds_run -game cstrike +maxplayers 11 +map de_dust2 +port 27015 -autoupdate - I DONT KNOW THE REST TO GET GREAT SERVERS ( i know +sys_ticrate but not the value to add after this.. )
I have a file server, and want to build a system that has network-based reload feature. However, I have no idea how to create it. Is there any tutorial to do that? So whenever I need to reload OS for my server, I can do myself, dont need to ask help from the tech in datacenter?
View 3 Replies View RelatedJust curious what the benefits are to:
- creating your own nameservers on your dedicated server
- using your datacenter's nameservers
- using your domain providers nameservers
I'm wondering if using your own nameservers uses server resources, so it might be best using your datacenters nameservers?
When an account is created in WHM, it is given an MX record of :
domain.com. 14400 MX 0 domain.com.
However sometimes people have their own MX records, that can be added easily in WHM.
Is it something that is simple to set up your own mail server, so that you could offer it potential clients?
Is this something that can be done in WHM/cPanel?
I have basic Html and webdesign skills other than that zilch
I am working on my assignment for uni. and wanted to know if I can create multiple sub domains when I am hosted with a webhost.
I want to be able to do the following:users can sign up and get a subdomain of their choice.
users are allocated a limited webspace
The access to file types need to be controlled. In the sense that users can only upload/download certain file types like html, htm, jpg, gif, zip etc.
Users can have forms that work only within their subdomain.
for example the domain name is www.webworld.com
the user signs up for [url] where "mysite" is the subdomain.
the user can have a form at [url]
This form should not affect the other subdomains hosted by users. Just in case someone screws up the entire site should not be down.
Is this possible? if yes, any pointers on how I can go about getting this done?
Would the webhost help with setting this up?
Any good webhost I should consider for such a setup? Any other things I should consider like data transfer / bandwidth Would this be a very expensive affair?costs?