![]() |
|
|
#1 |
|
Nov 2009
112 Posts |
Hello,
I'm using Ubuntu 9.1 (server edition) on my computer. My problem is that I don't know how to install mprime on a server-version of Ubuntu. Please note that I've only the commandline for installation. I've no graphical interface on my OS. Thanks for any help. |
|
|
|
|
|
#2 |
|
Oct 2006
Rosario, Argentina
37 Posts |
Hi, there is no graphical instalation in linux.Assuming you can access the server as root, all you have to do is make a folder (eg. /mprime259, unzip all the files, and in the command line type "./mprime -m", begin with option 1 of the menu and follow instructions.
Anyway , if you are not root, you can run mprime in your home folder as well!! Good luck Carlos |
|
|
|
|
|
#3 | |||||||
|
May 2011
FR Germany - Berlin
E16 Posts |
Install and autostart MPrime on Ubuntu 11.04 Natty Server with crontab 'bootup script'
After some years I tried again to launch MPrime using the autostart bootup start-script by Gareth Randall, Sun, 12 Nov 2000, originally posted on a mailing list archive, here: http://www.mail-archive.com/mersenne.../msg05245.html , as I did in former years. Since I run Ubuntu Natty 11.04 on my AMD Fusion E-350 computer, Upstart (http://upstart.ubuntu.com/getting-started.html) has replaced the former /etc/init.d method. So I got the error message: Quote:
Here's the steps I followed to achieve the installation and bootup / autostart of MPrime on my Ubuntu Natty 11.04 driven PC: ---------------------------------------------------------- 0) On the terminal I created the folder /gimps: Code:
master_and_commander@1stcomputer:~$ mkdir /home/master_and_commander/gimps Quote:
1st the 64bit variant: Code:
master_and_commander@1stcomputer:~$ cd /home/u1/gimps
master_and_commander@1stcomputer:~/gimps$ wget ftp://mersenne.org/gimps/mprime266-linux64.tar.gz
--2011-06-01 21:40:46-- ftp://mersenne.org/gimps/mprime266-linux64.tar.gz
=> »mprime266-linux64.tar.gz«
resolving hostname mersenne.org... 71.6.220.162
Link to mersenne.org|71.6.220.162|:21... connected.
Anmelden als anonymous ... Angemeldet!
==> SYST ... fertig. ==> PWD ... fertig.
==> TYPE I ... fertig. ==> CWD (1) /gimps ... fertig.
==> SIZE mprime266-linux64.tar.gz ... 4019958
==> PASV ... fertig. ==> RETR mprime266-linux64.tar.gz ... done.
[ <=> ] 4.019.958 372K/s in 14s
2011-06-01 21:41:04 (271 KB/s) - »mprime266-linux64.tar.gz« saved [4019958]
master_and_commander@1stcomputer:~/gimps$ tar xzvf mprime266-linux64.tar.gz
license.txt
mprime
readme.txt
stress.txt
undoc.txt
whatsnew.txt
master_and_commander@1stcomputer:~/gimps$
Code:
master_and_commander@1stcomputer:~$ cd /home/u1/gimps
master_and_commander@1stcomputer:~/gimps$ wget ftp://mersenne.org/gimps/mprime266.tar.gz
--2011-06-01 21:40:46-- ftp://mersenne.org/gimps/mprime266.tar.gz
=> »mprime266.tar.gz«
resolving hostname mersenne.org... 71.6.220.162
Link to mersenne.org|71.6.220.162|:21... connected.
...
2011-06-01 21:41:04 (271 KB/s) - »mprime266.tar.gz« saved [4019958]
master_and_commander@1stcomputer:~/gimps$ tar xzvf ftp://mersenne.org/gimps/mprime266.tar.gz
license.txt
mprime
readme.txt
stress.txt
undoc.txt
whatsnew.txt
master_and_commander@1stcomputer:~/gimps$
Code:
master_and_commander@1stcomputer:~$ cd ~/gimps
master_and_commander@1stcomputer:~/gimps$ ./mprime -m
[Main thread May 30 15:17] Mersenne number primality test program version 26.6
[Main thread May 30 15:17:38] Optimizing for CPU architecture: AMD K8, L2 cache size: 512 KB
Main Menu
1. Test/Primenet
2. Test/Worker threads
3. Test/Status
4. Test/Continue
5. Test/Exit
6. Advanced/Test
7. Advanced/Time
8. Advanced/P-1
9. Advanced/ECM
10. Advanced/Manual Communication
11. Advanced/Unreserve Exponent
12. Advanced/Quit Gimps
13. Options/CPU
14. Options/Preferences
15. Options/Torture Test
16. Options/Benchmark
17. Help/About
18. Help/About PrimeNet Server
Your choice:
Code:
master_and_commander@1stcomputer:~$ sudo echo "@reboot cd ~/gimps ; ./mprime & " | crontab - [sudo] password for master_and_commander: master_and_commander@1stcomputer:~$ Quote:
Quote:
Quote:
Quote:
~/gimps/undoc.txt Quote:
----------- See also these postings: * Re: How Do I Install Mprime?Install and autostart MPrime on Ubuntu 11.04 Natty with crontab 'bootup script' * MPrime Daemon start-up script , in the ubuntu forums, from December 11th, 2005 * [SOLVED] crontabs job , in the ubuntu forums. |
|||||||
|
|
|
|
|
#4 | |
|
May 2011
FR Germany - Berlin
E16 Posts |
Quote:
|
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How I Install GMP-ECM onto my Ubuntu Machines | EdH | EdH | 12 | 2019-04-16 09:28 |
| How I Install GMP onto my Ubuntu Machines | EdH | EdH | 0 | 2018-02-21 23:48 |
| how to install on ubuntu? | yeah | Information & Answers | 2 | 2011-03-02 17:43 |
| Ubuntu Server Crashes when running mprime 257 | roemer2201 | Software | 9 | 2008-12-05 18:47 |
| How do I get my ubuntu install past minimal install? | jasong | Linux | 2 | 2006-12-07 00:38 |