This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get install mariadb-server && mysql_secure_installation | |
# login as super user | |
sudo -i | |
# login as root in mysql | |
mysql -u root -p | |
# to change the password use this statement into mysq_console | |
mysql> grant all privileges on *.* to root@localhost identified by 'admin'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add-apt-repository -y ppa:webupd8team/java && \ | |
add-apt-repository -y ppa:maarten-baert/simplescreenrecorder && \ | |
apt-get update && \ | |
apt-get upgrade && \ | |
apt-get install ubuntu-restricted-extras ubuntu-restricted-addons unity-tweak-tool nautilus-dropbox \ | |
chromium-browser openshot flashplugin-installer bleachbit gimp inkscape nodejs build-essential postgresql \ | |
mysql-server mysql-workbench maven tomcat8 tomcat8-admin virtualbox synaptic \ | |
vlc blender oracle-java8-installer simplescreenrecorder unace unrar zip unzip p7zip-full p7zip-rar \ | |
sharutils rar uudeview mpack arj cabextract file-roller brasero audacity sqlite mypaint darktable gparted \ | |
gsmartcontrol vim tmux gitg pgadmin3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# oracle 10g xe 10.2.0 | |
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/sqlplus | |
export ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server | |
export PATH=$ORACLE_HOME/bin:$PATH | |
ORACLE_SID=XE; export ORACLE_SID | |
# oracle 11g xe | |
export ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe | |
export PATH=$ORACLE_HOME/bin:$PATH |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export JAVA_HOME=$(/usr/libexec/java_home -v 1.8) | |
export ANDROID_HOME=~/Library/Android/sdk | |
export PATH=$PATH:$ANDROID_HOME/emulator | |
export PATH=$PATH:$ANDROID_HOME/tools | |
export PATH=$PATH:$ANDROID_HOME/tools/bin | |
export PATH=$PATH:$ANDROID_HOME/platform-tools | |
export PATH=$PATH:$JAVA_HOME/bin | |
alias android-emulator='$ANDROID_HOME/emulator/emulator -avd Nexus_5X_API_30' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -e 'ACCEPT_EULA=Y' -e 'MSSQL_SA_PASSWORD=admin93@docker' -e 'MSSQL_PID=Express' -p 1433:1433 -v sqlvolume:/var/opt/mssql -d microsoft/mssql-server-linux:2017-latest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PATH=$PATH:/opt/oracle/product/18c/dbhomeXE/bin | |
export ORACLE_SID=XE | |
export ORAENV_ASK=NO | |
export ORACLE_HOME=/opt/oracle/product/18c/dbhomeXE | |
export ORACLE_BASE=/opt/oracle | |
export PATH |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# show pid jboss eap on runtime | |
ps -ef | grep jboss | |
# kill process | |
kill -9 [pid] | |
# start jboss server | |
nohup /opt/jboss-eap/bin/standalone.sh > /dev/null 2>&1 & |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
network: | |
version: 2 | |
renderer: networkd | |
ethernets: | |
enp3s0: | |
dhcp4: yes | |
dhcp6: no | |
optional: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## find pid service | |
ps -ef | grep mtproxy | |
## start service telegram | |
mtproxy --seed SEED --addr 0.0.0.0:1984 & | |
## example output | |
#tabeldata@tabeldata-server1:~$ Secret: da5e401cb3ff5a148bb25fede7956a50 | |
#Ip: 0.0.0.0 | |
#Port: 1984 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=nexus service | |
After=network.target | |
[Service] | |
Type=forking | |
ExecStart=/opt/nexus-sonatype-oss/nexus-3.13.0-01/bin/nexus start | |
ExecStop=/opt/nexus-sonatype-oss/nexus-3.13.0-01/bin/nexus stop | |
LimitNOFILE=65536 | |
Restart=on-abort |