Cacti 初始化配置

1334阅读 0评论2011-02-14 sun17cisco
分类:

Networking
By default, the server boots using DHCP, so if that isn't going to work in your setup, you will have to modify it yourself. You can use the command
netconfig
 
to change the IP and subnet to your network's standard. Please remember, that after modifying any Network Configuration, it is necessary to restart the networking service. You can do so with this command
service network restart
 

Synching the Time
After first boot you will want to issue the command:
ntpdate -u 0.pool.ntp.org
 
several times to synchronize your time. NTP is set to run on startup to keep your clock synchronized, but it will not update properly if your hardware clock is way off.

Changing the root password
You will also want to change the default root password, as its very insecure if you were to leave the server internet accessible.

FTP is not enabled
FTP is disabled on the server for security reasons. To add or modify files on the server from Windows, it is recommended that you use a program such as
or

Nightly Updates
Yum is set to run automatically every night in order to keep your CentOS install updated with the latest security patches. This may cause different issues when packages are updated, and you can no longer access the resource until the proper services are rebooted (ex: MySQL). If this becomes an issue, then you can disable the nightly Yum update by issueing these commands.
service yum stop
chkconfig yum off
 

Alternate Keyboards
By default,
is set to use the qwerty keyboard layout. This ofcourse can easily be changed by installing an extra package. Just run these 2 simple commands (your Cacti server must be able to access the internet) and you will be able to change your keyboard layout through a text GUI
yum install system-config-keyboard
system-config-keyboard
 

Changing the Timezone
You can change the timezone to your local timezone in 2 ways, you can either use webmin to modify the timezone, or by installing a simple text GUI to allow you to do it.
yum install system-config-date
system-config-date
 

Installing a Graphical Environment
is meant to be a server, and the fewer the resources the server uses for background processes, the better. If you absolutely have to have a graphical environment, you can easily install one with this command (this should be all one line).
yum groupinstall "X Window System" "KDE (K Desktop Environment)"
上一篇:Catalyst 2960 MAC地址与端口绑定
下一篇:【H3C】华为7506交换机端口镜像