LAMP and webmin.

Ask questions about Arch Linux ARM. Please search before making a new topic.

LAMP and webmin.

Postby Raymondday » Sat Nov 19, 2011 5:45 pm

I used the pacman update to install both LAMP and webmin. It don't go to a webpage for it's IP.

I got to go know but I guess I am missing something?

It looks good. The Green LED keeps flashing a lot. I did do the update commands and reboots after the install.

-Raymond Day
Raymondday
 
Posts: 77
Joined: Sat Nov 19, 2011 1:46 pm

Re: LAMP and webmin.

Postby Raymondday » Sun Nov 20, 2011 7:40 am

To install LAMP I did this:

pacman -S apache php php-apache mysql

Is that right? Because I don't see any www folder in /var! Going to it's IP in firefox it don't bring up a web page.

-Raymond Day
Raymondday
 
Posts: 77
Joined: Sat Nov 19, 2011 1:46 pm

Re: LAMP and webmin.

Postby pepedog » Sun Nov 20, 2011 9:30 am

Raymond,
Use this guide https://wiki.archlinux.org/index.php/LAMP
Docs go in /srv/http
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: LAMP and webmin.

Postby Raymondday » Sun Nov 20, 2011 1:24 pm

I did go to that "Use this guide" you linked to. All I had to do what this:

vi /etc/hosts

go to the end were it had host type names and press "a" and started to type this:

$this->bbcode_second_pass_code('', '192.1.0.123 localhost.localdomain alarm
192.1.0.123 localhost.localdomain')

To end the line pressed "Ctrl j" then "Esc" ":" "w" and "q" or ":wq"

Then going to it's IP in a web page it brings up this:

Index of /
[ICO] Name Last modified Size Description
Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/1.0.0e DAV/2 Server at 192.168.2.114 Port 80

I guess that's all some one had to tell me. When I ever did this on other systems it would say error on domain name but still work.

-Raymond Day
Raymondday
 
Posts: 77
Joined: Sat Nov 19, 2011 1:46 pm

Re: LAMP and webmin.

Postby Raymondday » Sun Nov 20, 2011 1:48 pm

Looks like have to set up mysql too. Because when I go to start it I get this:

[root@alarm rc.d]# /etc/rc.d/mysqld start
:: Starting MySQL Server [FAIL]
[root@alarm rc.d]#

Been looking in webmin. It looks like it just has a file for boot up starts. How would I set webmin to start on boot?

Like on Ubuntu just do apt-get and all the stuff just works it seems like. Then I can set them up in like webmin. I know they have a Ubuntu ARM but I think it's in beta now.

-Raymond Day
Raymondday
 
Posts: 77
Joined: Sat Nov 19, 2011 1:46 pm

Re: LAMP and webmin.

Postby WarheadsSE » Sun Nov 20, 2011 2:58 pm

We are not Ubuntu.

Period.

Stop comparing us.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: LAMP and webmin.

Postby Raymondday » Sun Nov 20, 2011 5:11 pm

I know your not using Ubuntu. I finding out more about that. It sounds like you are just one person who got some arm Linux to work with this and super easy to install it.

I got samba working. I just had make a new /etc/samba/smb.conf file. This my help others to get it started. Just have to edit a little how it is for your system.

$this->bbcode_second_pass_code('', '[global]
workgroup = rday
server string = alarm (IP: 192.168.2.114)
local master = yes
domain master = yes
preferred master = yes
os level = 255
password server = None
guest ok = yes
guest account = root
security = SHARE
printcap name = /etc/printcap
netbios name = small

# These improve preformance
large readwrite = yes
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=131072 SO_SNDBUF=131072

# Fix for OSX
unix extensions = no

[home]
path =/home
comment = home
guest ok = yes
writeable = yes
create mask = 0777')

I think just have to edit the "workgroup =" and "server string = alarm (IP: 192.168.2.114)" What every your IP is.

I tested it and made a new folder and copied a file to it. It works real good.

I had to start it up like this:

$this->bbcode_second_pass_code('', '[root@alarm ~]# /etc/rc.d/samba start
:: Starting Samba Server [DONE]
[root@alarm ~]#')

Before it would error it I went to start it.

-Raymond Day
Raymondday
 
Posts: 77
Joined: Sat Nov 19, 2011 1:46 pm

Re: LAMP and webmin.

Postby pepedog » Sun Nov 20, 2011 7:41 pm

$this->bbcode_second_pass_quote('', 'I') know your not using Ubuntu. I finding out more about that. It sounds like you are just one person who got some arm Linux to work with this and super easy to install it.

I don't think he is. Archlinuxarm is based on archlinux. Config is same on both, just executables different.
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK


Return to User Questions

Who is online

Users browsing this forum: No registered users and 16 guests