Koozali.org: home of the SME Server

noobguide to use SME

Offline neggard

  • **
  • 29
  • +0/-0
noobguide to use SME
« on: February 14, 2007, 11:30:30 AM »
I am new to use the SME and have some question about it.
I have look in both the manual and forum but want more help.

How do I add a database in MySQL? Is there no webmin for this or is this ment to be done.

What is the adress to webmail or do I have to install something first?

I have read about custom program and installs to SME is there a linkpage to some sites?

Offline byte

  • *
  • 2,183
  • +2/-0
Re: noobguide to use SME
« Reply #1 on: February 14, 2007, 11:38:24 AM »
Quote from: "neggard"
I am new to use the SME and have some question about it.
I have look in both the manual and forum but want more help.


Do read it over and over again as most of the obvious questions has been answered

Quote

How do I add a database in MySQL? Is there no webmin for this or is this ment to be done.


Search for "phpMyAdmin"

Quote

What is the adress to webmail or do I have to install something first?


This is in the manual showing you how to enable webmail first then by typing https://<yourserver>/webmail

Quote

I have read about custom program and installs to SME is there a linkpage to some sites?


Don't understand what you are after here?
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline neggard

  • **
  • 29
  • +0/-0
noobguide to use SME
« Reply #2 on: February 14, 2007, 11:44:02 AM »
Thanks!
Should print the manual and read it at my work.

Offline neggard

  • **
  • 29
  • +0/-0
noobguide to use SME
« Reply #3 on: February 15, 2007, 12:39:26 PM »
https://xxx.xxx.x.xxx/phpmyadmin

I diont find the phpmyadmin there, do I have to install it and how is that made?

I also try to connect to the SQL database but I couldn't connect to it, do I have to enable it first?

Offline byte

  • *
  • 2,183
  • +2/-0
noobguide to use SME
« Reply #4 on: February 15, 2007, 03:08:49 PM »
Quote from: "neggard"
https://xxx.xxx.x.xxx/phpmyadmin

I diont find the phpmyadmin there, do I have to install it and how is that made?


You have to if you need it install phpMyAdmin, do a search for phpMyAdmin and you will see someone has done a contrib for the SME Server.

Quote

I also try to connect to the SQL database but I couldn't connect to it, do I have to enable it first?


How did you try connect to it? No you don't have to enable mySQL it is already running.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
noobguide to use SME
« Reply #5 on: February 15, 2007, 03:37:51 PM »
Ok i think that he's new at linux not just sme so i'll post some pointers.

If you need aditional functions (like phpmyadmin) you have to install a contrib for it. You can find them in this forum (use the search function for announce or contrib).

You then have to install it using a ssh client (google putty) and you have to enable ssh (check the manual).

Make a new dir for your rpm's (mkdir temp) and move to that dir (cd /temp).

Then use the wget command to download the contrib (eg: whet ftp://someserver.com/phpmyadmin.rpm). Use rmp's not srpm's.

Then install it using yum contribname.rpm folowed by signal-event commands.

I hope that this is what you were looking for.
"It should just work" if it doesn't report it. Thanks!

Offline neggard

  • **
  • 29
  • +0/-0
noobguide to use SME
« Reply #6 on: February 15, 2007, 03:53:51 PM »
Yes thats right I  am new to both linux and SME.
I have installed Kubuntu on my computer so I can learn more about it.

I suppose its phpmyadmin multiuser I should install http://forums.contribs.org/index.php?topic=34362.0

My goal is to install CPGnuke to my SME server and let some of the users have access to the webmailsystem. Thanks to all support I am soon there and I have learn alot. Maybe I have to write a n00bguide to remember all stuff and help others with the same goal.

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
noobguide to use SME
« Reply #7 on: February 15, 2007, 05:36:04 PM »
Ok i'll give you an example (note: this is not windows so SME contribs won't work on other linux distros):

You can copy+paste this commands
Code: [Select]
mkdir temp
cd /temp
wget http://www.vanhees.cc/index.php?name=CmodsDownload&file=index&req=getit&lid=296
yum install smeserver-phpmyadmin-multiuser-2.9.2-1.noarch
rm smeserver-phpmyadmin-multiuser-2.9.2-1.noarch
singal-event post-upgrade
signal-event reboot


And that's it. Now you can access the phpmyadmin pannel.

And a few notes:
- Use tab so you don't have to write the whole file name (eg: sme[TAB]). Linux will fill out the blanks.
- Make a temp dir for contribs so you don't have them all over the place
- Use vmware and test SME on it. Kubuntu is quite different and you should familiarize yourself with SME if you wish to use it.
"It should just work" if it doesn't report it. Thanks!

Offline neggard

  • **
  • 29
  • +0/-0
noobguide to use SME
« Reply #8 on: February 17, 2007, 09:24:32 PM »
http://mirror.contribs.org/smeserver/releases/7/smeaddons/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
noobguide to use SME
« Reply #9 on: February 17, 2007, 10:54:48 PM »
The link i have posted (my last post) should work.
If not you can download it to your workstation and then transfer it to your user (home) dir and then use ssh and type mc.
Go to your home dir and find the rpm you transfered and move it (F6 i think) to your temp dir (it's easy if you use total commander or if you remember norton).
Then type exit and go to cd /temp and run the commands.

Or the other way is to use this contrib ( http://sme.dungog.net/packages/smeserver/7.0/i386/RPMS.dungog/smeserver-updates-1.2-3.noarch.rpm ) and install it as per my instructions. This will give you an extra option in the server-pannel. You'll be able to download rmp's to your workstation and install it via the new option in the server-manager. No ssh and commands needed.
"It should just work" if it doesn't report it. Thanks!

Offline neggard

  • **
  • 29
  • +0/-0
noobguide to use SME
« Reply #10 on: February 17, 2007, 11:13:56 PM »
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "smeserver" plugin
Loading "fastestmirror" plugin
Existing lock /var/run/yum.pid: another copy is running. Aborting.

A little bit closer...

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
noobguide to use SME
« Reply #11 on: February 17, 2007, 11:23:57 PM »
Quote
Existing lock /var/run/yum.pid: another copy is running. Aborting.


This happens if you run yum as soon as server starts or if you run the same command twice (in server-manager and in ssh). Wait a few minutes and then try again.
"It should just work" if it doesn't report it. Thanks!

Offline neggard

  • **
  • 29
  • +0/-0
noobguide to use SME
« Reply #12 on: February 17, 2007, 11:50:31 PM »
The server still dont find anything...

Loading "smeserver" plugin
Loading "fastestmirror" plugin
Setting up Install Process
Setting up repositories
http://mirror.contribs.org/smeserver/releases/7/smeaddons/i386                         /repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure                          in name resolution')>
Trying other mirror.


After tryinjg another mirror this is showing up:

Cannot open/read repomd.xml file for repository: smeaddons
failure: repodata/repomd.xml from smeaddons: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from smeaddons: [Errno 256] No more mirrors                          to try.

Offline byte

  • *
  • 2,183
  • +2/-0
noobguide to use SME
« Reply #13 on: February 18, 2007, 12:01:25 AM »
Quote from: "neggard"
http://mirror.contribs.org/smeserver/releases/7/smeaddons/i386                         /repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure                          in name resolution')>
Trying other mirror.


I get this problem when doing my testing in vmware on my xp machine and the thirdparty firewall wall blocks access and returns that error check you have internet access.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline neggard

  • **
  • 29
  • +0/-0
noobguide to use SME
« Reply #14 on: February 18, 2007, 12:10:29 AM »
I have access to TCP port 80
Do I need to open some more ports?

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
noobguide to use SME
« Reply #15 on: February 18, 2007, 11:33:21 AM »
Quote
Do I need to open some more ports?

You need to check/disable your firewall.
"It should just work" if it doesn't report it. Thanks!

Jeeva

noobguide to use SME
« Reply #16 on: February 26, 2007, 07:44:20 PM »
Code: [Select]
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "smeserver" plugin
Loading "fastestmirror" plugin
Setting up Install Process
Setting up repositories
http://mirror.contribs.org/smeserver/releases/7/smeaddons/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Trying other mirror.
ftp://mirror.contribs.org/smeserver/releases/7/smeaddons/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
http://mirror.contribs.org/smeserver/releases/7/smeaddons/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Trying other mirror.
http://mirror.contribs.org/smeserver/releases/7/smeaddons/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Trying other mirror.
Cannot open/read repomd.xml file for repository: smeaddons
failure: repodata/repomd.xml from smeaddons: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from smeaddons: [Errno 256] No more mirrors to try.


The moment i try to "yum install <package>" i get this error, doesn't matter what i try. How do i fix it since i cannot install anything.

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
noobguide to use SME
« Reply #17 on: February 27, 2007, 04:38:51 PM »
What repos do you have enabled? Go to server-manager panel and make sure that you have centOS and sme repos enabled and sme-testing disabled.
"It should just work" if it doesn't report it. Thanks!