Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test installation on Rocky Linux #281

Open
melmothx opened this issue Mar 1, 2019 · 5 comments
Open

Test installation on Rocky Linux #281

melmothx opened this issue Mar 1, 2019 · 5 comments

Comments

@melmothx
Copy link
Owner

melmothx commented Mar 1, 2019

This was done at the time but after the recent tide of changes and documentation something could be broken.

@decentral1se
Copy link

Guess https://centos.rip is related here... I guess support for CentOS will go away...

@melmothx
Copy link
Owner Author

melmothx commented Jan 5, 2021

It's unclear what's happening to CentOS, but I'd like to have it tested anyway.

@rojenzaman
Copy link
Contributor

Rocky Linux 8.5

NAME="Rocky Linux"
VERSION="8.5 (Green Obsidian)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.5"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Rocky Linux 8.5 (Green Obsidian)"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:rocky:rocky:8:GA"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
ROCKY_SUPPORT_PRODUCT="Rocky Linux"
ROCKY_SUPPORT_PRODUCT_VERSION="8"

Errors at: ./script/install-texlive.sh step

wrong date

status: fixed

error:

./script/install-texlive.sh: line 47: cd: install-tl-2021*: No such file or directory

fix:

replace year=2021 with year=$(date +%Y)


tlmgr

status: not fixed

error

tlmgr: package log updated: /var/www/amusewiki/amusewiki/local/texlive/2022/texmf-var/web2c/tlmgr.log
tlmgr: command log updated: /var/www/amusewiki/amusewiki/local/texlive/2022/texmf-var/web2c/tlmgr-commands.log
tlmgr: An error has occurred. See above messages. Exiting.

log access:

How can I fix this issue?

Codes runned before:

root user
dnf install -y epel-release
dnf install -y git nginx perl-local-lib sqlite cgit perl-App-cpanminus fontconfig GraphicsMagick ImageMagick shared-mime-info openssl openssl-devel xapian-core-devel unzip wget libxml2-devel expat-devel policycoreutils setroubleshoot
dnf groupinstall -y 'Development Tools'
mkdir -p /etc/nginx/sites-enabled
cat > /etc/nginx/conf.d/post-amuse.conf <<EOF
include /etc/nginx/sites-enabled/*;
client_max_body_size 8m;
EOF
systemctl enable nginx.service
systemctl start nginx.service
adduser -d /var/www/amusewiki amusewiki
chown -R amusewiki:amusewiki /var/www/amusewiki
amusewiki user
eval `perl -Mlocal::lib`
cpanm Perl::Build
perl-build -j 3 --test 5.24.1 $HOME/amw-perl
git clone https://github.com/melmothx/amusewiki.git
cd amusewikix
./script/install-texlive.sh
^ error at this step
echo 'export PATH=$HOME/amw-perl/bin:$HOME/texlive/2018/bin/x86_64-linux:$PATH' >> $HOME/.bashrc
chmod 755 $HOME

check commands

$ which perl
~/amw-perl/bin/perl
$ which xelatex
/usr/bin/which: no xelatex in (/var/www/amusewiki/amw-perl/bin:/var/www/amusewiki/texlive/2018/bin/x86_64-linux:/var/www/amusewiki/.local/bin:/var/www/amusewiki/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin)

@melmothx
Copy link
Owner Author

melmothx commented Mar 27, 2022 via email

@rojenzaman
Copy link
Contributor

How so you have texlive/2018 in your PATH?

I copied and pasted from the documentation, it's my fault. I will replace with 2021 texlive

@melmothx melmothx changed the title Test installation on CentOS Test installation on Rocky Linux Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants