<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to Install a Web Server and More in Ubuntu Linux</title>
	<atom:link href="http://www.ubuntulinuxhelp.com/how-to-install-a-web-server-and-more-in-ubuntu-linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ubuntulinuxhelp.com/how-to-install-a-web-server-and-more-in-ubuntu-linux/</link>
	<description></description>
	<lastBuildDate>Fri, 28 Jun 2013 21:45:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.2</generator>
	<item>
		<title>By: links for 2011-08-29 &#171; LAN b4 Time</title>
		<link>http://www.ubuntulinuxhelp.com/how-to-install-a-web-server-and-more-in-ubuntu-linux/#comment-1732</link>
		<dc:creator>links for 2011-08-29 &#171; LAN b4 Time</dc:creator>
		<pubDate>Tue, 30 Aug 2011 00:21:49 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntulinuxhelp.com/?p=1879#comment-1732</guid>
		<description><![CDATA[[...] How to Install a Web Server and More in Ubuntu Linux &#124; Ubuntu Linux Help (tags: webserver ubuntu quick build todo) [...] ]]></description>
		<content:encoded><![CDATA[<p>[...] How to Install a Web Server and More in Ubuntu Linux | Ubuntu Linux Help (tags: webserver ubuntu quick build todo) [...] </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neville Cox</title>
		<link>http://www.ubuntulinuxhelp.com/how-to-install-a-web-server-and-more-in-ubuntu-linux/#comment-1731</link>
		<dc:creator>Neville Cox</dc:creator>
		<pubDate>Fri, 29 Jul 2011 09:10:04 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntulinuxhelp.com/?p=1879#comment-1731</guid>
		<description><![CDATA[What I have done now is start a hole new clean install, and yes I did install LAMP at the same time. So lets start with Lamp, so what I have done is uninstall LAMP folling an other tutorial and it seemed to work, so now I don&#039;t have lamp.
So now what is the correct way ti install LAMP ?

When it comes to my FTP server I installed VSFTPD  and I added users into var/www then I enabled public_html and I don&#039;t know if I had done that the correct way, I think I did it also in the var/www directy like this.
# mkdir ~/public_public
Then I enabled the user directory
# ln -s ../mods-available/userdir.conf usredir.conf
# ln -s ../mods-available/userdir.load userdir.loda

Then restarted Apache
# /etc/init.d/apache2 restat

I must say I lost now

So as I said above New install with lamp but I have now uninstalled lamp, so if you can help me with this it would be great]]></description>
		<content:encoded><![CDATA[<p>What I have done now is start a hole new clean install, and yes I did install LAMP at the same time. So lets start with Lamp, so what I have done is uninstall LAMP folling an other tutorial and it seemed to work, so now I don&#8217;t have lamp.<br />
So now what is the correct way ti install LAMP ?</p>
<p>When it comes to my FTP server I installed VSFTPD  and I added users into var/www then I enabled public_html and I don&#8217;t know if I had done that the correct way, I think I did it also in the var/www directy like this.<br />
# mkdir ~/public_public<br />
Then I enabled the user directory<br />
# ln -s ../mods-available/userdir.conf usredir.conf<br />
# ln -s ../mods-available/userdir.load userdir.loda</p>
<p>Then restarted Apache<br />
# /etc/init.d/apache2 restat</p>
<p>I must say I lost now</p>
<p>So as I said above New install with lamp but I have now uninstalled lamp, so if you can help me with this it would be great</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: UbuntuLinuxHelp</title>
		<link>http://www.ubuntulinuxhelp.com/how-to-install-a-web-server-and-more-in-ubuntu-linux/#comment-1730</link>
		<dc:creator>UbuntuLinuxHelp</dc:creator>
		<pubDate>Thu, 28 Jul 2011 03:20:13 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntulinuxhelp.com/?p=1879#comment-1730</guid>
		<description><![CDATA[@neville

Also...

Question: Did you edit your /etc/hosts file? It&#039;s hard to tell (I&#039;m not sitting at your server), maybe your FTP app cannot find the server via the hostname you use&gt;
Question: When you first installed proFTPD, did you: &lt;code&gt;sudo aptitude install proftpd ucf menu&lt;/code&gt;? (Did you select &quot;standalone&quot;?)

I had a similar issue, I could not upload files to the web server (/var/www). I realized that I needed to change the ownership to the correct group www-data so: &lt;code&gt;sudo chown -R www-data:www-data /var/www&lt;/code&gt;]]></description>
		<content:encoded><![CDATA[<p>@neville</p>
<p>Also&#8230;</p>
<p>Question: Did you edit your /etc/hosts file? It&#8217;s hard to tell (I&#8217;m not sitting at your server), maybe your FTP app cannot find the server via the hostname you use&gt;<br />
Question: When you first installed proFTPD, did you: <code>sudo aptitude install proftpd ucf menu</code>? (Did you select &#8220;standalone&#8221;?)</p>
<p>I had a similar issue, I could not upload files to the web server (/var/www). I realized that I needed to change the ownership to the correct group www-data so: <code>sudo chown -R www-data:www-data /var/www</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: UbuntuLinuxHelp</title>
		<link>http://www.ubuntulinuxhelp.com/how-to-install-a-web-server-and-more-in-ubuntu-linux/#comment-1729</link>
		<dc:creator>UbuntuLinuxHelp</dc:creator>
		<pubDate>Thu, 28 Jul 2011 03:09:55 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntulinuxhelp.com/?p=1879#comment-1729</guid>
		<description><![CDATA[@Neville

One of the things many (including myself) don&#039;t do, is select LAMP. Why? Because it pre-installs a generic LAMP server. Instead, it&#039;s better to install a base server and then add the LAMP components as per requirements. ;) 

Better to use aptitude when possible (instead of apt-get). Better to install SSH instead of Telnet.

Better to add/change users AFTER you&#039;ve installed and got things working. ;) Keeps things less complicated, this way when you have something working, make a change and things don&#039;t work, then you can always go back a step to where everything was working.

If you cannot upload files, this means that vsftpd is not working as expected (you indicate it&#039;s working?). Have you checked file/directory permissions (chmod)? Have you checked file/directory ownership (chown)?

When you change ownership of /var/www to &#039;bill&#039;, you knocked out the www-data, did you?  :(

You&#039;re correct, there is no &quot;public_html&quot;, instead the path is: /var/www/...]]></description>
		<content:encoded><![CDATA[<p>@Neville</p>
<p>One of the things many (including myself) don&#8217;t do, is select LAMP. Why? Because it pre-installs a generic LAMP server. Instead, it&#8217;s better to install a base server and then add the LAMP components as per requirements. <img src='http://www.ubuntulinuxhelp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  </p>
<p>Better to use aptitude when possible (instead of apt-get). Better to install SSH instead of Telnet.</p>
<p>Better to add/change users AFTER you&#8217;ve installed and got things working. <img src='http://www.ubuntulinuxhelp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  Keeps things less complicated, this way when you have something working, make a change and things don&#8217;t work, then you can always go back a step to where everything was working.</p>
<p>If you cannot upload files, this means that vsftpd is not working as expected (you indicate it&#8217;s working?). Have you checked file/directory permissions (chmod)? Have you checked file/directory ownership (chown)?</p>
<p>When you change ownership of /var/www to &#8216;bill&#8217;, you knocked out the www-data, did you?  <img src='http://www.ubuntulinuxhelp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>You&#8217;re correct, there is no &#8220;public_html&#8221;, instead the path is: /var/www/&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neville Cox</title>
		<link>http://www.ubuntulinuxhelp.com/how-to-install-a-web-server-and-more-in-ubuntu-linux/#comment-1728</link>
		<dc:creator>Neville Cox</dc:creator>
		<pubDate>Wed, 27 Jul 2011 06:12:59 +0000</pubDate>
		<guid isPermaLink="false">http://ubuntulinuxhelp.com/?p=1879#comment-1728</guid>
		<description><![CDATA[Thanks for your reply
I have had no problem installing Ubuntu server 11.04, I downloaded the ios burnt to cd and booted the pc from cd all ok, during the install i had the option to add software, so I added LAMP.
When install finnished I checked the ip address of the server (192.168.1.197) all ok then I set the root password with # sudo passwd root and entered in the password all ok.
Next get updated
So i entered in
# apt-get update   all ok
# apt-get upgrade  all ok
Next I installed Telnet
# apt-get install telnetd    all ok
restarted server  # shutdown -r now   all ok
Switched to another Pc on the network and telneted to the server 192.168.1.197  ok
The next thing I did was to install proftpd
# apt-get install proftpd      all ok
The next thing was to configure the shell file so that when I add users to the server they wont be able to telnet to the server, so I typed from root as SU  # cd /etc
Then        # vi shells
at the bottom of that file I added a line
/bin/false    Saved it and exited vi
typed in # cat shells   to check if the changes were saved, all ok 
Next I added a web user
# cd  /var/www
# mkdir  bill
# Useradd  bill  –p  “my root password”  –d  /var/www/bill   –s  /bin/false
# chown  bill  bill
# passwd  bill
I was asked for password so I entered it in 
the next thing was ti install Webmin
# wget http://www.webmin.com/download/deb/webmin-current.deb
Waited for that to finnish
# sudo dpkg -i webmin-current.deb
waited for that to finnish
got some errors but the next command fixed that
# sudo apt-get -f install
So i went to my browser and went to
http://192.168.1.197:10000 and loged with my root password XXXXXX  all ok
next I installed Webalizer
# apt-get install webalizer     all ok
I had to go in and make in the webalizer config file of whick would enable wealized to analyz apache web server log file, so I used vi to edit the webalizer config file by removing the “.1” from the end of the logfile entery.
Then I went to Webmin via https://192.168.1.197:10000 from an other Pc, the clicked on “Scheduled Cron Jobs”, then clicked “Creat A New Schedule Cron Job”, then choose  to execute the job as root .
The commant toexecute is /usr/bin/webalizer, click on”times and Dates Selected below”,  under the minutes select and chooes 0,15,30 and 45  for hours, days, months and weeknnds, select “all”
Thisi all seemed to be ok
Next I installed phpmyadmin
# sudo apt-get install phpmyadmin
When i was asked what web server I was using, Ichose apache2   all ok
So I was all done, it’s great every thing worked but I couldn’t connect to the server via ftp, so I could’t upload files to the web page.
So I started again a fresh install this time I installed VSFTPD inseted if PROFTPD, Great I now can connect but now I still can not load files, It seems that thers is no public_html folder.
How do I fix this?
Your post is good but it looses me, I’m only a newbee  HELP!!!]]></description>
		<content:encoded><![CDATA[<p>Thanks for your reply<br />
I have had no problem installing Ubuntu server 11.04, I downloaded the ios burnt to cd and booted the pc from cd all ok, during the install i had the option to add software, so I added LAMP.<br />
When install finnished I checked the ip address of the server (192.168.1.197) all ok then I set the root password with # sudo passwd root and entered in the password all ok.<br />
Next get updated<br />
So i entered in<br />
# apt-get update   all ok<br />
# apt-get upgrade  all ok<br />
Next I installed Telnet<br />
# apt-get install telnetd    all ok<br />
restarted server  # shutdown -r now   all ok<br />
Switched to another Pc on the network and telneted to the server 192.168.1.197  ok<br />
The next thing I did was to install proftpd<br />
# apt-get install proftpd      all ok<br />
The next thing was to configure the shell file so that when I add users to the server they wont be able to telnet to the server, so I typed from root as SU  # cd /etc<br />
Then        # vi shells<br />
at the bottom of that file I added a line<br />
/bin/false    Saved it and exited vi<br />
typed in # cat shells   to check if the changes were saved, all ok<br />
Next I added a web user<br />
# cd  /var/www<br />
# mkdir  bill<br />
# Useradd  bill  –p  “my root password”  –d  /var/www/bill   –s  /bin/false<br />
# chown  bill  bill<br />
# passwd  bill<br />
I was asked for password so I entered it in<br />
the next thing was ti install Webmin<br />
# wget <a href="http://www.webmin.com/download/deb/webmin-current.deb" rel="nofollow">http://www.webmin.com/download/deb/webmin-current.deb</a><br />
Waited for that to finnish<br />
# sudo dpkg -i webmin-current.deb<br />
waited for that to finnish<br />
got some errors but the next command fixed that<br />
# sudo apt-get -f install<br />
So i went to my browser and went to<br />
<a href="http://192.168.1.197:10000" rel="nofollow">http://192.168.1.197:10000</a> and loged with my root password XXXXXX  all ok<br />
next I installed Webalizer<br />
# apt-get install webalizer     all ok<br />
I had to go in and make in the webalizer config file of whick would enable wealized to analyz apache web server log file, so I used vi to edit the webalizer config file by removing the “.1” from the end of the logfile entery.<br />
Then I went to Webmin via <a href="https://192.168.1.197:10000" rel="nofollow">https://192.168.1.197:10000</a> from an other Pc, the clicked on “Scheduled Cron Jobs”, then clicked “Creat A New Schedule Cron Job”, then choose  to execute the job as root .<br />
The commant toexecute is /usr/bin/webalizer, click on”times and Dates Selected below”,  under the minutes select and chooes 0,15,30 and 45  for hours, days, months and weeknnds, select “all”<br />
Thisi all seemed to be ok<br />
Next I installed phpmyadmin<br />
# sudo apt-get install phpmyadmin<br />
When i was asked what web server I was using, Ichose apache2   all ok<br />
So I was all done, it’s great every thing worked but I couldn’t connect to the server via ftp, so I could’t upload files to the web page.<br />
So I started again a fresh install this time I installed VSFTPD inseted if PROFTPD, Great I now can connect but now I still can not load files, It seems that thers is no public_html folder.<br />
How do I fix this?<br />
Your post is good but it looses me, I’m only a newbee  HELP!!!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
