Welcome, Guest
You have to register before you can post on our site.

Username/Email:
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,204
» Latest member: cope9068@business-degree.live
» Forum threads: 4,028
» Forum posts: 16,403

Full Statistics

Online Users
There are currently 343 online users.
» 0 Member(s) | 342 Guest(s)
Bing

Latest Threads
clear logs in smoothwall
Forum: Security and Firewalls
Last Post: amanda63
2024-03-10, 03:27 PM
» Replies: 8
» Views: 72,003
I cannot install RedHat 8...
Forum: Redhat
Last Post: hybrid
2023-11-11, 01:01 PM
» Replies: 1
» Views: 29,219
How things are done, usin...
Forum: Xorg Problems
Last Post: ross
2023-09-04, 09:03 AM
» Replies: 0
» Views: 1,613
Im back.....
Forum: Hello
Last Post: anyweb
2021-01-17, 11:36 AM
» Replies: 1
» Views: 5,011
add mp3 plugin to xmms in...
Forum: Fedora
Last Post: anyweb
2021-01-17, 11:30 AM
» Replies: 11
» Views: 40,528
Configuring VSFTPd Server
Forum: FTP Server
Last Post: Johnbaca
2020-10-14, 10:25 AM
» Replies: 32
» Views: 101,864
Wolf won't play sound!
Forum: Game Problems
Last Post: Guest
2020-10-03, 05:51 PM
» Replies: 1
» Views: 42,962
Using git + python
Forum: How Do I?
Last Post: Clueless puppy
2020-08-21, 04:37 PM
» Replies: 0
» Views: 33,575
what does your nick mean ...
Forum: Hello
Last Post: volt
2020-08-06, 03:25 PM
» Replies: 28
» Views: 39,990
CentOS vs.?
Forum: Just Starting Linux
Last Post: volt
2020-08-06, 02:29 PM
» Replies: 0
» Views: 7,433

 
  Apache/websites
Posted by: inittux - 2011-08-12, 05:48 AM - Forum: LAMP - Replies (42)


I have LAMP server running and I've been using root account download files into

/var/www/html/websites/example.com. Right now all the folders/files are owned by root.

Is it better to make a normal user account and give that account r/w/x access to /var/www/html/websites

or /var/www/html/websites/example.com .So that I'm not doing everything with root user cuz I think that's

probably an unsafe practice?

 

And I have Joomla installed and my folders rights are set to 755 which but when I try to install a joomla

component or template I get the following error: Warning: Failed to move file! I know this has to do with

rights not being set right cuz I googled it.

But I don't quite get it cause as far as I can see all my folder permissions are set right, but when I check joomla system information->

Directory permissions they all say unwritable. Maybe it has to do with my first question? According to joomla-documentation

files should be set to 644 and folders to 755. And I'm not comfortable setting the folder permissions to 777.

<a class="ipsAttachLink ipsAttachLink_image" href="<fileStore.core_Attachment>/monthly_08_2011/post-6026-0-25442600-1313128336.jpg" data-fileid="1306">[img]<fileStore.core_Attachment>/monthly_08_2011/post-6026-0-25442600-1313128336.jpg[/img]</a>



Attached Files
.jpg   Unwritable-Folders.JPG (Size: 171.4 KB / Downloads: 0)
Print this item

  apache/virtualhosts/phpmyadmin
Posted by: inittux - 2011-08-09, 05:48 PM - Forum: LAMP - Replies (4)


I have my apache and virtualhost setup same as in this post

After this I installed phpmyadmin, by downloaded it and untaring it and renaming the folder to phpmyadmin. And I restarted apache and testet it: http://myip/phpmyadmin.

phpmyadmin wasn't working. I then tried commented out my virtual host and I restarted apache and again I tested http://myip/phpmyadmin and it worked. So how come

phpmyadmin works when I'm not using my virtual domain and when I do it doesn't work?

Print this item

  Don't understand something about virtualhosts
Posted by: inittux - 2011-08-07, 04:12 PM - Forum: LAMP - Replies (10)


I'm trying to get virtual hosts working on Apache.

 

In /etc/httpd/conf/http.conf it says that: DocumentRoot "/var/www/html". So I think that's the place where Apache will be looking for your website files.

 

I made a virtualhost:

 

NameVirtualHost ipadress:80

 

# Custom virtualhosts

 

<virtualhost ipadress:80></virtualhost>

ServerAlias www.feedmebits.nl

ServerAdmin maarten@feedmebits.nl

DocumentRoot feedmebits.nl

ServerName feedmebits.nl

ErrorLog logs/feedmebits.nl-error_log

#CustomLog logs/host.some_domain.com-access_log common



 

in /var/www/html/ I made two directories so it looks like this:

/var/www/html/websites/feedmebits.nl

 

 

When I restart Apached it restarts but gives me an error:

Starting httpd: Warning: DocumentRoot [/etc/httpd/feedmebits.nl] does not exist

 

When I try and make a directory in /etc/httpd/feedmebits.nl and restart apache I don't get the error message.

And when I try making putting feedmebits.nl in a sub directory: /etc/httpd/websites/feedmebits.nl I also get

an the same error message.

I don't quite understand this because isn't it supposed to go to DocumentRoot which is /var/www/html and if I added

directories in there and mentioned it in my virtual host, isn't it supposed to see it? Why am I getting an error?

Don't quite understand?

 

Another thing I noticed, is that when I have my virtualhost enabled, and try to go to my test.php which is in /var/www/html/test.php

It doesn't work anymore either. When I add it to /etc/httpd/feedmebits.nl, it works again.

Print this item

  CentOS/Virtualization
Posted by: inittux - 2011-08-05, 08:38 AM - Forum: CentOS - Replies (3)


I have a dedicated server and I want to be able to run virtual pc's from the commandline. I know there's virtualbox

and vmware, but is it possible to run and control virtualization software from the command line. Or are there other

options available. I did a bit of searching on google but didn't get further than vmware and virtualbox and openvz.

Anyone have experience with this?

Print this item

  What do you think of Gnome 3?
Posted by: inittux - 2011-08-05, 05:47 AM - Forum: General Chat - Replies (11)


What do you think of Gnome 3? I think it looks nice but when I tried I often had parts of

gnome3 crashing. I still prefer normal gnome.

 

Here's what Linux Torvalds thinks about Gnome3

 

 

source

 

What do you think of gnome3?

Print this item

  how I upgraded from Fedora 14 to Fedora 15
Posted by: anyweb - 2011-08-04, 07:08 PM - Forum: Fedora 15 - Replies (5)


backup your data first then... login as root and do a yum -y update, that tells fedora to update itself

 

Quote:[anyweb@localhost ~]$ su -Password:

[root@localhost ~]# yum -y update
 

then get a few necessary F15 rpm's from the nearest mirror (i chose a swedish mirror as i live in sweden)

 



Code:
wget ftp://ftp.sunet.se/pub/Linux/distributions/fedora/linux/releases/15/Fedora/i386/os/Packages/fedora-release-15-1.noarch.rpm
wget ftp://ftp.sunet.se/pub/Linux/distributions/fedora/linux/releases/15/Fedora/i386/os/Packages/fedora-release-notes-15.0.0-1.fc15.noarch.rpm
wget ftp://ftp.sunet.se/pub/Linux/distributions/fedora/linux/releases/15/Fedora/i386/os/Packages/fedora-release-rawhide-15-1.noarch.rpm




 

and then install them

 



Code:
rpm -Uvh fedora-release-notes-15.0.0-1.fc15.noarch.rpm fedora-release-15-1.noarch.rpm fedora-release-rawhide-15-1.noarch.rpm




 

then clean the yum data

 



Code:
yum clean all




 

and update

 



Code:
yum update




 

 

if you get any conflicts reported, then remove the package like so

 



Code:
yum remove gnome-applet-vm




 

the install will take some time, take a break,

once done, check the version

 

Quote:[root@localhost ~]# cat /etc/redhat-releaseFedora release 15 (Lovelock)
 

and then reboot

 



Code:
reboot




Print this item

  Getting a new mobile
Posted by: inittux - 2011-08-04, 07:03 PM - Forum: General Chat - Replies (4)


I'm getting a new mobile phone with Android on it :)

 

What do you think?

 

 

http://releasedatereviews.com/samsung-ga...specs.html

Print this item

  This is my current Desktop
Posted by: inittux - 2011-08-04, 06:02 PM - Forum: Linux - Replies (2)


This is what my current desktop looks like. Running on Debian 6. After having used serveral

different Linux distributions I like Debian the most.

 

[Image: Debian6.png]

Print this item

  Setting up a file/media server
Posted by: Silentneeb - 2011-08-01, 03:10 PM - Forum: Just Starting Linux - Replies (2)


So, I was taking out my stuff from my mother's attic the other week and found my first computer. It's a Intel Celeron @ 500mhz, 128mb (looking to remedy that), 4.75gb HDD, cd drive. I'll be adding a 320gb HDD in it as well. I was just wondering what would be the best Linux distro, and programs would be best to put on it?

 

I'm looking into as many of these little features as possible (listed in importance):


  • Headless machine

  • File storage

  • Media server stream my music to my computers and Xbox 360

  • Remote file access


 

Any help advice would be greatly appreciated.

Print this item

  How do I install java
Posted by: littleslayer15 - 2011-07-19, 11:07 PM - Forum: How Do I? - Replies (9)

Hi I am bran new to this website so sorry if this was already asked but I looked and I couldn't find it so I want to know how I can install java on Linux like the topic description said I am using Google chrome (I don't know if that makes a difference) and I am also using Ubuntu I am the biggest noob ever I didn't even know how to install Linux on my computer my brother had to so the more information you can give me the better.

Print this item