Share Tutorial Installation Nginx + Apache Webmin

Powerfull XFileSharing version

Moderator: admin

Message
Author
idupload
Posts: 97
Joined: Jun 04, 2010 7:46 am
Location: Indonesia

Share Tutorial Installation Nginx + Apache Webmin

#1 Postby idupload » Oct 29, 2010 11:10 pm

I already tried in my vps with ram 4GB hdd 1TB
I setup files for port 8080
and for cgi-bin and upload will used to port 80

this is my tutorial, please review and comments :
I know I m not smart but if we could share together we could be smart together. Admin please support this thread... Thank you

* Nginx not available inside official Centos repo, so we should used another repo first

Code: Select all

cd /etc/yum.repos.d/
wget http://centos.karan.org/kbsingh-CentOS-Extras.repo


* Open /etc/yum.repos.d/kbsingh-CentOS-Extras.repo


Code: Select all

nano /etc/yum.repos.d/kbsingh-CentOS-Extras.repo


* ... set gpgcheck 0 to be enable with type 1 [kbs-CentOS-Testing]


Code: Select all

# pkgs in the -Testing repo are not gpg signed
[kbs-CentOS-Testing]
name=CentOS.Karan.Org-EL$releasever - Testing
gpgcheck=0
gpgkey=http://centos.karan.org/RPM-GPG-KEY-karan.org.txt
enabled=1
baseurl=http://centos.karan.org/el$releasever/extras/testing/$basearch/RPMS/


* install nginx


Code: Select all

yum install nginx


* setting autorun in server and running nginx


Code: Select all

chkconfig --levels 235 nginx on



*Configure port 8080


Code: Select all

nano /etc/nginx/nginx.conf


* edit listen for port 8080 nginx, and root /var/www/files for allocation files:


Code: Select all

#
# The default server
#
server {
listen       8080;
server_name  _;

#charset koi8-r;

#access_log  logs/host.access.log  main;

location / {
    root   /var/www/files;
    index  index.html index.htm;
}


* Make run nginx

Code: Select all

/etc/init.d/nginx start


* Open browser and open url http://ipaddress:8080/

Install Apache and Webmin

* used yum for install httpd and Apache automatic with port 80

Code: Select all

yum install httpd



* install webmin, setting first repo, and then you could install


Code: Select all

deb http://download.webmin.com/download/repository sarge contrib
cd /root
wget http://www.webmin.com/jcameron-key.asc
apt-key add jcameron-key.asc
apt-get update
apt-get install webmin



* setting /var/www/cgi-bin could running file perl with edited

Code: Select all

nano /etc/httpd/conf/httpd.conf



Code: Select all

<Directory "/var/www/cgi-bin">
AllowOverride None
Options ExecCGI
    Order allow,deny
    Allow from all
</Directory>


* Make run httpd and webmin

Code: Select all

/etc/init.d/httpd start
/etc/init.d/webmin start



My question is How we enable nginx port from main front administrator site to be integrated with this vps with configure nginx + apache webmin

idupload
Posts: 97
Joined: Jun 04, 2010 7:46 am
Location: Indonesia

#2 Postby idupload » Oct 31, 2010 2:01 am

Everythink is running well but when I want to connection from adding server, I got error like this :

File Server tests:
api.cgi: ERROR (
Software error:


Can't locate LWP/UserAgent.pm in @INC (@INC contains: Modules . /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8) at /var/www/cgi-bin/api.cgi line 8.
BEGIN failed--compilation aborted at /var/www/cgi-bin/api.cgi line 8.

For help, please send mail to the webmaster ([email protected]), giving this error message and the time and date of the error.
)
upload.cgi: ERROR (problems with link)
htdocs URL accessibility: ERROR (should see XFS on link)


any solution for this??

admin
Site Admin
Posts: 1785
Joined: Mar 22, 2006 12:32 pm

#3 Postby admin » Nov 01, 2010 6:08 am

Only English language allowed on this board. Next time topic will be deleted.

idupload
Posts: 97
Joined: Jun 04, 2010 7:46 am
Location: Indonesia

#4 Postby idupload » Nov 01, 2010 6:44 am

admin wrote:Only English language allowed on this board. Next time topic will be deleted.

I m sorry admin....

Admin do you can have us solution cheap price? Because $200 usd is high enough for us as beginner to start small business.

We needs your support for this...

And once again I m sorry for used Indonesian language

ankurs
Posts: 1054
Joined: Mar 10, 2009 2:34 am

#5 Postby ankurs » Nov 01, 2010 7:28 am

idupload wrote:
admin wrote:Only English language allowed on this board. Next time topic will be deleted.

I m sorry admin....

Admin do you can have us solution cheap price? Because $200 usd is high enough for us as beginner to start small business.

We needs your support for this...

And once again I m sorry for used Indonesian language


$200 is cheap, because it saves you lot of $$$ on your server upgrades

actual price is $150 for nginx code, if i remember correctly

idupload
Posts: 97
Joined: Jun 04, 2010 7:46 am
Location: Indonesia

#6 Postby idupload » Nov 01, 2010 8:14 am

ankurs wrote:
idupload wrote:
admin wrote:Only English language allowed on this board. Next time topic will be deleted.

I m sorry admin....

Admin do you can have us solution cheap price? Because $200 usd is high enough for us as beginner to start small business.

We needs your support for this...

And once again I m sorry for used Indonesian language


$200 is cheap, because it saves you lot of $$$ on your server upgrades

actual price is $150 for nginx code, if i remember correctly


ankurs, may I asking you several question if we prepare budget for $200 for setup nginx server installation service from sibsoft?

1. With nginx for fileserver, may I know for control panel like cpanel/webmin/virtualmin will be used to insert sub domain for our fileserver?

2. Fileserver ram 8GB and hdd 2TB, can suppport how many connection request from download and upload in same time ?

3. 1 Fileserver ram 8GB and hdd 2TB is enough for how many users inside this dedicated server?
because right now in one dedicated server I have allocation 4-5 server as vps xen.

4. The problem is not from ram but I look from htop inside vps server is high too load for fileserver.... and make httpd is continue down

5. For another dedicated server how much cost will be costly?

6. If I only bought the script is it right $150 USD will have manual installation to built it in our dedicated server and off course unmanage

Thank you ankurs, I will wait for your respond.

admin
Site Admin
Posts: 1785
Joined: Mar 22, 2006 12:32 pm

#7 Postby admin » Nov 01, 2010 8:37 am

Price is not subject for discussion.

idupload, we're tired of you going back and forth in emails and here on forum. If you dont understand why you need nginx - then you do not need it.


Return to “XFileSharing Pro”

Who is online

Users browsing this forum: No registered users and 1 guest