Command Page It's in the /dev/pts .
Add IP
IP addr Add 172.25.254.xxx dev eth0
Increase Gateway
Route add default GW 172.25.254.251
View Gateway
Route-n
Physical and virtual machines do not implement communication steps in the same network segment
Brctl Show See if the vnet0 of the virtual machine is loaded onto the physical machine
Brctl addif vnet0 Dev br0
Ip Link Set Dev vnet0 up
Reboot
Create a new virtual machine methods of using snapshots
Qemu-img create-f qcow2-b rhel6-base.qcow2 VM
Mo .....
Soft links
Ln-s cacti-0.8.8h Cacti
Mysql
Mysql 's mysql.sock kit in /var/lib/mysql
Mysql_secure_installation initializing MySQL
to login Mysql-uroot-pwestos with a password
Mysqladmin-pwestos Create cacti creating a user cacti
Show databases; look at the library it owns.
Mysql-pwestos Cacti < cacti.sql Import a sheet
Mysql-pwestos-e "Grant all on cacti.* to [e-mail protected] identified by ' Westos '; "
Create a user to specify that his uid is the specified directory of /var/www/html/cacti
Useradd-u 1000-m-d/var/www/html/cacti Cacti
Su-cacti Switching users
CRONTAB-E Writing Data
when viewing a file Add & can let this process into the background do not occupy your current
in Redhat6.5
When IP is configured , there is no result after network restart or no restart
Cd/etc/udev/rules.d
Delete 70-persistent.rules 70-persistent-net.rules
Retry again
to login Mysql-uroot-pwestos with a password
Grant Select on test.* to [email protected] ' 172.25.49.4 ' identified by ' Westos ' ; Authorized
Rpm-q Service Query rpm-e Service Delete
Scheduled Tasks can be seen in/var/spool/cron
This article is from the "11889001" blog, please be sure to keep this source http://11899001.blog.51cto.com/11889001/1860552
Linux Learning Notes virtual machine and physical machine communication