Web Hosting Talk







View Full Version : ★ Server setup course ★


A7gz
12-04-2011, 04:26 AM
Good overview

Great tutorial

livechatinc.com


Features :-

livechatinc.com/tour/#identify

Hello ,

How to Login your SSH

1 - you should have PUTTY ( Download (http://the.earth.li/%7Esgtatham/putty/latest/x86/putty.exe) )

After download complete

follow this steps : -

Double click on this icon

http://a7gz.com/WHT/1.png

http://a7gz.com/WHT/2.png


1 - your server ip or hostname

Ex ip : 1.1.1.1
Ex hostname : webhostingtalk.com

2 - your server ssh port

default : 22

3 - click on the open button

you will see the login screen

type your login name
default : root

type your root password

http://a7gz.com/WHT/3.png


Best regards ,


How to setup cPanel


Go in ssh and do the following steps:

mkdir /home/cpinscd /home/cpinswget http://layer1.cpanel.net/latest
(http://layer1.cpanel.net/latest)
sh latest

Update your cPanel License ...


/usr/local/cpanel/cpkeyclt

How to Make your safe mode ON

And Put your disable functions

pico /usr/local/lib/php.iniPress CTRL + W

Type safe_mode

Then Write On Instead of Off

Then Press CTRL + W again

Type Disable_functions

Next = put this disable_functions

dl,passthru,pfsockopen,system,exec,passthru,popen,shell_exec,proc_close,proc_open,proc_nice,proc_terminate,proc_get_status,posix_getpwuid,posix_uname, openlog,syslog,ftp_exec,posix_uname,posix_getpwuid,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,get_current_user,getmyuid,getmygid, listen,chgrp,chmod,apache_note,apache_setenv,apache_child_terminate,closelog,debugger_off,debugge_on,ini_restore,imap,tempnam,netscript,copy,curl_init ,curl_exec,curl,escapeshellcmd,escapeshellarg,tmpfile,cmd,backtick,virtual,show_sourc,show_source,pclose,pcntl_exec,datasec,old_offset,ctrl_dir,ini_al ter,passthru,leak,listen,chgrp,apache_setenv,define_syslog_variables,phpinfo,root,allow_url_fopen,diskfreespace,php_uname,disk_free_space,disk_total_s pace,posix_kill,getmyuid,getmygid,apache_child_terminate,mkdir,unlink,php_ini_scanned_files,ls,ps_aux,chown,realpath,fpassthru,getrusage,posixc,posame ,chgrp,posix_setuid,posix_setsid,posix_setgid,set_time_limit,apache_note,apache_setenv,x_getuid,e_ini_file,nfo,SQL,mysql_list_dbs,glob,error_log,ini_g et_all,fileowner,fileperms,filegroup,highlight_file,sscanf,tempnam,ilegetcontents,get_dir,popen,popens,pfsockopen,dos_conv,apache_get_modules,crack_ch eck,crack_closedict,zip_read,rar_open,bzopen,bzread,bzwrite,shellcode,posix_isatty,posix_getservbyname,escapeshellarg,hypot,pg_host,pos,posix_access,i nurl,posix_times,posix_mknod,passthru,pclose,ps_fill,posix_getegid,symlink,idyou can put it by SHIFT + INSERT



Then restart your httpd

service httpd restart

How to update services

cPanel Update :

/scripts/upcp --force

Apache Update :

/scripts/easyapache

How to install csf

cd /rootrm -fv csf.tgzwget http://www.configserver.com/free/csf.tgz
(http://www.configserver.com/free/csf.tgz)
tar -xzf csf.tgzcd csfsh install.sh

How to change your SSH PORT


pico /etc/ssh/sshd_config

Press crtl + w

type : #Port

you will see that

#Port 22
#Protocol 2,1

replace it to

Port XX
Protocol 2

XX = your new port

Press CTRL + X

Then Y

Restart your ssh

/etc/rc.d/init.d/sshd restart

krisdoce
12-23-2011, 12:21 PM
I'm not sure you have the right tittle for this.

spykee
12-23-2011, 12:41 PM
yeah, the title must be wrong. :)

ezbnc
12-23-2011, 12:46 PM
Yes I expected more but still good knowledge thanks.

troboy
12-29-2011, 12:21 AM
You gave good efforts from your side, title should be How to install cPanel and CSF on your own ?