Archive for August, 2015

Install Windows GUI : 2016

C:\Users\Administrator>powershell
Install-WindowsFeature Server-Gui-Shell -Restart

, , , ,

Leave a comment

OpenVZ: Centos 7:No network patch

Add the patch text to file /root/ifup-aliases.patch

cd  /etc/sysconfig/network-scripts/

patch <  /root/ifup-aliases.patch

--- ifup-aliases.orig 2015-04-01 08:46:08.179879018 +0200
 +++ ifup-aliases 2015-04-01 08:46:52.558427785 +0200
 @@ -261,7 +261,8 @@
 is_available ${parent_device} && \
 ( grep -qswi "up" /sys/class/net/${parent_device}/operstate || grep -qswi "1" /sys/class/net/${parent_device}/carrier ) ; then
 echo $"Determining if ip address ${IPADDR} is already in use for device ${parent_device}..."
 - if ! /sbin/arping -q -c 2 -w ${ARPING_WAIT:-3} -D -I ${parent_device} ${IPADDR} ; then
 + /sbin/arping -q -c 2 -w ${ARPING_WAIT:-3} -D -I ${parent_device} ${IPADDR}
 + if [ $? = 1 ]; then
 net_log $"Error, some other host already uses address ${IPADDR}."
 return 1
 fi

 


			

, , , ,

Leave a comment

OpenVZ: ovz-panel: Change container storage location

Prepare a new location for the containers.  Create root,private directories under the new location.

Create a new server template from OpenVZ Web Panel

ovz-new-server-template

 

Login to OpenVZ hardware node and find the newly created template file from the location /etc/vz/conf

vz-conf-sample

 

Edit the file and add the new root & private location in the configuration file.

alternate-vz-location

 

 

, , , , , , ,

Leave a comment

Redmine : Webrick Server LAN access

 

bundle exec rails server -b 0.0.0.0 webrick -e production -p 80

, , , ,

Leave a comment

/dev/sda does not have any corresponding BIOS drive

grub-install  –recheck /dev/sda

Leave a comment