Installing the Arch server

You like a certain distro? Tell us why here

Moderators: b1o, jkerr82508

Forum rules
Try to avoid "fanboyism" Spam is strictly forbidden. The general rules apply: viewtopic.php?f=8&t=568
User avatar
fukawi2
Guru-Berserk
Posts: 13
Joined: 06 Oct 2010, 00:29
Location: Melbourne, Australia
Contact:

Re: Installing the Arch server

Postby fukawi2 » 06 Oct 2010, 06:12

dedanna1029 wrote:Thanks so much for your help. :) It would be great if you would like to stick around. When someone can help the Boss, that's a good thing. :)

I'll see what I can do.... ArchServer and a job change coming up will be keeping me pretty busy! 8-)

dedanna1029 wrote:This kid has issues with Arch from time to time. Would be great to have another guru 'round for it. LOL.

You can find me on the Arch Linux and ArchServer forums regularly... We don't bite ;) :mrgreen:

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Re: Installing the Arch server

Postby dedanna1029 » 06 Oct 2010, 06:20

Okay, will do. :)
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Installing the Arch server

Postby viking60 » 06 Oct 2010, 14:14

Oops The avatar for the group replaced the personal one. It must be set again - sorry :oops: Any way the server setup continues. I am a bit puzzled about the lacking mcrypt. I think it is a location problem. Still everything is fully functional so I uploaded my database and Implemented my portal script. It Just works! :whistle:
Going to implement Ioncube now - I am expecting trouble there..........
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Installing the Arch server

Postby viking60 » 06 Oct 2010, 19:27

Yupp trouble all right. Here is what the iconcube install page wants me to to:
Instructions
To install the loader in your php.ini file, first check the location of the php.ini file from phpinfo output. Then edit or create the file, and add the following line before any other zend_extension lines:

zend_extension = /<path>/ioncube_loader_lin_5.2.so

where /<path>/ is where you've installed the loader, e.g. /usr/local/ioncube/

If there are no zend_extension lines already, you can put the line at any point in the file.

Finally, stop and restart your web server software for the changes to take effect.

Installing the Loader for run-time loading

To install for runtime loading, create a directory called ioncube at or above the top level of your encoded files, and ensure that the directory contains the ioncube_loader_lin_5.2.so loader. If run-time install of the Loader is possible on your system then encoded files should automatically install the loader when needed.


I edited php.ini and added the path to the loader. No luck there. I come up with a plank page when I enter the encoded script.
Then I activated the Zend PHP4 compatibility. But :snooty:
I'll test it some more....
Ok I will put ioncube on hold for now since I am not sure it has anything to do with the server.
So far I have FTP-server and web server working. PHP and Mysql + phpmyadmin are working too. Of course SSH is working too.
Now i will try to set up the always interesting samba :pray:
Edit:
Have spent a lot of time trying to figure out why the password for the user and Workgroup is not accepted :wall:
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Installing the Arch server

Postby viking60 » 09 Oct 2010, 23:01

Ok I've got the samba network working. I had to set security to server. Any way it works now :dance: Hm wonder what I can play around with next. Might have a look at the mcrypt thing.
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Re: Installing the Arch server

Postby dedanna1029 » 11 Oct 2010, 01:49

Oh, I'm sure you'll find something. There's always stuff to play with, with new toys. :)
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Installing the Arch server

Postby viking60 » 12 Oct 2010, 13:59

Right you are! I have decided to share my www server so that you and others can have a look at my laptop server.
How hard can it be? :coffee_smile: (Every time I say that I am in for a surprise - I know :Doh: )
So I optimistically check the arch server repo for ddclient (you know, the one that makes dyndns work).

Code: Select all

pacman -Ss ddclient

Que??! Nothing. I think it should be in there. Do you listen Arch server guys :!: Oh well I have to do it the hard way then. I downloaded it from sourceforge.net into the opt folder like this:

Code: Select all

wget http://sourceforge.net/projects/ddclient/files/ddclient/ddclient-3.8.0/ddclient-3.8.0.tar.bz2/download

Then I untared it like this:

Code: Select all

sudo tar -xjvf ddclient-3.8.0.tar.bz2

I now have the ddclient folder in /opt/ddclient-3.8.0
So it is time to start it with:

Code: Select all

/opt/ddclient-3.8.0/ddclient -daemon 300 -syslog

And yes :dance: it starts - complaining about the lacking /etc/ddclient/ddclient.conf. Well since it does not exist yet, that is no wonder :idea:
[rulle@rulle opt]$ /opt/ddclient-3.8.0/ddclient -daemon 300 -syslog
WARNING: file /etc/ddclient/ddclient.conf: Cannot open file '/etc/ddclient/ddclient.conf'. (No such file or directory)
stat() on closed filehandle FD at /opt/ddclient-3.8.0/ddclient line 929.
Use of uninitialized value $mode in bitwise and (&) at /opt/ddclient-3.8.0/ddclient line 930.
readline() on closed filehandle FD at /opt/ddclient-3.8.0/ddclient line 942.

I must remember to put that line in my startup programs - How do we do that in CLI?
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Installing the Arch server

Postby viking60 » 12 Oct 2010, 14:30

While you figure out the CLI question I went to the Dyndns site and generated a config file for my (free) account:

Code: Select all

## ddclient configuration file
daemon=600
# check every 600 seconds
syslog=yes
# log update msgs to syslog
mail-failure=webgeek@younothisisajoke.com # Mail failed updates to user
pid=/var/run/ddclient.pid
# record PID in file.
## Detect IP with our CheckIP server
use=web, web=checkip.dyndns.com/, web-skip='IP Address'
## DynDNS username and password here
login=Nonuvubusiness
password=##Dream on##
## Default options
protocol=dyndns2
server=members.dyndns.org
## Dynamic DNS hosts
viking60.dyndns.org

And started the program again.
It complained about the owner rights and fixed it on the run for me - nice.

OKYDOKY we have it running time to set up my router accordingly.
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Installing the Arch server

Postby viking60 » 12 Oct 2010, 16:19

Ok I set the official IP to point to my laptop. BTW If you ever wonder what your official IP is just go to http://bjoernvold.com it is there on the right side of the menu (Almost top right).
So its time to test http://viking60.dyndns.org
Did it work?
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Re: Installing the Arch server

Postby dedanna1029 » 12 Oct 2010, 20:03

Oh wow... nice!

I will register later - have a "date" of sorts in a few.

This is wild. I was going to ask you to post other sites that you have... I'm curious about my Boss. :)

You are so damn cool! I love my Boss. :)
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Installing the Arch server

Postby viking60 » 12 Oct 2010, 20:12

Yeah well this is just some scribbling on a broken laptop I have here in the "boys room". The viking60.dyndns.org is a free domain name provided via dyndns.org. Just so I can test servers like this, and prove too you all that it works.
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: Installing the Arch server

Postby viking60 » 18 Oct 2010, 01:07

Ok I had some open issues regarding this server and one of them was that I could not display the thumbs in my gallery. This was a matter of wrong configuration and in particular of activating the

Code: Select all

extension=gd.so
in php.ini.
It always is the elementary stuff :oops:
I have been playing around with this server a lot that is why I took it of the web and now everything works except phpmyadmin. I managed to FUBAR that one again - doing the routine checks now....
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"


Return to “Distro talk”