Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 23rd February 2014, 12:42
danhansen@denmark danhansen@denmark is offline
HowtoForge Supporter
 
Join Date: Mar 2013
Posts: 176
Thanks: 36
Thanked 3 Times in 3 Posts
Red face remotely control ubuntu server/apache2/mysql/php5

Hello,

I'm setting up a develop/test webserver. I'm building it to have a webserver to test things/to learn about php and sql.
The system I'm setting up is Ubuntu Server12.04.4/Apache2/PHP5/MySQL/PhpMyAdmin which I control from my windows rig/desktop. I use SSH to control the servers, but don't want to FTP to upload html/php files.

With webdav it's possible to "map" a folder on the webserver, right?? And then edit it directly in e.g. bluefish from my win rig/desktop, right?

1. How do I set up webdav? I know how to install it about the apache2 module. But I'm a little lost regarding the symlink you make between /var/www and the place you "copy" the content to. You'll have to make a htaccess file as well for security!?!? How is it usually done? And If I want to make another "website"?
2. What kind of security di I need? is UFW OK to begin with?

Hope you can help me
.
__________________
Kind Regards
Dan

__________________________________________________ _______
Fixed IP/WAN
DMZ -> "ispserverip"
Primary NameServer -> ns1.myprimarynameserver.tld
Secondary NameServer -> ns2.somedomainservice.tld

Ubuntu Server 12.04.4
ISPconfig 3 v.3.0.5.2 (Single Server Setup)
NameServer: BIND v.9.8.1-P1
SquirrelMail: v.1.4.22
MailServer: PostFix v.2.9.6 - IMAP/POP3 Dovecot v.2.0.19
Database: MySQL Server v.5.5.29-0ubuntu0.12.04.2
Tutorial: "ThePerfectServer-ISPconfig3-Ubuntu12.04"

Last edited by danhansen@denmark; 24th February 2014 at 12:06.
Reply With Quote
Sponsored Links
  #2  
Old 24th February 2014, 12:10
srijan srijan is online now
HowtoForge Supporter
 
Join Date: Feb 2014
Location: New Delhi, India
Posts: 209
Thanks: 2
Thanked 27 Times in 26 Posts
Send a message via Skype™ to srijan
Default

Hi ,

I think this link will help you.

http://www.iis.net/configreference/s...bserver/webdav

Br/

Srijan
Reply With Quote
  #3  
Old 24th February 2014, 13:13
srijan srijan is online now
HowtoForge Supporter
 
Join Date: Feb 2014
Location: New Delhi, India
Posts: 209
Thanks: 2
Thanked 27 Times in 26 Posts
Send a message via Skype™ to srijan
Default

Hi

I think this link will help you out.

http://how-to.linuxcareer.com/webdav...n-ubuntu-linux

Br//
Srijan
Reply With Quote
  #4  
Old 24th February 2014, 14:19
danhansen@denmark danhansen@denmark is offline
HowtoForge Supporter
 
Join Date: Mar 2013
Posts: 176
Thanks: 36
Thanked 3 Times in 3 Posts
 
Question

Hi,

Thank you for that Sometimes I do a lousy job explaining my problems


System: Ubuntu Server 12.04.4 32bit

It's just that I'm a little lost. There's 1001 different ways to make this installation.
What I need is a test machine/web server with Apache of course, MySQL, PHP, Perl, and a mail client.

What do I need:

1. I want to test dynamic websites and learn PHP, SQL and a little Perl too.
2. I want to test some shell-scripts for my servers which has to be able to send mail/smtp.
2. I want to be able to map/access the web-server root/webdir, and Webdav seems to be the solution.
3. I want to be able to create 2 or 3 additional web users for my 3 projects I have for the time being.

Problems:
There's a lot of help out there, but it can be difficult to find the "right way" when given to many examples.
"...dav password, htaccess, Apache vhost configuration etc.." and do I need virtual hosts? If I want more than 1 website on this server I do, right?
What about the webdav directory, is it best made in /var/www or in /home with a symlink. Which way is the best way to do that?
What about apache2.conf and php.ini? Many talks about changing these for security reasons!?

How do you usually create a web client/web site, with htaccess? in /var/www is it just to create a directory e.g. "mydomain1" and create an access file? If I need it to be accessible from the internet is the rest done by DNS then!?

I need someone to set me straight and point me in the right direction, not to show me the commands how to install webdav etc. I'll figure that out myself.
.
__________________
Kind Regards
Dan

__________________________________________________ _______
Fixed IP/WAN
DMZ -> "ispserverip"
Primary NameServer -> ns1.myprimarynameserver.tld
Secondary NameServer -> ns2.somedomainservice.tld

Ubuntu Server 12.04.4
ISPconfig 3 v.3.0.5.2 (Single Server Setup)
NameServer: BIND v.9.8.1-P1
SquirrelMail: v.1.4.22
MailServer: PostFix v.2.9.6 - IMAP/POP3 Dovecot v.2.0.19
Database: MySQL Server v.5.5.29-0ubuntu0.12.04.2
Tutorial: "ThePerfectServer-ISPconfig3-Ubuntu12.04"

Last edited by danhansen@denmark; 24th February 2014 at 16:42.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to send/recieve emails on fresh installation hermestrismegistus Installation/Configuration 11 23rd November 2013 16:15
Problem send/receive Courier+Postfix+Squirrelmail Pirk Installation/Configuration 2 21st May 2010 13:26
Connection timed out on intermail outgoing mails gouravgarg Server Operation 6 5th March 2010 20:31
Unbale to login to Postfix from webmail wasimriz HOWTO-Related Questions 5 6th April 2009 13:49
Webmin docs missing namit Server Operation 11 5th January 2006 09:51


All times are GMT +2. The time now is 13:04.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.