docker pull silverwind/droppy
docker run -d --restart=no -p 8989:8989 -v /home/ubuntu/Downloads:/files -e DROPPY_ADMIN_PASS=[yourPassword] --name=droppy silverwind/droppy
How to change domain information in Spotfire Server inside Oracle DB
As from config list-nodes -t pw, we can see the old information remained.
Inside Oracle DB, change the content below:
-- 从所有的表中选取所有记录
select * from tab;
-- 从tab表中选取tname字段的所有记录
select tname from tab;
-- 从tab表中选取tname字段的所有记录,但只返回字段值包含'SERVER'的记录
select tname from tab where tname like ‘%SERVER%’;
-- 描述(获取)node_SERVER_INFO表的结构信息,例如列名,数据类型等
describe node_SERVER_INFO;
-- 从node_server_info表中选取node_id和servername字段的所有记录
select node_id,servername from node_server_info;
-- 描述(获取)user_tab_columns表的结构信息
describe user_tab_columns;
-- 从user_tab_columns表中选取table_name字段的所有记录,但只返回字段值为’SERVERNAME’的记录
select table_name from user_tab_columns where column_name=’SERVERNAME’;
-- 描述(获取)RESOURCE_POOLS_SERVICES_VIEW表的结构信息
describe RESOURCE_POOLS_SERVICES_VIEW;
-- 描述(获取)NODE_SERVER_INFO表的结构信息
describe NODE_SERVER_INFO;
-- 从RESOURCE_POOLS_SERVICES_VIEW表中选取NODE_ID,SERVICE_TYPE,SERVERNAME字段的所有记录
select NODE_ID,SERVICE_TYPE,SERVERNAME from RESOURCE_POOLS_SERVICES_VIEW;
-- 更新node_server_info表,将servername字段值为’XXX.old.co.jp’的记录的servername字段的值改为’XXX.new.co.jp’
update node_server_info SET servername=’XXX.new.co.jp’ WHERE servername=’XXX.old.co.jp’;
-- 提交前面的更新操作,使其生效
commit;
exclude content in db, you need to change the content inside the filese below:
1. C:\tibco\tss\11.4.7\nm\config\nodemanager.properties
2. C:\tibco\tsnm\11.4.7\nm\config \config.json
3. Server alias in uiconfig
Change Docker Default Store Place
stop docker:
sudo systemctl stop docker
move the store place to where you want:
sudo mv /var/lib/docker /placeYouWant/
then edit the configure file:
/etc/docker/daemon.json
to be:
{
"data-root": "/placeYouWant/docker"
}
at last restart docker:
sudo systemctl start docker
Install anydesk on Ubuntu 23.04
install prerequisite:
sudo apt update -y && sudo apt upgrade -y
wget http://ftp.us.debian.org/debian/pool/main/p/pangox-compat/libpangox-1.0-0_0.0.2-5.1_amd64.deb
sudo apt install ./libpangox-1.0-0_0.0.2-5.1_amd64.deb
then install anydesk:
sudo apt update -y && sudo apt upgrade -y
wget -qO - https://keys.anydesk.com/repos/DEB-GPG-KEY | sudo apt-key add -
echo "deb http://deb.anydesk.com/ all main" | sudo tee /etc/apt/sources.list.d/anydesk-stable.list
sudo apt update -y && sudo apt upgrade -y
sudo apt install anydesk -y
sudo vi /etc/gdm3/custom.conf
WaylandEnable=false
AutomaticLoginEnable = true
AutomaticLogin = $USERNAME
sudo reboot
anydesk
Install Python on Ubuntu 22.04
Rather than Default Python 3.10.6, install another Python version:
1. install prerequisite
sudo apt update -y
sudo apt upgrade -y
sudo apt install -y build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libsqlite3-dev libreadline-dev libffi-dev curl libbz2-dev -y
2. prepare installer
cd ~/Downloads
curl -O https://www.python.org/ftp/python/3.8.9/Python-3.8.9.tar.xz
tar -xf Python-3.8.9.tar.xz
cd Python-3.8.9
3. configure the python build
./configure --enable-optimizations
4. compile and install python
sudo make -j $(nproc)
sudo make altinstall
5. If it is successful, you can check the version
python3.8 --version
6.Set the newly installed Python version
sudo update-alternatives --install /usr/bin/python3.8.9 python3.8.9 /usr/local/bin/python3.8 1
7. update pip
python3.8.9 -m ensurepip --default-pip
python3.8.9 -m pip install --upgrade pip
8. If you want to remove it
sudo rm /usr/local/bin/python3.8
sudo rm /usr/local/bin/pip3.8
sudo rm -rf /usr/local/lib/python3.8
sudo update-alternatives --remove python /usr/local/bin/python3.8
Initialize Oracle 21 Configure for Spotfire
make tnsnames.ora:
ORCLPDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orclpdb)
)
)
make listener.ora:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
)
)
ADR_BASE_LISTENER = C:\app\oracle
Then restart Listener:
lsnrctl stop
lsnrctl start
Then change the state of the pluggable databases:
sqlplus / as sysdba
/* check the sate: */
SQL> select con_id,name,open_mode from v$pdbs;
/* opens the pluggable database named ORCLPDB */
SQL> alter pluggable database ORCLPDB open;
/* sets the current session's container context to the ORCLPDB pluggable database */
SQL> alter session set container=ORCLPDB;
SQL> commit;
/* check the connected container: */
SQL> show con_name;
/* check the pdb name: */
SQL> select pdb_name from cdb_pdbs;
/* connect to the pdb: */
SQL> alter session set container = ORCLPDB;
/* to keep it starts with the windows server startup, you need to save the PDB’s state: */
SQL> alter pluggable database orclpdb save state;
edit the create_databases.bat, eg:
set SPOTFIREDB_ROOTFOLDER=C:\app\oracle\oradata\ORCL\orclpdb
set DBSERVER_CONNECTIDENTIFIER=//[yourDBIP]/ORCLPDB
install wiregui client on ubuntu 22
sudo apt install wireguard wireguard-tools wireguard-dkms
sudo apt install resolvconf
sudo dpkg -i wiregui_1.8.1_amd64.deb
sudo mkdir /etc/wireguard
sudo cp yourConfig.conf /etc/wireguard/yourConfig.conf
sudo chmod 400 /etc/wireguard/yourConfig.conf
you can run by:
sudo wg-quick up yourConfig
sudo wg-quick down yourConfig
or use wiregui
Install Japanese Input for Pop!_OS
environment:
Operating System: Pop!_OS 22.04 LTS
Kernel: Linux 6.2.6-76060206-generic
Architecture: x86-64
Install the required packages:
sudo apt update -y
sudo apt install fcitx fcitx-mozc fcitx-config-gtk kde-config-fcitx fcitx-frontend-qt5 libfcitx-qt5-1
echo 'export GTK_IM_MODULE=fcitx' >> ~/.profile
echo 'export QT_IM_MODULE=fcitx' >> ~/.profile
echo 'export XMODIFIERS="@im=fcitx"' >> ~/.profile
sudo reboot
solve chrome issue:
cp /usr/share/applications/google-chrome.desktop ~/.local/share/applications/
echo 'Exec=env QT_IM_MODULE=fcitx XMODIFIERS="@im=fcitx" /usr/bin/google-chrome-stable %U' >> ~/.local/share/applications/google-chrome.desktop
sudo reboot
for Chinese input, then install this:
sudo apt install fcitx-sunpinyin
Install Microsoft Edge on Pop!_OS
sudo apt update -y
sudo apt upgrade -y
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main" > /etc/apt/sources.list.d/microsoft-edge-dev.list'
sudo apt update -y
sudo apt install microsoft-edge-dev -y
Install Prerequisite of Spotfire Webplayer, Python Service 12.3 on Pop!_OS
go to the spotfire-bin folder and run the command:
Error opening Information Designer on TIBCO Spotfire Analyst
./config.sh export-config --force
./config.sh set-config-prop --name="information-services.external-process.port" --value="9445"
./config.sh import-config -c "changeInformationLinkPort"
install dot-net 6.0 and xvfb, libjpeg62-dev:
Install .NET SDK or .NET Runtime on Ubuntu 22.04
sudo apt update -y
sudo apt-get update && sudo apt-get install -y dotnet-sdk-6.0
sudo apt-get -y install xvfb
sudo apt-get install libjpeg62-dev
then reboot Webplayer.
For Python Service:
sudo apt-get install libffi-dev -y
sudo ln -s /usr/lib/x86_64-linux-gnu/libffi.so.8.1.0 /usr/lib/x86_64-linux-gnu/libffi.so.6