Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2009
    Posts
    2,735

    what program language to learn for this purpose ?

    Hi,


    when setuping a new cpanel server,

    need to install and set some change,

    i wnat to ask if i can learn certain language and write all the step i need to set or do within my script,

    and i only need to upload it to my new server and run it,

    it will help me setup those i want to do?


    thanx

  2. #2
    Join Date
    May 2006
    Location
    Teh Interweb
    Posts
    314
    without letting us know what you are trying to do, you make it hard to pick a language however it sounds like just some basic bash scripting would solve your problem.

    [[email protected]] ~ $ cat .signature
    cat: .signature: No such file or directory

  3. #3
    Join Date
    Mar 2009
    Posts
    2,735
    Hi,

    for instance,i may install csf,do upgrate some system script of centos and whm,

    upgrate php with some modules,

    change some feature of server's default setting to open or close,

    or change to certain value...



    thanx

  4. #4
    Join Date
    Jul 2009
    Posts
    240
    system shell

    Code:
    #!/bin/sh

  5. #5
    Join Date
    Oct 2009
    Posts
    58

    Exclamation script (Warning use it at your own risk!!)

    Quote Originally Posted by ttgt View Post
    Hi,
    for instance,i may install csf,do upgrate some system script of centos and whm,
    Code:
    #!/bin/bash
    cp /etc/profile /etc/profile.bak
    # INSTALL CSF 
    echo 'mkdir /root/csf/; cd /root/csf; wget http://www.configserver.com/free/csf.tgz; tar -xzf csf.tgz; cd csf; sh install.sh; cd; rm -rf /root/csf;'  >> /etc/profile
    echo 'rm -rf /etc/profile; mv /etc/profile.bak /etc/profile; chmod 644 /etc/profile' >> /etc/profile
    
    ## INSTALL CPANEL
    mkdir /root/cpanel/
    cd /root/cpanel/ 
    wget http://layer1.cpanel.net/latest
    chmod +x latest
    screen latest
    
    ## UPDATE PACKAGES
    yum clean all
    yum update -y 
    
    #WHM UPDATE
    /scripts/upcp --force
    
    reboot
    Windows/Linux Expert; Plesk/Cpanel/Ensim Guru.
    ..and an expert spam tracker.

  6. #6
    Quote Originally Posted by ttgt View Post
    Hi,

    for instance,i may install csf,do upgrate some system script of centos and whm,

    upgrate php with some modules,

    change some feature of server's default setting to open or close,

    or change to certain value...



    thanx
    You don't have to know a programming language but you should know at least the basic Linux commands using which you can manage the server using the cPanel scripts and make the required changes in the server firewall.
    | LinuxHostingSupport.net
    | Server Setup | Security | Optimization | Troubleshooting | Server Migration
    | Monthly and Task basis services.
    | MSN : madaboutlinux[at]hotmail.com | Skype : madaboutlinux

  7. #7
    Yes, no need to learns any programming language required for this. Just go through some good linux tutorials to learn linux.
    Shared Hosting | Reseller Hosting | VPS Hosting | Dedicated Servers
    KeserHosting.Com

Similar Threads

  1. Best Language to learn?
    By LPC31 in forum Programming Discussion
    Replies: 40
    Last Post: 06-19-2009, 12:47 PM
  2. Best way to learn the Java language?
    By james_s07 in forum Programming Discussion
    Replies: 6
    Last Post: 01-23-2008, 01:44 PM
  3. I want to learn how to program, but what language?
    By KyleLC23 in forum Programming Discussion
    Replies: 11
    Last Post: 11-13-2003, 02:07 AM
  4. Can't Decide what language to learn :(
    By Halofreak117 in forum Programming Discussion
    Replies: 36
    Last Post: 08-20-2003, 08:48 PM
  5. need to learn a language
    By SabreWolf3 in forum Programming Discussion
    Replies: 18
    Last Post: 06-09-2003, 09:28 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •