- 🌱 I’m currently learning **Linux bash and C++.
- ⚡ Fun fact World is in your hand.
This is an auto-script for Ubuntu 18.04 to install Xray-Core with vless+ws configurations.
License: GNU General Public License v2.0
I ran your old script on my Oracle server (The one with the console menu) and it worked fine but the new iteration is giving me console errors and just breaks the installation
I have an OVH Vps Running Ubuntu 23.04 (GNU/Linux 6.2.0-34-generic x86_64)
Initial script run I got an error and I fixed it by using chmod
The list of available updates is more than a week old.
To check for new updates run: sudo apt update
/usr/bin/xauth: file /home/ubuntu/.Xauthority does not exist
ubuntu@vps-xxxxxxxx:~$ sudo su
root@xxxxxxxxxxxxx:/home/ubuntu# cd /root
root@xxxxxxxxxxxxx:~# wget https://raw.githubusercontent.com/horapusa-lk/hp-v2/main/horapusa-vless && bash ./horapusa-vless install
--2023-10-07 08:25:25-- https://raw.githubusercontent.com/horapusa-lk/hp-v2/main/horapusa-vless
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 2606:50c0:8001::154, 2606:50c0:8002::154, 2606:50c0:8003::154, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|2606:50c0:8001::154|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10092440 (9.6M) [application/octet-stream]
Saving to: ‘horapusa-vless’
horapusa-vless 100%[================================================================================================>] 9.62M 5.55MB/s in 1.7s
2023-10-07 08:25:28 (5.55 MB/s) - ‘horapusa-vless’ saved [10092440/10092440]
./horapusa-vless: ./horapusa-vless: cannot execute binary file
root@xxxxxxxxxxxxx:~# chmod 777 horapusa-vless
root@xxxxxxxxxxxxx:~# ./horapusa-vless install
Then I get the Enter Bot token prompt, after entering It, it installs/updates everything as it should however I get a whole lot of errors
Hit:1 http://nova.clouds.archive.ubuntu.com/ubuntu lunar InRelease
Hit:2 http://nova.clouds.archive.ubuntu.com/ubuntu lunar-updates InRelease
Hit:3 http://nova.clouds.archive.ubuntu.com/ubuntu lunar-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu lunar-security InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
git is already the newest version (1:2.39.2-1ubuntu1.1).
curl is already the newest version (7.88.1-8ubuntu2.2).
The following additional packages will be installed:
bridge-utils containerd dns-root-data dnsmasq-base pigz runc ubuntu-fan
Suggested packages:
ifupdown aufs-tools cgroupfs-mount | cgroup-lite debootstrap docker-doc rinse zfs-fuse | zfsutils
The following NEW packages will be installed:
bridge-utils containerd dns-root-data dnsmasq-base docker.io pigz runc ubuntu-fan
0 upgraded, 8 newly installed, 0 to remove and 2 not upgraded.
Need to get 0 B/69.7 MB of archives.
After this operation, 267 MB of additional disk space will be used.
Preconfiguring packages ...
dpkg-deb: /tmp/_MEI1lGMLa/liblzma.so.5: version `XZ_5.4' not found (required by dpkg-deb)
dpkg: error processing archive /tmp/apt-dpkg-install-s1y5um/0-pigz_2.6-1_amd64.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 1
dpkg-deb: /tmp/_MEI1lGMLa/liblzma.so.5: version `XZ_5.4' not found (required by dpkg-deb)
dpkg: error processing archive /tmp/apt-dpkg-install-s1y5um/1-bridge-utils_1.7.1-1ubuntu1_amd64.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 1
dpkg-deb: /tmp/_MEI1lGMLa/liblzma.so.5: version `XZ_5.4' not found (required by dpkg-deb)
dpkg: error processing archive /tmp/apt-dpkg-install-s1y5um/2-runc_1.1.7-0ubuntu1~23.04.1_amd64.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 1
dpkg-deb: /tmp/_MEI1lGMLa/liblzma.so.5: version `XZ_5.4' not found (required by dpkg-deb)
dpkg: error processing archive /tmp/apt-dpkg-install-s1y5um/3-containerd_1.7.2-0ubuntu1~23.04.1_amd64.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 1
No apport report written because MaxReports is reached already
dpkg-deb: /tmp/_MEI1lGMLa/liblzma.so.5: version `XZ_5.4' not found (required by dpkg-deb)
dpkg: error processing archive /tmp/apt-dpkg-install-s1y5um/4-dns-root-data_2023010101_all.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 1
No apport report written because MaxReports is reached already
dpkg-deb: /tmp/_MEI1lGMLa/liblzma.so.5: version `XZ_5.4' not found (required by dpkg-deb)
dpkg: error processing archive /tmp/apt-dpkg-install-s1y5um/5-dnsmasq-base_2.89-1_amd64.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 1
No apport report written because MaxReports is reached already
dpkg-deb: /tmp/_MEI1lGMLa/liblzma.so.5: version `XZ_5.4' not found (required by dpkg-deb)
dpkg: error processing archive /tmp/apt-dpkg-install-s1y5um/6-docker.io_24.0.5-0ubuntu1~23.04.1_amd64.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 1
No apport report written because MaxReports is reached already
dpkg-deb: /tmp/_MEI1lGMLa/liblzma.so.5: version `XZ_5.4' not found (required by dpkg-deb)
dpkg: error processing archive /tmp/apt-dpkg-install-s1y5um/7-ubuntu-fan_0.12.16_all.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 1
No apport report written because MaxReports is reached already
Errors were encountered while processing:
/tmp/apt-dpkg-install-s1y5um/0-pigz_2.6-1_amd64.deb
/tmp/apt-dpkg-install-s1y5um/1-bridge-utils_1.7.1-1ubuntu1_amd64.deb
/tmp/apt-dpkg-install-s1y5um/2-runc_1.1.7-0ubuntu1~23.04.1_amd64.deb
/tmp/apt-dpkg-install-s1y5um/3-containerd_1.7.2-0ubuntu1~23.04.1_amd64.deb
/tmp/apt-dpkg-install-s1y5um/4-dns-root-data_2023010101_all.deb
/tmp/apt-dpkg-install-s1y5um/5-dnsmasq-base_2.89-1_amd64.deb
/tmp/apt-dpkg-install-s1y5um/6-docker.io_24.0.5-0ubuntu1~23.04.1_amd64.deb
/tmp/apt-dpkg-install-s1y5um/7-ubuntu-fan_0.12.16_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
.+....+............+........+...+..........+...+.....+......+.+.........+........+..........+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.........+..+.........+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*......+...+......+...+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
......+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+...+......+.....+....+..+......+....+...........+...+.+...+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.........+...+.......+..................+...+........+.........+...............+......+.+..............+....+......+..+.......+.....+.+.....+.......+.........+...+..+..................+......+.+.....+.+........+......+.+.....+...............+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
Successfully installed the Hora Pusa Vless server script!
Check the XZ Utils and it is installed also fine
root@xxxxxxx:~# sudo apt-get -y install xz-utils Reading package lists... Done Building dependency tree... Done Reading state information... Done xz-utils is already the newest version (5.4.1-0.2).
Any idea what's causing this? My knowledge of Linux is the same as a guy who can google properly. Other than that this is new to me
I can connect to the Telegram bot but it is broken saying invalid username over and over again even with the correct config code being used /mk_user test 433 100 100
Any help would be great @horapusa-lk
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.