Question
How to change the IP address of OpenVZ VPS via command line?
Answer
- Connect to OpenVZ node via SSH
- Run the commands:
# vzctl set CTID --ipadd <new_IP> --save
# vzctl set CTID --ipdel <old_IP> --save
--> // Home category list icons $(document).ready(function() { // Set Home page fontawesome category icons (Ex: #YOUR_CAT_ID --> #20115356 ) //Set Icons Replace (Ex: --> your fontawesome icon ) $('#YOUR_CAT_ID a span').append(''); $('#YOUR_CAT_ID a span').append(''); $('#YOUR_CAT_ID a span').append(''); $('#YOUR_CAT_ID a span').append(''); });
Question
How to change the IP address of OpenVZ VPS via command line?
# vzctl set CTID --ipadd <new_IP> --save
# vzctl set CTID --ipdel <old_IP> --save
Comments
0 comments
Please sign in to leave a comment.