Latest interface: 0.3.1
Latest system: 010
dearangelo2
User

34 posts

Posted on 11 April 2018 @ 17:04
Hello.
I need to install midnight commander on a fresh 10.2.003 installation, now that alla servers are down, how do I go about?
can anyone help please?\
regards
a
karmantyu
User

157 posts

Posted on 11 April 2018 @ 19:53
One way is to type on ssh console as superuser:

pkg install mc


see
https://www.freshports.org/misc/mc
dearangelo2
User

34 posts

Posted on 11 April 2018 @ 21:35

it does this http://prntscr.com/j3z1ho
and this is as far as it goes http://prntscr.com/j3z1vp
and nothing after all...
I did follow your update to version 11 post...but I ended up with a crippled system and so I installed a fresh copy, but no services...
I managed to get samba configuration working again...but I will need more services... I have some .tar files, from previous installations, can I install those?
how is it done?
karmantyu
User

157 posts

Posted on 12 April 2018 @ 07:40
I am sorry that the installation didn't go well as expected. The system files were little bit outdated so there has to be a forced pkg upgrade first.

If I understand well you have a freshly installed FreeBSD 11.1-Release now. You can check with uname -a.

It is not recommended to install old ZFSguru tar packages to your new system. I think you will find every package in https://www.freshports.org/.
You can install them with pkg install #packagename. Check also there homepage for configuration options.
dearangelo2
User

34 posts

Posted on 12 April 2018 @ 19:31edited 19:34 40s
Dear karmantyu thank you once more.
Right now, I have a new, running 10.2.003 version, http://prntscr.com/j4emnx
very plane, with just the basic services that are included in the installation, and I just managed to get my samba functional again.

looking forward for the weekend to try and update, hopefully I will succeed.
the step that confused me was that part of modifying kernel and then replacing the generic one... I will read all the posts carefully and I hope I can manage to update...
Thank so very much for your time.

One critical question however,
supposedly I have no problem with command line, could I just install a FreeBSD system without the 0.3.1 web interface? and just use the ssh protocol?

regards
Angelo e
karmantyu
User

157 posts

Posted on 12 April 2018 @ 19:55
Yes you should skip compiling your own kernel and try using the default GENERIC one.
Of course you can download and install FreeBSD, it's free. https://www.freebsd.org/
https://www.freebsd.org/where.html
https://download.freebsd.org/ftp/releases/ISO-IMAGES/11.1/
dearangelo2
User

34 posts

Posted on 13 April 2018 @ 12:49edited 15 April 2018 @ 19:12
thank you karmantyu!
a simple question,
would I be able to install the 3.1 web interface afterwords and have a functioning zfsguru gui platform, or perhaps this is not possible because it involves a lot of tweaking to get it running...

karmantyu
User

157 posts

Posted on 16 April 2018 @ 08:38
Yes it is possible. There is a documentation about it in the Documentation section http://zfsguru.com/doc/bsd/zfsguru. It is a little bit outdated, so the process needs a little bit thinking.
It should began with
pkg install lighttpd fcgi-devkit php56 php56-session sudo
Then make the necessary scripts described in the documentation.

Install the web-interface.
http://zfsguru.com/forum/zfsgurusupport/1149

After it create users and passwords.

Step 1. Create a user and group called 'zfsguru-web' with uid 888 and gid 888:

pw groupadd zfsguru-web -g 888
pw useradd zfsguru-web -u 888 -d /nonexistent -s /sbin/nologin

Step 2. Change /usr/local/etc/sudoers.d to allow zfsguru-web access instead of user 'www'.

ee /usr/local/etc/sudoers.d/zfsguru-web

# Grant zfsguru-web user root access without password prompt
%zfsguru-web ALL=(ALL) NOPASSWD: ALL

touch /var/log/lighttpd.error.log
chown zfsguru-web:zfsguru-web /var/log/lighttpd.error.log
mkdir /var/run/lighttpd
touch /var/run/lighttpd/sockets/php-fastcgi-1.socket-0
chown -R zfsguru-web:zfsguru-web /var/run/lighttpd
chown -R zfsguru-web:zfsguru-web /usr/local/www/zfsguru

Step 3. Now, let the webserver Lighttpd run with the new user by modifying /usr/local/etc/lighttpd/lighttpd.conf, and replace the current 'www' user configuration with 'zfsguru-web' like this:

server.username = "zfsguru-web"
server.groupname = "zfsguru-web"

Step 4. Then you might need to change permissions to zfsguru-web for some directories:

chown -R 888:888 /var/spool/lighttpd
chown -R 888:888 /var/log/lighttpd
chown -R 888:888 /var/run/lighttpd

Step 5. Then I updated lighttpd with the new lighttpd.conf:
lighttpd -f /usr/local/etc/lighttpd/lighttpd.conf restart

Read also:
http://zfsguru.com/forum/zfsgurusupport/1056
http://zfsguru.com/forum/zfsgurudevelopment/1092
http://zfsguru.com/forum/zfsgurusupport/1165

Good luck!
dearangelo2
User

34 posts

Posted on 16 April 2018 @ 19:15
Yes it is possible. There is a documentation about it in the Documentation section http://zfsguru.com/doc/bsd/zfsguru. It is a little bit outdated, so the process needs a little bit thinking.

YOU MEAN zfsguru.com/doc/bsd/zfsguru
dearangelo2
User

34 posts

Posted on 16 April 2018 @ 19:17
I WILL TRY TO SETUP A NEW INSTALLATION FROM SCRATCHJ AND FOLLOW THOSE STEPS, YESTERDAY i MANAGE TO DESTROY ANOTHER INSTALLATION, i GOT AS FAR AS TO REBOOT, BUT IT DID NOT REBOOT... IT HUNG AND I ABANDONED IT, IT IS IN A FAR AWAY SERVER, PERHAPS I CAN FIND A WAY TO REVIVE IT?
Last Page

Valid XHTML 1.1