Easy to install adobe flash plugin for firefox and chrome browser on you ubuntu.
install chrome:
sudo wget http://www.linuxidc.com/files/repo/google-chrome.list -P /etc/apt/sources.list.d/
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo apt-get update
sudo apt-get install google-chrome-stable
install firefox
sudo apt-get install firefox
install adobe flash plugin for firefox and chrome
sudo wget http://www.linuxidc.com/files/repo/google-chrome.list -P /etc/apt/sources.list.d/
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo apt-get update
sudo apt-get install google-chrome-stable
install firefox
sudo apt-get install firefox
install adobe flash plugin for firefox and chrome
sudo apt-get install adobe-flashpluginsudo apt-get install adobe-flashpluginsudo apt-get install adobe-flashplugin
surfmore ed addon firefox
Firefox addon for surfmore.eu
It can auto surf and auto click klick4credits.
If you want the addon, please register on surfmore.eu via my ref
http://surfmore.eu/index.php?ref=errong_leng
Once ref confirmed, I will send you the addon.
errong.leng@gmail.com|
Recovery your wordpress password if you forgot it.
$ mysql -u root -p
mysql> use wpdb
mysql> update wp_users set user_pass=MD5('ucLinux1!') where wp_users.user_login='errong.leng';
mysql> flush preligage;
mysql> quit
PS:
wpdb is the database name in wp-config.php
please refer to your case.
errong.leng is the user name, please refer to your case too.
ucLinux1! is the new password, please modify to your own password.
Must call flush preligage; otherwise you have to restart your mysql service.
mysql> use wpdb
mysql> update wp_users set user_pass=MD5('ucLinux1!') where wp_users.user_login='errong.leng';
mysql> flush preligage;
mysql> quit
PS:
wpdb is the database name in wp-config.php
wp-config.phpdefine('DB_NAME', 'wpdb');
please refer to your case.
errong.leng is the user name, please refer to your case too.
ucLinux1! is the new password, please modify to your own password.
Must call flush preligage; otherwise you have to restart your mysql service.
define('DB_NAME', 'wpdb');
How to recovery mysql root password if you forgot it.
One of the recovery methods for a .MySQL passwordIf you forget the MySQL root password, you can use the following methods to re-set:1. Switch to rootSu root2. KILL out of the system in the MySQL process;Killall -TERM mysqld3. Start MySQL with the following command to start without checking the permissions;Safe_mysqld --skip-grant-tables &4. Then use the empty password to use the root user login to MySQL;Mysql -u root5. Modify the root user's password;Mysql> update mysql.user set authentication_string= PASSWORD ('123456') where User = 'root';Mysql> flush privileges;Mysql> quitRestart MySQL, you can use the new password login.Second, the MySQL password recovery method IIThere may be no system safe_mysqld procedures (ubuntu operating
system, apt-get installed mysql), the following method can be restored1. Switch to rootSu root2. stop mysqld;
/etc/init.d/mysql stop3. Start MySQL with the following command to start without checking the permissions;Mysqld --skip-grant-tables &4. Then use the empty password to use the root user login to MySQL;Mysql -u root4. Modify the root user password 123456 (of course, you need to 123456 into the password you want to set);Mysql> update mysql.user set authentication_string= PASSWORD ('123456') where User = 'root';Mysql> flush privileges;Mysql> quitReboot MySQL/etc/init.d/mysql restartYou can use the new password 123456 login.
Mysql have changed the column "password" to "authentication_string"
/etc/init.d/mysql stop3. Start MySQL with the following command to start without checking the permissions;Mysqld --skip-grant-tables &4. Then use the empty password to use the root user login to MySQL;Mysql -u root4. Modify the root user password 123456 (of course, you need to 123456 into the password you want to set);Mysql> update mysql.user set authentication_string= PASSWORD ('123456') where User = 'root';Mysql> flush privileges;Mysql> quitReboot MySQL/etc/init.d/mysql restartYou can use the new password 123456 login.
Mysql have changed the column "password" to "authentication_string"
Earn Free Credits via vagex on your GCE VMs
Free #Youtube Views #vagex http://vagex.com/?ref=399793
I chose ubuntu 16.04 as my disk image.
First create your VM instance.
Then install xfce desktop, vncser and firefox on it.
$ sudo apt-get update
$ sudo apt-get install xfce4 xfce4-goodies
$ sudo apt-get install firefox
$ sudo apt-get install tightvncserver
$ vncserver
You will require a password to access your desktops.
Password:
Verify:
xauth: file /home/errong_leng/.Xauthority does not exist
New 'X' desktop is vvs:1
Creating default startup script /home/errong_leng/.vnc/xstartup
Starting applications specified in /home/errong_leng/.vnc/xstartup
Log file is /home/errong_leng/.vnc/vvs:1.log
Then let's setup Firefox viewer of vagex on your GCE VMs via VNCViewer.
I recorded a video via VNCViewer on my android phone.
Please check it for more detail.
OK, everything is done, just let it be, and vagex will give you credits every day.
Earn Free Credits #vagex http://vagex.com/?ref=399793
I chose ubuntu 16.04 as my disk image.
First create your VM instance.
Then install xfce desktop, vncser and firefox on it.
$ sudo apt-get update
$ sudo apt-get install xfce4 xfce4-goodies
$ sudo apt-get install firefox
$ sudo apt-get install tightvncserver
$ vncserver
You will require a password to access your desktops.
Password:
Verify:
xauth: file /home/errong_leng/.Xauthority does not exist
New 'X' desktop is vvs:1
Creating default startup script /home/errong_leng/.vnc/xstartup
Starting applications specified in /home/errong_leng/.vnc/xstartup
Log file is /home/errong_leng/.vnc/vvs:1.log
Then let's setup Firefox viewer of vagex on your GCE VMs via VNCViewer.
I recorded a video via VNCViewer on my android phone.
Please check it for more detail.
OK, everything is done, just let it be, and vagex will give you credits every day.
Earn Free Credits #vagex http://vagex.com/?ref=399793
How to Setup tomcat on ubuntu
First, please setup JAVA on your ubuntu, you can refer to :
https://lengerrong.blogspot.com/2017/03/how-to-config-oracle-java-on-your-ubuntu.html
$ wget http://mirror.apache-kr.org/tomcat/tomcat-9/v9.0.0.M22/bin/apache-tomcat-9.0.0.M22.tar.gz
$ tar xzvf apache-tomcat-9.0.0.M22.tar.gz
$ sudo cp apache-tomcat-9.0.0.M22 /var/lib/tomcat9 -rf
$ cd /var/lib/tomcat9/
$ sudo vim bin/startup.sh
# Better OS/400 detection: see Bugzilla 31132
os400=false
case "`uname`" in
OS400*) os400=true;;
esac
export JAVA_HOME=/usr/lib/jvm/java-8-oracle/
export JRE_HOME=/usr/lib/jvm/java-8-oracle/jre/
export CLASSPATH=$JAVA_HOME/lib:$JRE_HOME/lib:$CLASSPATH
export PATH=$JAVA_HOME/bin:$JRE_HOME/bin:$JAVA_HOME:$PATH
export TOMCAT_HOME=/var/lib/tomcat9
Start tomcat
$ sudo bin/startup.sh
https://lengerrong.blogspot.com/2017/03/how-to-config-oracle-java-on-your-ubuntu.html
$ wget http://mirror.apache-kr.org/tomcat/tomcat-9/v9.0.0.M22/bin/apache-tomcat-9.0.0.M22.tar.gz
$ tar xzvf apache-tomcat-9.0.0.M22.tar.gz
$ sudo cp apache-tomcat-9.0.0.M22 /var/lib/tomcat9 -rf
$ cd /var/lib/tomcat9/
$ sudo vim bin/startup.sh
# Better OS/400 detection: see Bugzilla 31132
os400=false
case "`uname`" in
OS400*) os400=true;;
esac
export JAVA_HOME=/usr/lib/jvm/java-8-oracle/
export JRE_HOME=/usr/lib/jvm/java-8-oracle/jre/
export CLASSPATH=$JAVA_HOME/lib:$JRE_HOME/lib:$CLASSPATH
export PATH=$JAVA_HOME/bin:$JRE_HOME/bin:$JAVA_HOME:$PATH
export TOMCAT_HOME=/var/lib/tomcat9
Start tomcat
$ sudo bin/startup.sh
Subscribe to:
Posts (Atom)
fixed: embedded-redis: Unable to run on macOS Sonoma
Issue you might see below error while trying to run embedded-redis for your testing on your macOS after you upgrade to Sonoma. java.la...
-
F:\webrowser>react-native run-android Scanning folders for symlinks in F:\webrowser\node_modules (73ms) Starting JS server... Buildin...
-
Refer: https://github.com/bazelbuild/bazel/wiki/Building-with-a-custom-toolchain https://www.tensorflow.org/tutorials/image_recognition
-
Solution react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android...