0% found this document useful (0 votes)
165 views9 pages

Applications: Errors Correct

This document provides commands to install and configure various applications on a Ubuntu system. It includes commands to install multimedia applications, audio players, graphics editors, messengers, browsers, video conferencing tools, games and more. It also provides commands to manage packages, kernels and connections. The document is a comprehensive guide to setting up an Ubuntu system with many useful applications.

Uploaded by

YesidRaadRomero
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
165 views9 pages

Applications: Errors Correct

This document provides commands to install and configure various applications on a Ubuntu system. It includes commands to install multimedia applications, audio players, graphics editors, messengers, browsers, video conferencing tools, games and more. It also provides commands to manage packages, kernels and connections. The document is a comprehensive guide to setting up an Ubuntu system with many useful applications.

Uploaded by

YesidRaadRomero
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

APPLICATIONS

ERRORS CORRECT sudo apt install build-essential


sudo apt --fix-broken install sudo apt install tlp tlp-rdw
sudo timedatectl set-local-rtc 1 --adjust-system-clock sudo tlp start
sudo apt install ppa-purge
DELETE AND CLEAN sudo apt autoremove
sudo apt clean
sudo apt autoclean DELETE SNAP
sudo apt autoremove snap list
sudo rm /etc/apt/sources.list.d/* -vf sudo snap remove snap-store
sudo apt remove file* sudo snap remove gtk-common-themes
sudo apt remove --auto-remove file* sudo snap remove gnome-3-34-1804
sudo apt purge file* sudo snap remove core18
sudo apt purge --auto-remove file* sudo apt purge snapd
sudo rm -rf ~/snap
NETWORKS sudo rm -rf /snap
hostname -I sudo rm -rf /var/snap
curl -4 icanhazip.com sudo rm -rf /var/lib/snapd
ip addr
ip route KERNEL
sudo nmap -sP 192.168.1.1/24 https://kernel.ubuntu.com/~kernel-ppa/mainline/
sudo nast -m -i enp3s0 --download file amd64 to generic (3) and all
sudo nast -m -i wlp2s0 sudo dpkg -i linux-*.deb
sudo nast -g -i enp3s0 reboot
sudo nast -g -i wlp2s0 uname -rs

ASTERISCO TERMINAL PASSWORD CONNECTIONS


sudo gedit /etc/sudoers sudo apt install stacer
-- edit line env_reset to env_reset, pwfeedback sudo apt install gnome-boxes
sudo apt install putty
WHAT TO DO AFTER INSTALLING UBUNTU 20.04 LTS sudo apt install hardinfo
sudo apt update
sudo apt upgrade RETOUCH
sudo apt install exfat-fuse exfat-utils hfsplus hfsutils ntfs-3g sudo apt install gnome-tweak-tool
sudo apt install ubuntu-restricted-extras sudo apt install grub-customizer
sudo apt install msttcorefonts gsfonts-x11 sudo apt install dconf-editor
sudo apt install curl nano wget sudo apt install wallch
sudo apt install mtp-tools ipheth-utils ideviceinstaller ifuse
sudo apt install printer-driver-all MESSENGER SERVICE
sudo apt install cups-pdf sudo apt install thunderbird
sudo apt install unace unrar zip unzip p7zip-full p7zip-rar sharutils rar uudeview mpack arj cabextract file-roller sudo apt install telegram-desktop
sudo apt install audacity
MULTIMEDIA
sudo apt install totem TEAMVIEWER
sudo apt install cheese https://www.teamviewer.com/es-mx/descarga/linux/
sudo apt install blender sudo dpkg -i teamviewer_xx.xx.x_amd64.deb
sudo apt install mixxx
ZOOM
AUDIO PLAYER https://zoom.us/download
sudo add-apt-repository ppa:ubuntuhandbook1/apps sudo dpkg -i zoom_amd64.deb
sudo apt update
sudo apt install rhythmbox GOOGLE CHROME
https://www.google.com/intl/es/chrome/
GIMP sudo dpkg -i google-chrome-stable_current_amd64.deb
sudo add-apt-repository ppa:ubuntuhandbook1/gimp
sudo apt update OPERA
sudo apt install gimp https://www.opera.com/es/download
--Opcional sudo dpkg -i opera-stable_xx.x.xxxx.xxx_amd64.deb
sudo apt install gimp-plugin-registry gimp-gmic
sudo apt install gimp-cbmplugs OBS STUDIO
sudo apt install gimp-dcraw sudo apt install ffmpeg
sudo apt install gimp-dds sudo apt install v4l2loopback-dkms
sudo apt install gimp-gap sudo add-apt-repository ppa:obsproject/obs-studio
sudo apt install gimp-gluas sudo apt update
sudo apt install gimp-gmic sudo apt install obs-studio
sudo apt install gimp-gutenprint
sudo apt install gimp-normalmap WEBEX
sudo apt install gimp-texturize https://www.webex.com/es/downloads.html
-- sudo ppa-purge ppa:ubuntuhandbook1/gimp sudo dpkg -i Webex.deb

ETCHER JUEGOS
curl -1sLf 'https://dl.cloudsmith.io/public/balena/etcher/setup.deb.sh' | sudo -E bash sudo apt install mupen64plus-qt
sudo apt update sudo apt install 0ad
sudo apt install balena-etcher-electron sudo apt install gnome-sudoku

WPS OFFICE XDM


https://linux.wps.com/ https://xtremedownloadmanager.com/#downloads
sudo dpkg -i wps-*.deb sudo tar Jxvf xdm-setup-7.2.11.tar.xz
sudo unzip wps_symbol_fonts.zip -d /usr/share/fonts/wps-office/ sudo sh /install.sh
sudo fc-cache -f -v
PROJECTLIBRE
AUDICITY https://sourceforge.net/projects/projectlibre/
sudo add-apt-repository ppa:ubuntuhandbook1/audacity sudo dpkg -i projectlibre_1.9.3-1.deb
sudo apt update sudo apt -f install
apt-cache search openjdk | grep 17
TEAMS sudo apt install openjdk-17-jdk
https://www.microsoft.com/es-co/microsoft-teams/download-app sudo gedit /etc/environment
sudo dpkg -i teams_x.x.xx.xxxxx_amd64.deb PATH=":/usr/lib/jvm/java-17-openjdk-amd64/bin"
JAVA_HOME="/usr/lib/jvm/java-17-openjdk-amd64"
ESCRITORIOS source /etc/environment
https://addons.mozilla.org/en-US/firefox/addon/gnome-shell-integration echo $JAVA_HOME
https://extensions.gnome.org/extension/2588/fully-transparent-top-bar sudo update-alternatives --config java
https://extensions.gnome.org/extension/1446/transparent-window-moving sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/java-17-openjdk-amd64/bin/java" 0
https://extensions.gnome.org/extension/19/user-themes sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/java-17-openjdk-amd64/bin/javac" 0
https://extensions.gnome.org/extension/1160/dash-to-panel sudo update-alternatives --install "/usr/bin/javap" "javap" "/usr/lib/jvm/java-17-openjdk-amd64/bin/javap" 0
sudo update-alternatives --set java /usr/lib/jvm/java-17-openjdk-amd64/bin/java
FONDO DE INICIO DE SESION sudo update-alternatives --set javac /usr/lib/jvm/java-17-openjdk-amd64/bin/javac
https://github.com/thiggy01/change-gdm-background sudo update-alternatives --set javap /usr/lib/jvm/java-17-openjdk-amd64/bin/javap
sudo apt install libglib2.0-dev-bin sudo update-alternatives --list java
wget github.com/thiggy01/change-gdm-background/raw/master/change-gdm-background sudo update-alternatives --list javac
chmod +x change-gdm-background sudo update-alternatives --list javap
sudo ./change-gdm-background wallpaperbetter.jpg java -version
-- sudo apt remove openjdk-17-jdk
TEMA GRUB
https://www.pling.com/p/1276072/ APACHE ANT
sudo tar Jxvf Cyber-Security-grub.tar.xz -C /boot/grub/themes https://ant.apache.org/bindownload.cgi
sudo apt install ant
TEMA DE ESCRITORIOS sudo gedit /etc/environment
https://www.pling.com/p/1230631/ PATH=::/usr/share/ant/bin"
sudo tar Jxvf Qogir-theme.tar.xz -C /usr/share/themes/ ANT_HOME="/usr/share/ant"
source /etc/environment
ICONOS DE ESCRITORIO echo $ANT_HOME
https://www.pling.com/p/1279924/ ant -version
sudo tar Jxvf Tela-icon-circle-blue.tar.xz -C /usr/share/icons/
PSEINT
CURSORES DE ESCRITORIO http://pseint.sourceforge.net/?page=descargas.php
https://www.pling.com/p/1356095/ sudo tar xzf pseint-l64-20210609.tgz -C /opt
sudo tar -zxvf Volantes-cursors.tar.gz -C /usr/share/icons/ sudo /opt/pseint/pseint
PANTALLA DE ARRANQUE
https://www.pling.com/p/1478013/ VISUAL STUDIO CODE
sudo tar Jxvf Ubuntu-metro-bootsplash.tar.xz https://code.visualstudio.com/download
cd ./Ubuntu-metro sudo tar zxf code-stable-x64-1631295096.tar.gz -C /opt
sudo ./install-ubuntu-metro sudo mv /opt/VSCode-linux-x64 /opt/vscode
sudo gedit ~/.local/share/applications/vscode.desktop
OPENJDK [Desktop Entry]
https://jdk.java.net/ Type=Application
sudo apt update Terminal=false
Path=/opt/vscode https://developer.android.com/studio
Icon=/opt/vscode/resources/app/resources/linux/code.png sudo apt update
Name=Visual Studio Code sudo apt install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386
Exec=/opt/vscode/bin/code sudo tar -xzvf android-studio-ide-xxx.xxxxxxx-linux.tar.gz -C /opt/
Categories=Application;Development;IDE sudo chmod +x /opt/android-studio/bin/*.sh
sudo chmod +x ~/.local/share/applications/vscode.desktop sudo sh /opt/android-studio/bin/studio.sh

APACHE NETBEANS POSTGRESQL


https://netbeans.apache.org/download/index.html sudo sh -c 'echo "deb [arch=$(dpkg --print-architecture)] http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main"
sudo unzip netbeans-12.4-bin.zip -d /opt > /etc/apt/sources.list.d/pgdg.list'
sudo gedit ~/.local/share/applications/netbeans.desktop wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
[Desktop Entry] sudo apt update
Type=Application sudo apt install postgresql-13
Terminal=false psql --version
Path=/opt/netbeans sudo gedit /etc/postgresql/13/main/postgresql.conf
Icon=/opt/netbeans/nb/netbeans.png -- edit line #listen_addresses to listen_addresses=’*’
Name=Netbeans sudo systemctl restart postgresql
Exec=/opt/netbeans/bin/netbeans sudo -u postgres psql
Comment=The Smarter Way to Code # ALTER USER postgres WITH ENCRYPTED PASSWORD 'Gest@dev21';
Categories=Application;Development;IDE # \q
sudo chmod +x ~/.local/share/applications/netbeans.desktop sudo gedit /etc/postgresql/1x/main/pg_hba.conf
--host all all all md5
ECLIPSE sudo systemctl restart postgresql
https://www.eclipse.org/downloads/packages/ sudo ufw allow postgresql
sudo tar zxf eclipse-jee-2021-09-R-linux-gtk-x86_64.tar.gz -C /opt psql -h gena-dev -U postgres
sudo gedit ~/.local/share/applications/eclipse.desktop
[Desktop Entry] PGADMIN
Type=Application curl https://www.pgadmin.org/static/packages_pgadmin_org.pub | sudo apt-key add -
Terminal=false sudo sh -c 'echo "deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/focal pgadmin4 main" >
Path=/opt/eclipse /etc/apt/sources.list.d/pgadmin4.list'
Icon=/opt/eclipse/icon.xpm sudo apt update
Name=Eclipse sudo apt install pgadmin4-desktop
Exec=/opt/eclipse/eclipse --sudo apt install pgadmin4-web
Comment=The Smarter Way to Code
Categories=Application;Development;IDE MARIADB
sudo chmod +x ~/.local/share/applications/eclipse.desktop sudo apt update
sudo apt install software-properties-common
INTELLIJ IDEA sudo apt-key adv --fetch-keys 'https://mariadb.org/mariadb_release_signing_key.asc' add-apt-repository \ 'deb
sudo add-apt-repository ppa:mmk2410/intellij-idea [arch=amd64,arm64,ppc64el] https://ftp.eenet.ee/pub/mariadb/repo/10.6/ubuntu focal main'
sudo apt update sudo apt update
sudo apt install intellij-idea-community sudo apt install mariadb-server
sudo mysql_secure_installation
ANDROID STUDIO
MYSQL WORKBENCH wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -
https://dev.mysql.com/downloads/repo/apt/ echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse" | sudo tee
sudo dpkg -i mysql-apt-config_0.8.xx-x_all.deb /etc/apt/sources.list.d/mongodb-org-4.4.list
sudo apt update sudo apt update
sudo apt install libmysqlclient21 sudo apt install mongodb-org
sudo apt install mysql-workbench-community echo "mongodb-org hold" | sudo dpkg --set-selections
echo "mongodb-org-server hold" | sudo dpkg --set-selections
MYSQL echo "mongodb-org-shell hold" | sudo dpkg --set-selections
sudo apt update echo "mongodb-org-mongos hold" | sudo dpkg --set-selections
sudo apt install mysql-server echo "mongodb-org-tools hold" | sudo dpkg --set-selections
--sudo apt install mysql-client ps --no-headers -o comm 1
sudo mysql_secure_installation sudo systemctl start mongod
sudo gedit /etc/mysql/mysql.conf.d/mysqld.cnf sudo systemctl daemon-reload
-- edit line #bind-address to bind-address sudo systemctl status mongod
sudo systemctl restart mysql
sudo mysql MONGODB COMPASS
# SELECT user,authentication_string,plugin,host FROM mysql.user; https://www.mongodb.com/try/download/compass
# ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'Gest@dev21'; sudo dpkg -i mongodb-compass_x.xx.x_amd64.deb
# FLUSH PRIVILEGES;
# exit APACHE MAVEN
mysql -u root -p https://maven.apache.org/download.cgi
sudo tar xzf / apache-maven-3.8.2-bin.tar -C /usr/share
SQLITE sudo mv /usr/share /apache-maven-3.8.2 /usr/share/maven
sudo apt update sudo gedit /etc/environment
sudo apt install sqlite3 PATH=":/usr/share /maven/bin"
sqlite3 –version M2_HOME=/usr/share /maven
# .quit source /etc/environment
echo $M2_HOME
SQLITE BROWSER mvn -version
sudo apt update
sudo apt install sqlitebrowser STAR UML
https://staruml.io/download
SQL DEVELOPER sudo dpkg -i StarUML_x.x.x_amd64.deb
https://www.oracle.com/tools/downloads/sqldev-downloads.html
sudo apt update PAPYRUS
sudo apt install alien https://www.eclipse.org/papyrus/download.html
sudo alien --scripts -d sqldeveloper-xx.x.x-xxx.xxxx.noarch.rpm sudo tar xzf papyrus-2020-12-5.0.0-linux64.tar.gz -C /opt
sudo chmod +x sqldeveloper_xx.x.x-xxx.xxxx_all.deb sudo mv /opt/Papyrus /opt/papyrus
sudo dpkg -i sqldeveloper_xx.x.x-xxx.xxxx_all.deb sudo gedit ~/.local/share/applications/papyrus.desktop
sudo sh /opt/sqldeveloper/sqldeveloper.sh [Desktop Entry]
Type=Application
MONGODB Terminal=false
sudo apt install gnupg Path=/opt/papyrus
Icon=/opt/papyrus/icon.xpm password: wbadmin
Name=Papyrus
Exec=/opt/papyrus/papyrus GIT
Categories=Application;Office;IDE sudo add-apt-repository ppa:git-core/ppa
sudo chmod +x ~/.local/share/applications/papyrus.desktop sudo apt update
sudo apt install git
OBEO DESIGNER git --version
https://www.obeodesigner.com/en/download git config --global user.name "yraad28"
sudo unzip ObeoDesigner-Community-11.5-linux.gtk.x86_64.zip -d /opt git config --global user.email "[email protected]"
sudo mv /opt/ObeoDesigner-Community /opt/obeodesigner git config --list
sudo gedit ~/.local/share/applications/obeodesigner.desktop
[Desktop Entry] GITHUB DESKTOP
Type=Application https://github.com/shiftkey/desktop/releases/
Terminal=false sudo dpkg -i GitHubDesktop-linux-2.9.3-linux1.deb
Path=/opt/obeodesigner
Icon=/opt/obeodesigner/icon.xpm APACHE2
Name=Obeo Designer Community sudo apt update
Exec=/opt/obeodesigner/obeodesigner sudo apt install apache2
Categories=Application;Office;IDE sudo ufw app list
sudo chmod +x ~/.local/share/applications/obeodesigner.desktop sudo ufw allow in "Apache Full"
sudo ufw status
JASPERSOFT STUDIO sudo systemctl status apache2
https://community.jaspersoft.com/community-download http://gesta-dev
sudo tar -xzvf TIB_js-studiocomm_6.xx.0_linux_x86_64.tgz -C /opt/ --To stop your web server
sudo mv /opt/TIB_js-studiocomm_6.xx.0 /opt/jaspersoft sudo systemctl stop apache2
sudo gedit ~/.local/share/applications/jaspersoft.desktop --To start the web server when it is not active
[Desktop Entry] sudo systemctl start apache2
Type=Application --To stop and then start the service again
Terminal=false sudo systemctl restart apache2
Path=/opt/jaspersoft --If you only make configuration changes, Apache can often reload without closing connections
Icon=/opt/jaspersoft/icon.xpm sudo systemctl reload apache2
Name=JasperSoft Studio --By default, Apache is configured to start automatically when the server does. If it's not what you want
Exec="/opt/jaspersoft/Jaspersoft Studio" sudo systemctl disable apache2
Categories=Application;Office;IDE --To re-enable the service so that it loads at startup
sudo chmod +x ~/.local/share/applications/jaspersoft.desktop sudo systemctl enable apache2

JBPM HOSTS VIRTUALES


https://www.jbpm.org/download/download.html sudo mkdir /var/www/gesta
sudo unzip /opt/jbpm sudo chown -R $USER:$USER /var/www/gesta
sudo unzip jbpm-server-7.59.0.Final-dist.zip -d /opt/jbpm sudo chmod -R u+x /var/www/gesta
sudo /opt/jbpm/bin/standalone.sh sudo cp /var/www/index.html /var/www/gesta/
http://gesta-dev:8083/business-central sudo gedit /etc/apache2/sites-available/gesta.conf
Login: wbadmin <VirtualHost *:80>
ServerAdmin webmaster@localhost sudo cmake -D CMAKE_BUILD_TYPE=RELEASE -D BUILD_SHARED_LIBS=OFF -D CMAKE_INSTALL_PREFIX=/usr/local -D
ServerName gesta INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D OPENCV_GENERATE_PKGCONFIG=ON -D
ServerAlias www.gesta OPENCV_EXTRA_MODULES_PATH=~/opencv_build/opencv_contrib/modules -D BUILD_EXAMPLES=ON ..
DocumentRoot /var/www/gesta sudo make -j8
ErrorLog ${APACHE_LOG_DIR}/error.log sudo make install
CustomLog ${APACHE_LOG_DIR}/access.log combined sudo pkg-config --modversion opencv4
</VirtualHost> sudo python3 -c "import cv2; print(cv2.__version__)"
sudo a2ensite gesta.conf
sudo a2dissite 000-default.conf PYTHON OPENCV
sudo apache2ctl configtest sudo apt update
sudo systemctl restart apache2 sudo apt install libopencv-dev python3-opencv
http://gesta-dev/ python3 -c "import cv2; print(cv2.__version__)"

PHP PYTHON PIP


sudo apt update sudo apt install python3-pip
sudo apt install ca-certificates apt-transport-https software-properties-common pip3 install opencv-python
sudo add-apt-repository ppa:ondrej/php
sudo apt install php8.0 php8.0-common php8.0-opcache php8.0-mcrypt php8.0-cli php8.0-gd php8.0-curl php8.0-mysql APACHE TOMCAT
libapache2-mod-php8.0 sudo tar xzf apache-tomcat-10.0.11.tar.gz -C /usr/local/
sudo systemctl restart apache2 sudo mv /usr/local/apache-tomcat-10.0.11 /usr/local/tomcat
php -v sudo chmod -R 777 /usr/local/tomcat
sudo apt install php8.0-fpm libapache2-mod-fcgid sudo gedit /usr/local/tomcat/conf/server.xml
sudo a2enmod proxy_fcgi setenvif <Connector port="8787" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />
sudo a2enconf php8.0-fpm sudo gedit /usr/local/tomcat/conf/tomcat-users.xml
sudo systemctl restart apache2 <user password="Gest@dev21" roles="manager-script,admin,manager-gui" username="gesta21"/>
sudo gedit /var/www/gesta/info.php sudo gedit /etc/environment
<?php PATH=":/usr/local/tomcat/bin"
phpinfo(); CATALINA_HOME="/usr/local/tomcat"
?> source /etc/environment
http://gesta-dev/info.php echo $CATALINA_HOME
./version.sh
OPENCV
sudo apt update APACHE TOMCAT SERVER
sudo apt install build-essential cmake git pkg-config libgtk-3-dev libavcodec-dev libavformat-dev libswscale-dev libv4l-dev https://tomcat.apache.org
libxvidcore-dev libx264-dev libjpeg-dev libpng-dev libtiff-dev gfortran openexr libatlas-base-dev python3-dev python3-numpy sudo useradd -m -d /opt/tomcat -U -s /bin/false tomcat
libtbb2 libtbb-dev libdc1394-22-dev libopenexr-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev sudo tar xzvf apache-tomcat-10.0.11.tar.gz -C /opt/tomcat --strip-components=1
mkdir ~/opencv_build sudo chown -R tomcat:tomcat /opt/tomcat/
cd ~/opencv_build sudo chmod -R u+x /opt/tomcat/bin
git clone https://github.com/opencv/opencv.git sudo gedit /opt/tomcat/conf/server.xml
git clone https://github.com/opencv/opencv_contrib.git <Connector connectionTimeout="20000" port="8787" protocol="HTTP/1.1" redirectPort="8443"/>
cd ~/opencv_build/opencv sudo gedit /etc/systemd/system/tomcat.service
mkdir -p build [Unit]
cd build Description=Tomcat
After=network.target [Unit]
[Service] Description = GlassFish Server
Type=forking After = syslog.target network.target
User=tomcat [Service]
Group=tomcat ExecStart=/opt/glassfish/bin/asadmin start-domain
Environment="JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64" ExecReload=/opt/glassfish/bin/asadmin restart-domain
Environment="JAVA_OPTS=-Djava.security.egd=file:///dev/urandom" ExecStop=/opt/glassfish/bin/asadmin stop-domain
Environment="CATALINA_BASE=/opt/tomcat" Type = forking
Environment="CATALINA_HOME=/opt/tomcat" [Install]
Environment="CATALINA_PID=/opt/tomcat/temp/tomcat.pid" WantedBy = multi-user.target
Environment="CATALINA_OPTS=-Xms512M -Xmx1024M -server -XX:+UseParallelGC" sudo systemctl start glassfish
ExecStart=/opt/tomcat/bin/startup.sh sudo systemctl status glassfish
ExecStop=/opt/tomcat/bin/shutdown.sh sudo systemctl enable glassfish
[Install] sudo /opt/glassfish/bin/asadmin change-admin-password
WantedBy=multi-user.target sudo /opt/glassfish/bin/asadmin enable-secure-admin
sudo gedit /opt/tomcat/webapps/manager/META-INF/context.xml sudo systemctl restart glassfish
-- <!-- <Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="127.d+.d+.d+|::1|0:0:0:0:0:0:0:1" /> --> http://gesta-dev:4848
sudo gedit /opt/tomcat/webapps/host-manager/META-INF/context.xml
-- <!-- <Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="127.d+.d+.d+|::1|0:0:0:0:0:0:0:1" /> --> WILDFLY SERVER
sudo systemctl start tomcat https://www.wildfly.org/downloads/
sudo systemctl status tomcat sudo groupadd -r wildfly
sudo systemctl enable tomcat sudo useradd -r -g wildfly -d /opt/wildfly -s /sbin/nologin wildfly
sudo ufw allow 8787/tcp sudo tar -xzvf wildfly-xx.x.x.Final.tar.gz -C /opt/
http://gesta-dev:8787 sudo mv /opt/wildfly-xx.x.x.Final /opt/wildfly
http://gesta-dev:8787/docs/ sudo gedit /opt/wildfly/standalone/configuration/standalone.xml
sudo gedit /opt/tomcat/conf/tomcat-users.xml -- ${jboss.socket.binding.port-offset:0} by ${jboss.socket.binding.port-offset:100}
-- <!-- user manager can access only manager section --> sudo chown -RH wildfly: /opt/wildfly
-- <role rolename="manager-gui" /> sudo mkdir -p /etc/wildfly
-- <user username="manager" password="Gest@dev21" roles="manager-gui" /> sudo cp /opt/wildfly/docs/contrib/scripts/systemd/wildfly.conf /etc/wildfly/
-- <!-- user admin can access manager and admin section both --> sudo cp /opt/wildfly/docs/contrib/scripts/systemd/launch.sh /opt/wildfly/bin/
-- <role rolename="admin-gui" /> sudo sh -c 'chmod +x /opt/wildfly/bin/*.sh'
-- <user username="admin" password="Gest@dev21" roles="manager-gui,admin-gui" /> sudo cp /opt/wildfly/docs/contrib/scripts/systemd/wildfly.service /etc/systemd/system/
http://gesta-dev:8787/host-manager sudo systemctl start wildfly.service
sudo systemctl enable wildfly.service
GLASSFISH SERVER sudo systemctl status wildfly.service
https://github.com/eclipse-ee4j/glassfish/releases sudo ufw allow 8585/tcp
sudo unzip -q glassfish-6.x.x.zip -d /opt/ sudo ufw allow 9090/tcp
sudo /opt/glassfish/bin/asadmin start-domain sudo /opt/wildflyl/bin/add-user.sh
sudo ufw allow 8282/tcp user: wadmin
sudo ufw allow 4848/tcp password: Gest@dev21
http://gesta-dev:8282 sudo gedit /etc/wildfly/wildfly.conf
sudo /opt/glassfish/bin/asadmin stop-domain -- Add the following line:
sudo gedit /etc/systemd/system/glassfish.service WILDFLY_CONSOLE_BIND=0.0.0.0
sudo gedit /opt/wildfly/bin/launch.sh ExecStart=/opt/wildfly/bin/launch.sh $WILDFLY_MODE $WILDFLY_CONFIG $WILDFLY_BIND $WILDFLY_CONSOLE_BIND
-- edit the following lines sudo systemctl daemon-reload
#!/bin/bash sudo systemctl restart wildfly.service
if [ "x$WILDFLY_HOME" = "x" ]; then sudo sh /opt/wildfly/bin/jboss-cli.sh –connect
WILDFLY_HOME="/opt/wildfly" http:// gesta-dev:8585/
fi http:// gesta-dev:4547/
if [[ "$1" == "domain" ]]; then http://gesta-dev:9090/console
$WILDFLY_HOME/bin/domain.sh -c $2 -b $3 -bmanagement $4
else ACTIVATE WINDOWS 11
$WILDFLY_HOME/bin/standalone.sh -c $2 -b $3 -bmanagement $4 slmgr -upk
fi slmgr /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX
sudo systemctl restart wildfly.service slmgr /skms kms.digiboy.ir
sudo gedit /etc/systemd/system/wildfly.service slmgr /at
-- Edit the following line

You might also like