Setting ip a server part II (at least)

5 replies [Last post]
GNUbahn
Offline
Joined: 02/18/2016

I have tried a number of times to set up a server. The last time was when I created this thread: https://trisquel.info/en/forum/setting-server

I still have not succeeded, which probably mostly say something about my knowledge, skills and capacity for learning! Anyway, I wish to give it another try.

I have a librebooted Lenovo T60 which I will use. First I need to install trisquel mini (32bit). I have downloaded the appropriate files:
trisquel-archive-signkey.gpg trisquel-mini_8.0_i686.iso.md5
trisquel-mini_8.0_i686.iso trisquel-mini_8.0_i686.iso.part
trisquel-mini_8.0_i686.iso.asc trisquel-mini_8.0_i686.iso.sha256

Since md5 seems obsolete I ran a sha256sum:
$ sha256sum trisquel-mini_8.0_i686.iso
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 trisquel-mini_8.0_i686.iso

this differs from the sequence in the accompanying sha256sum file:
1948231d18f720f746d9acf35f39ced9bbf26eeaec8463e9801bf5a74639a7fa trisquel-mini_8.0_i686.iso

Am I missing something or what is wrong?

GNUbahn
Offline
Joined: 02/18/2016

OK. I figured out, that I would have to use the file which jxself linked to in the earlier thread. It, and the according sha256sum can be found at: http://jenkins.trisquel.info/debian-installer-images/installer-i386/current/images/

(/netboot/mini.iso and the according sha256s sum at /SHA256SUMS)

The sha256sums now match.

GNUbahn
Offline
Joined: 02/18/2016

Next step is to verify the file with gpg. But there seems to be no .asc file (see https://trisquel.info/en/issues/25533#comment-146241)

GNUbahn
Offline
Joined: 02/18/2016

I still haven't figured out the gpg verification. So far I am using a full Trisquel 8.0 installation.

I have successfully installed Apache2.

I have installed mysql-server but ran into one problem. According to https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-ubuntu-18-04 I should run sudo mysql_secure_installation from which I should VALIDATE PASSWORD PLUGIN

But I don't get that option. I am asked to Enter password for user root The only password I know of is the one I use for my one and only account on the computer. When entering that I get Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.socl' (2)

I have found some cases of users with similar symptoms (i.e. the above error message), but their cases seem to be different (e.g. https://stackoverflow.com/questions/59481975/mysql-secure-installation-problem-access-denied-for-user-rootlocalhost).

Any help?

chaosmonk

I am a member!

I am a translator!

Offline
Joined: 07/07/2017

> I have installed mysql-server but ran into one problem. According to
> https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-ubuntu-18-04

What do you need this server to do? I recommend installing and setting
up what you need as you need it. You may find that LAMP is not the way
to go, and even if it is, you will not get so lost if you are following
documentation for the specific services you want to run.

Sasaki
Offline
Joined: 08/11/2014

What do you need this server to do? I recommend installing and setting
up what you need as you need it.

Precisely you may not need mysql, or any other database server if you only plan to host html files, or plan to use a flat-file CMS, like PluXml.
Apache and the latest version of php is a good way to go for the beginning, you can then install any specific package when needed.

A decent text editor, like nano, as well as some other useful commandline tools (syntax highlighting, midnight commander,...), are mandatory if not present on the system by default. I also recommend the use of let's encrypt.

You can also give a try to YunoHost, for a fast deployment of multiple services, unless you really want to learn system administration.