#mount -o loop /path/file.iso /mnt
#vi /etc/yum.repos.d/rhel6.repo
[rhel]
name=rhel6
baseurl=file:///mnt
enabled=1
gpgcheck=0
Nguyễn Sĩ Nhàn
Bài đăng phổ biến
-
yum install install libxml2-devel Nguyen Si Nhan
-
With this error: hudson.remoting.ProxyException: io.fabric8.kubernetes.client.KubernetesClientException: No httpclient implementations found...
Friday, May 25, 2012
[Solved] x.x.x.x Sorry, the domain is already pointed to an IP address .....
Problem: Using nameservers with the following IPs: x.x.x.x Sorry, the domain is already pointed to an IP address that does not appear to use DNS servers associated with this server. Please transfer the domain to this servers nameservers or have your administrator add one of its nameservers to /etc/ips.remotedns and make the proper A entries on that remote nameserver.
Solution: Tweaksetting -> Allow Remote Domains -> On .
Done
Nguyen Si Nhan
Solution: Tweaksetting -> Allow Remote Domains -> On .
Done
Nguyen Si Nhan
Tuesday, May 22, 2012
Preference file .pref could not be opened
fix just run this cmd:
#chown -R webapps:webapps /var/www/html
Nguyen Si Nhan
#chown -R webapps:webapps /var/www/html
Nguyen Si Nhan
Sunday, May 20, 2012
Failed to initialize remote display subsystem
You just create a new
user with name __vmware_user__ is all ok:
net user __vmware_user__ /add
Nguyen Si Nhan
net user __vmware_user__ /add
Nguyen Si Nhan
Monday, May 14, 2012
[Solved] Trouble shoot kvm virsh hang
Problem: When you type virsh list or virsh ... it's not return anything such as it's hanging
Solution: You just remove libvirtd and install it again ,Problem will be solved.
Nguyen Si Nhan
Solution: You just remove libvirtd and install it again ,Problem will be solved.
Nguyen Si Nhan
Tuesday, May 8, 2012
[Solved] libvirtError: Unable to read from monitor: Connection reset by peer
Problem :
Error starting domain: Unable to read from monitor: Connection reset by peer
Solution:
virsh edit <domainname>
Search these word: <graphics type='vnc' port='-1' autoport='yes'/>
Error starting domain: Unable to read from monitor: Connection reset by peer
Solution:
virsh edit <domainname>
Search these word: <graphics type='vnc' port='-1' autoport='yes'/>
Delete it and save .
After that start vm again is ok.
Good luck :) !
Good luck :) !
Nguyen Si Nhan
Deny all IP access to port assigned exclude my IP
In my exaple is port 25 and my ip is 1.2.3.4:
iptables -A INPUT -p tcp --dport 25 -s 1.2.3.4 -j ACCEPT
iptables -A INPUT -p tcp --dport 25 -s 1.2.3.4 -j ACCEPT
iptables -A INPUT -p tcp --dport 25 -j DROP
Finish!
Nguyen Si Nhan
Thursday, May 3, 2012
Run a program background on Linux
You just type more > /dev/null & :
ie: ls > /dev/null &
Nguyễn Sĩ Nhàn
ie: ls > /dev/null &
Nguyễn Sĩ Nhàn
Timezone with graphite
You just edit file wepapp/graphite/setting.py change line(or uncomment ),in my case i change such as:
TIME_ZONE = 'Asia/Ho_Chi_Minh'
Nguyen Si Nhan
TIME_ZONE = 'Asia/Ho_Chi_Minh'
Nguyen Si Nhan
Subscribe to:
Posts (Atom)