Category: Uncategorized

  • How to install a Desktop Environment in Centos Server

    Type the command below to the terminal. $ yum groupinstall -y ‘X Window System’ $ yum groupinstall -y ‘Desktop’ after installation you may need to type the command below to switch from CLI to GUI $ startx

  • Creating Virtual NIC in Centos

    Type this to the terminal cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0:0 Change the values to your desired IP address which is in different subnet. It should look like this [root@choi ~]# ifconfig eth0 Link encap:Ethernet HWaddr 00:0C:29:FD:78:BE inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::20c:29ff:fefd:78be/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:469 errors:0 dropped:0 overruns:0 frame:0 TX…

  • Installing LAMP server in Centos

    Installing LAMP in CentOS Installing MySQL 5.0 Type the commands below to the terminal. -yum install mysql mysql-server -chkconfig –levels 235 mysqld on

  • Configure Static IP Address in CENTOS

    /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=static BROADCAST=192.168.2.255 HWADDR=00:00:00:00:00:00 IPADDR=192.168.2.123 IPV6ADDR=192.168.2.123/64 IPV6INIT=yes DNS1=8.8.8.8 NETMASK=255.255.255.0 NETWORK=192.168.2.0 ONBOOT=yes then restart the service /etc/init.d/network restart

  • Change HOSTNAME in CENTOS

    NETWORKING=yes NETWORKING_IPV6=yes HOSTNAME=centos ~ ~ ~ ~ ~ ~ “/etc/sysconfig/network” Update the record then reboot

  • Add ip route through command line.

    route -p add 0.0.0.0 mask 0.0.0.0 172.17.240.45 metric 20

  • How to run .vbs script using command prompt.

    cscript //NOLOGO //B myscript.vbs

  • How to use msiexec to install .msi application?

    Windows ® Installer. V 3.01.4001.5512 msiexec /Option [Optional Parameter] Install Options Installs or configures a product /a Administrative install – Installs a product on the network /j [/t ] [/g ] Advertises a product – m to all users, u to current user Uninstalls the product Display Options /quiet Quiet mode, no user interaction /passive…

  • Social Engine Error

    http://mydomain.com/install/index.php/install Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

  • How to integrate capcha to your wordpress website?

    Register on our site (https://www.keycaptcha.com/accounts/reguser). Activate your account by clicking the activation link, which is sent to the e-mail you specified during registration. Log in to our site. On the page “My Sites” please add information about your site, which you plan to protect with our CAPTCHA. On the page “General Settings” in your account…