1.866.883.8808
1.206.522.4402
Wowrack Home > Support Home > Unix Support
Page 1, 2
Unix
Dedicated
Server
Support
Questions

































Unix
Dedicated
Server
Support
Answers

  1. How can I access my server?
  2. How can I log out
  3. How do I restart my server?
  4. How can I create account in my server?
  5. How can I change password? Can I change the root password?
  6. How can I learn more about a specific command?
  7. A few basic directory navigation commands
  8. How can I scan specific files?
  9. What is file permission? How do I set it up?
  10. How do I see and change the time on my server? How do I change timezone? and How do I change the server time?
  11. How do I modify my network configurations?
  12. How do I upgrade Hard Disk or copy one HD to another?
  13. What is hostname?
  14. How can I access my log files?
  15. How can I know my server configuration?
  16. How do I setup a cronjob?
  17. What is RPM?
  18. How can I find out whether certain modules are installed?
  19. Can I install a module manually on my own?
  20. How can I find out what modules I currently have installed in my apache binary code?
  21. What is MySQL? How do I configure it?
  22. How do I stop and restart Apache ? How to find out what my version of Apache is?
  23. How to get Apache, MySQL and PHP running?
  24. How can I setup Virtual domain in apache?
  25. How to use and setup ftp?
  26. How can I create ftp users?
  27. What is BIND?
  28. How can I configure DNS?
  29. How do I stop Open SMTP Relay?
  30. How can I see how much resources a particular process is using?
  31. How can I display all the active process in my server?
  32. How do I install Webmin Control Panel?
  33. How can I add IP using webmin?
  34. How to enable network interface to boot up upon server restart?
  35. How do I start network interface?
1. How can I access my server? top..
You can use SSH to access your Linux server. Windows based users can download putty, an excellent SSH client to access your Linux server. Putty can be downloaded here. Once you've started Putty, select the SSH radio button and input your IP address on the host name field. Click on open and you are now connected to your server.
2. How can I log out? top..
Use the command: exit
3. How do I restart my server? top..
Use the command: shutdown -r now
4. How can I create account in my server? top..
Login as root and use the command: adduser (or useradd)
5. How can I change password? Can I change the root password? top..
If you are logged in as root, you can change any user's password by using the command: passwd <username>.
If you want to change the root password, you need to login to root and use the command: passwd
6. How can I learn more about a specific command? top..
Use the command: man
7. A few basic directory navigation commands top..
- To list files and directories, use the command: ls
- To change directory, use the command: cd <directory name>
- To create new directory, use the command: mkdir <directory name>
- To copy a file, use the command: cp <original filename> <new directory location> <new filename>
- To move a file, use the command: mv <filename> <new directory location>
8. How can I scan specific files? top..
Use the command: fgrep -r '<search term>' /<directory location>. For instance: fgrep -r 'myindex' /home
9. What is file permission? How do I set it up? top..
You can learn more about file permission from an excellent guide here.
10. How do I see and change the time on my server? How do I change timezone? and How do I change the server time? top..
- To display the time on your server, use the command: clock
- To change the timezone, use the command: timeconfig
- To change the server time, use the command: date YYMMDDHHMM
-
More information on time management on your server can be found here.
11. How do I modify my network configurations? top..
Normally, you need to change your network settings by modifying the file using file editor such as vi or pico.

- Your network gateway information is located at /etc/sysconfig/network
- Your DNS server information is located at /etc/resolv.conf
- Your IP address and network information is located at /etc/sysconfig/network-scripts/ifcfg-eth0
12. How do I upgrade Hard Disk or copy one HD to another? top..
You can find an excellent documentation on hard disk upgrade here.
13. What is hostname? top..
Hostname is the name of your server that is used to identify your server. To configure the hostname, use the command: hostname <new hostname>

You can also type: pico /etc/hosts and change your host name.
14. How can I access my log files? top..
By default, your log files are located in: /var/log. Log messages are located in: /var/log/messages
15. How can I know my server configuration? top..
Use the following set of commands:
dmesg
cat /proc/cpuinfo
cat /proc/meminfo
df -h
16. How do I setup a cronjob? top..
You can find an excellent documentation on cronjob here.
17. What is RPM? top..
RPM is the RPM Package Manager. It is an open packaging system available for anyone to use. It allows users to take source code for new software and package it into source and binary form such that binaries can be easily installed and tracked and source can be rebuilt easily. It also maintains a database of all packages and their files that can be used for verifying packages and querying for information about files and/or packages.

Red Hat, Inc. encourages other distribution vendors to take the time to look at RPM and use it for their own distributions. RPM is quite flexible and easy to use, though it provides the base for a very extensive system. It is also completely open and available, though we would appreciate bug reports and fixes. Permission is granted to use and distribute RPM royalty free under the GPL.

More information regarding RPM can be found here.
18. How can I find out whether certain modules are installed? top..
Use the command: locate <name of module> | more
19. Can I install a module manually on my own? top..
Definitely! What you need to do is access your server using SSH.

1) Download the module you want
2) Find the directory that you want the module to be installed in and type:
cd module directory name
module Makefile.pl
make
make install
20. How can I find out what modules I currently have installed in my apache binary code? top..
Login as root and use the command: /usr/local/apache/bin/httpd -l
Change /usr/local/apache if you have installed Apache in another location.
21. What is MySQL? How do I configure it? top..
Please refer to the excellent documentation on MySQL here.
22. How do I stop and restart Apache? How to find out what my version of Apache is? top..
- To stop apache, use the command: /etc/rc.d/init.d/httpd stop
- To start apache, use the command: /etc/rc.d/init.d/httpd start
- To find out the version of Apache, use the command: rpm -qa apache
23. How to get Apache, MySQL and PHP running? top..
Please refer to the excellent documentation on how to set it up here.
24. How can I setup Virtual domain in apache? top..
Please refer to the excellent documentation on virtual domain here.
25. How to use and setup ftp? top..
Please refer to the excellent documentation on ftp server setup here.
26. How can I create ftp users? top..
Please refer to the excellent documentation on ftp users here.
27. What is BIND? top..
BIND, or Berkley Internet Name Domain, is an Internet naming system. Used for DNS, which allows you to find the sites you are looking for. BIND contains entries for DNS names, so for example, if you type www.learnthat.com into your browser, the record tells your browser at what IP address to find the site.
28. How can I configure DNS? top..
Please refer to the excellent documentation on dns server setup here.
29. How do I stop Open SMTP Relay? top..
You have to change the SMTP server settings by using the following set of commands:

1) chmod 700 /etc/mail/access
2) pico /etc/mail/access
Change the work "RELAY" to "DISCARD" (there are usually 3 of them)
30. How can I see how much resources a particular process is using? top..
Use the command: ps aux
31. How can I display all the active process in my server? top..
Use the command: top
32. How do I install Webmin Control Panel? top..
Please obtain the latest download link for webmin at http://webmin.com/download.html

We're going to use the following link only as an example. (http://webmin.com/download/rpm/webmin-0.980-1.noarch.rpm)
- Start a SSH session to your server and login as root
- type: wget http://webmin.com/download/rpm/webmin-0.980-1.noarch.rpm (or the latest link provided by webmin.com)
- Once the file has been downloaded, type ls
- The file you just downloaded should appear something like: webmin 0XXXX.noarch.rpm
- Next, type: rpm -Uvh webmin-0XXXX.noarch.rpm
- Sit back and wait until the installation has completed.
- Now you can open a web browser and type: http://yourIP:10000
33. How can I add IP using webmin? top..
-
Choose the hardware option.
- Choose network configuration.
- Choose Interfaces Activated at Boot Time.
- Choose eth0.
- Choose add virtual interface.
- Just fill in the Name, the IP address, Netmask and Broadcast.
- Leave activate at boot checked "yes".
34. How to enable network interface to boot up upon server restart? top..
Answer: Put "ifconfig eth0 up" in the following file: /etc/rc.local.
This will enable "eth0" to start automatically when the server is up.

35. How do I start network interface? top..
Ans: ifconfig eth0 up : start interface
This will start eth0 interface

All trademarks, trade names, service marks and logos referenced herein belong to their respective companies.
Copyright © 2006 Wow Technologies, Inc. All rights reserved.